AAA Notes
1. Authentication is proving who you are. Authorization is determining what you are
allowed to do. For example, when I log into a streaming service, entering my
password authenticates me. After that, authorization determines whether I can
watch shows, change account settings, or manage profiles.
2. Using two authentication factors from the same category, such as two passwords,
is less secure because both can be stolen in similar ways. Using factors from
different categories adds stronger protection because an attacker would need to
steal multiple, unrelated credentials.
3. Discretionary Access Control (DAC) allows users to decide who can access their
resources, while Mandatory Access Control (MAC) enforces strict rules that users
cannot change. DAC works best in flexible environments like schools or offices,
while MAC is better for highly secure systems like government or military
organizations.
4. In a course registration system, students should be able to register for classes
and view their schedules. Instructors should be able to manage their courses and
student grades. Administrators should have full control over course creation and
system settings. Each role just has the permissions they need for their
responsibilities, which follows the principle of least privilege.
5. I think the security benefits of logging outweigh privacy concerns when done
responsibly. Knowing actions are logged discourages misuse, and limiting logs to
important security events helps protect user privacy while still maintaining
accountability.
6. In the Edward Snowden case, accountability failed because there was not enough
monitoring of user activity. Better logging, alerts for unusual access, and tighter
access controls could have helped detect or prevent the breach sooner.
7. Collecting too much log data can make it hard to find important information,
while collecting too little can prevent detecting security issues. The best approach is