Objective 5.4
Authorization mechanisms
What it is
Authorization is the decision of what an authenticated identity may do. Discretionary access control, DAC, lets the owner of an object grant access, as classic file permissions do. Mandatory access control, MAC, uses central labels the user cannot override, common in high-security settings. Role-based access control, RBAC, grants permissions to roles, and people receive roles. Attribute-based access control, ABAC, decides from attributes such as department, time, and data label. Rule-based control uses explicit rules, such as “no access after 6 p.m.” Need to know still applies inside a role: a role is not an invitation to browse everything the role could technically open.
Why it matters
Authorization failures are how insiders and stolen accounts become disasters. A perfect login to an all-powerful role is a bad design. RBAC scales better than individual exceptions, until roles become “super-user in disguise.” MAC is stricter and heavier. ABAC is flexible and can grow too complex to explain. The exam cares that you match the mechanism to the need, and that you still apply least privilege.
A simple example
A family shared photo album where the owner invites cousins is discretionary. A courtroom exhibit with a classification stamp nobody may downgrade is closer to mandatory. A hospital role called “ward nurse” that can open charts for that ward is RBAC. Adding “only during this shift, only for patients assigned today” brings in attributes. A rule that blocks all vendor accounts on weekends is rule-based. Giving every nurse every chart because the role name sounds broad breaks need to know.
On the exam
DAC: owner decides. MAC: the system enforces labels. RBAC: job role. ABAC: several attributes at decision time. If one person grants their friend access to a sensitive company file outside policy, DAC without oversight is the weakness. If labels must never be lowered by a user, MAC fits. A trap is to treat RBAC as automatically least privilege. A role called Analyst that includes domain admin is just a costume.
Words worth keeping
- Authorization
- The decision of what a proven identity is allowed to do.
- RBAC
- Permissions attached to job roles, with people placed in those roles.
- MAC
- Label-based access the subject cannot override, enforced by the system.