Lesson 1 of 2 Authorization Mechanisms

Access Control Models

Access control models define who decides on access and on what basis. This lesson compares discretionary, mandatory, role-based, rule-based, attribute-based and risk-based access control.

Learning outcomes

After completing this lesson, you will be able to:

  • Compare DAC, MAC, RBAC, rule-based, ABAC and risk-based access control.
  • Choose an access control model that fits a requirement.

Discretionary and mandatory access control

In discretionary access control (DAC), the owner of an object decides who may access it, typically through access control lists (ACLs) on files and folders, as in most commercial operating systems. DAC is flexible but relies on users' judgement, and malware running with a user's rights can change permissions or copy data.

In mandatory access control (MAC), the system enforces access by comparing labels on objects (a classification plus categories or compartments) with the clearances of subjects; owners cannot override it. Access requires that the clearance dominates the classification and that the subject is cleared for every compartment, which enforces need to know. MAC implements models such as Bell-LaPadula and is used in military systems and hardened operating systems.

The practical difference between DAC and MAC is therefore who can make a mistake. Under DAC, any user who owns a confidential file can share it with the whole company by changing its permissions, deliberately or accidentally. Under MAC, the system prevents that regardless of the user's wishes, which is stronger but much less flexible, and is why MAC is reserved for environments where the classification of information is formal and strictly enforced.

The following diagram shows how a label is compared with two clearances.

Label dominance under mandatory access control. A subject can read an object only if the clearance level is equal to or higher than the object's level and the clearance includes every compartment in the label. A Top Secret clearance without one of the object's compartments cannot read a Secret object; a Secret clearance with all of them can. The owner cannot grant access outside these rules.
Compartment names are examples.
Sort into groups

Granted under MAC?

Exam skills 5.4.3

Decide whether each subject may read a document labelled Secret, compartment NUCLEAR.

Log in to try this activity Interactive activities are free with an account.
Worked example

Label dominance under MAC

A document is labelled Secret with the compartments {Navy, Logistics}. One officer is cleared Top Secret {Navy}, and another is cleared Secret {Navy, Logistics, Air}. Which officer may read the document?

An officer cleared Top Secret {Navy} cannot read it, because although the clearance level is higher, the officer is not cleared for the Logistics compartment. An officer cleared Secret {Navy, Logistics, Air} can read it, because the level is equal and the clearance includes every compartment on the label.

The owner of the document cannot grant access to anyone else; only the security administrators who manage clearances and labels can change the outcome.

Role-based and rule-based access control

Role-based access control (RBAC) attaches permissions to roles that reflect job functions, and users receive permissions through their roles. It scales well, simplifies reviews and supports segregation of duties through mutually exclusive roles. Its weaknesses are role explosion and roles that accumulate excessive permissions.

Rule-based access control applies global rules to every subject regardless of identity, such as firewall rules, time-of-day restrictions or blocking access from certain countries. It is often combined with other models: roles grant permissions, and rules restrict when and from where they can be used.

RBAC fits organisations where jobs are well defined. In a bank, the role "teller" might include viewing account balances and processing deposits, while "branch manager" adds approving large withdrawals. A new teller receives the teller role and immediately has the right permissions, and an auditor can review the role's permissions once instead of reviewing every teller. Segregation of duties is enforced by declaring that, for example, "payment creator" and "payment approver" can never be assigned to the same person.

Role explosion occurs when the organisation tries to express every variation through new roles: teller in branch A on weekdays, teller in branch B with foreign currency, and so on, until there are more roles than people. That is usually the sign that attributes or rules should handle the variation instead. Note that the abbreviation RBAC is sometimes used for both role-based and rule-based access control; in CISSP questions, the context makes clear which is meant.

True or false

Roles and rules

Exam skills 5.4.1 · 5.4.2

Check the strengths and limits of role-based and rule-based access control.

Log in to try this activity Interactive activities are free with an account.

Attribute-based and risk-based access control

Attribute-based access control (ABAC) evaluates policies against attributes of the subject (department, clearance), object (owner, sensitivity), action (read, approve) and environment (time, location, device health). It supports fine-grained, context-aware rules without creating a role for every combination and is central to zero trust, but it depends on accurate, well-governed attributes.

Risk-based (risk-adaptive) access control calculates a risk score for each request from signals such as unusual location, device posture, behaviour and threat intelligence, then allows, requires step-up authentication or blocks. Conditional access policies in cloud identity services are a common example.

An ABAC policy reads like a sentence built from attributes, for example: permit a subject whose role is "engineer" and whose project attribute matches the object's project to read the object if the object's classification is not "restricted" and the request comes from a managed device. One such policy covers every engineer and every project, and when an engineer moves to another project, updating a single attribute changes their access everywhere. The quality of the attributes therefore decides the quality of the access control: if the HR system records project assignments late, access will be wrong in the meantime.

Risk-based access control adds judgement in real time. A sign-in from the user's usual laptop in their home country during working hours might be allowed with the normal credentials, the same user signing in from a new device in another country might be asked for a phishing-resistant factor, and a sign-in from an address associated with attacks might be blocked outright. The following comparison summarises the main models.

Who decides
DACObject owner
MACSystem, centrally
RBACAdministrators
ABACPolicy
Basis
DACACLs
MACLabels and clearances
RBACJob roles
ABACAttributes and context
Typical use
DACFile shares, general-purpose operating systems
MACMilitary and high-assurance systems
RBACEnterprise applications
ABACFine-grained, dynamic, zero trust
Scenario questions

Pick the model

Exam skills 5.4.5 · 5.4.6

Choose the access control model that fits each requirement.

Log in to try this activity Interactive activities are free with an account.
Worked example

Choosing a model

A hospital wants nurses to view records only of patients on their current ward, only during their shift, and only from hospital-managed devices. Which access control model fits BEST?

The requirement combines subject attributes (role and ward), object attributes (patient's ward) and environmental attributes (shift time and device type), which is exactly what ABAC expresses. RBAC alone would need a separate role for each ward and shift, and DAC would leave the decision to individual record owners.

Check yourself

In which access control model does the object owner decide who has access?

Show answer

Discretionary access control (DAC).

Exam Tips

Remember for the exam

  • DAC: owner decides with ACLs. MAC: system enforces labels.
  • RBAC suits stable job functions; ABAC handles context.
  • Rule-based controls apply to everyone equally.