5.6.3. Access Control Models
💡 First Principle: Access control models define the rules for who can access what. Different models provide different balances between security, flexibility, and administrative overhead. The model you choose determines how granular and how rigid your access control can be.
Mandatory Access Control (MAC) — access decisions are made by the system based on security labels (classification levels). Users cannot change permissions. Used in military and government environments. Most restrictive but least flexible.
Discretionary Access Control (DAC) — the resource owner decides who gets access. Standard file system permissions (owner sets read/write/execute). Flexible but vulnerable to user error — owners may grant overly broad permissions.
Role-Based Access Control (RBAC) — permissions are assigned to roles, and users are assigned to roles. An "Accountant" role has access to financial systems; a "Developer" role has access to code repositories. Simplifies administration in large organizations because you manage role assignments rather than individual permissions.
Rule-Based Access Control — access decisions based on predefined rules (time of day, location, device type). Often combined with other models: "RBAC permissions apply, but only from the corporate network during business hours."
Attribute-Based Access Control (ABAC) — the most granular model. Access decisions evaluate multiple attributes of the subject (user role, department, clearance), object (data classification, sensitivity), and environment (time, location, device posture). Policies: "Allow access to financial reports IF user.role=CFO AND data.classification≤Confidential AND time=business_hours AND device.compliance=true."
Time-based access — restricting access to specific time windows. Administrative access might only be available during maintenance windows.
Least privilege — granting only the minimum permissions needed to perform a job function. Applies to all models.
Just-in-time (JIT) access as an access control model: nobody holds standing access to the resource. Access is requested for a specific task, approved by a person or by policy, granted for a limited period and then removed automatically (see Section 5.6.5). It pairs naturally with time-based access: time-based rules limit when standing access works, while JIT removes standing access altogether.
Access management policies come in two forms that must agree. Administrative/business policies state the rule in words (who approves access to payroll, how often access is reviewed); logical/technical policies enforce it in systems (the RBAC role, the conditional access rule, the ACL). Audit findings often sit in the gap between them: the policy says quarterly access reviews, and the system shows none.
⚠️ Exam Trap: RBAC assigns permissions to roles, not to users directly. ABAC evaluates multiple attributes per access decision. MAC uses labels and is enforced by the system. DAC is enforced by the resource owner. The key distinction: who makes the access decision?