Attribute-based access control (ABAC) is the access control model in which a policy decides each request by reading attributes: named facts about the person asking, the resource they want, the action they want to perform and the circumstances of the request. A typical policy reads like a sentence: Finance staff may read Finance files from a managed device during working hours. The attributes are read at the moment of the request, and the policy permits the request only when every one of its conditions holds.
That makes ABAC flexible and fine-grained: one policy can do the work of many roles, and the same person can get a different answer from a different device or at a different hour. It also gives ABAC two well-known weaknesses: the decision is only as good as the attributes it reads, and rich policies are harder to author, test and audit than roles.
ABAC is one of the authorization mechanisms the ISC2 exam outline lists for CISSP Domain 5, Identity and Access Management, under objective 5.4, “Implement and manage authorization mechanisms”. This guide follows one request through an ABAC policy, shows what the policy reads and what it ignores, and compares ABAC with its nearest neighbour, role-based access control. For a short definition, see the glossary entry for attribute-based access control.
What is attribute-based access control?
Every access control model answers the same question once a person has signed in: authentication has proved who they are, so what may they do? The person or program asking is the subject, what they want to do is the action, and the thing they want is the object, such as a file, a record or a system.
The reference definition comes from the US National Institute of Standards and Technology, in NIST Special Publication 800-162, Guide to Attribute Based Access Control (ABAC) Definition and Considerations (2014). It describes ABAC as a method in which a subject’s request to perform an operation on an object is granted or denied based on assigned attributes of the subject, assigned attributes of the object, environment conditions, and a set of policies specified in terms of those attributes and conditions.
An attribute is a named fact with a value, such as department = Finance. A policy is a written rule that reads attributes and returns allow or deny. Study sources usually sort attributes into four groups:
- Subject attributes: facts about the person or program asking, such as department, job title or clearance.
- Object attributes: facts about the resource, such as its classification, its owner or the kind of data it holds.
- Action attributes: what is being attempted, such as read, write or delete.
- Environment attributes: facts about the moment, such as the time, the location, the state of the device or the current threat level.
NIST’s own grouping is slightly different: subject attributes, object attributes and environment conditions, with the requested operation as a further input rather than a fourth group. The four-group version is the study-guide framing; both describe the same model.
Two questions separate every access control model: who sets the rule, and what does the system read when it decides? For ABAC the answers are a policy author, and attributes read at request time.
One request under ABAC
Take one request in a sample company, Harbourline Insurance (a fictitious organisation, used throughout this series). Asha Mehta, a payroll analyst in Finance, asks to read the payroll report, payroll-Q3.xlsx, at 10:15 on a Tuesday, from a managed laptop, in the office. Six facts travel with that request: the person, the action, the file, the time, the device and the place.
Asha’s attributes are department Finance and clearance Confidential (the level she is formally approved to see). The file’s are department Finance and label Confidential. The action is read, and the environment is 10:15, a managed device and the office.
Harbourline has written one policy for Finance files: “Finance staff with a clearance at or above the file’s label may read Finance files from a managed device between 07:00 and 20:00.” That sentence holds five conditions: the subject’s department equals the file’s, the subject’s clearance is at or above the file’s label, the action is read, the device is managed, and the time is between 07:00 and 20:00. Asha meets all five, so the policy permits the request.
What the policy reads, and what it does not
The policy reads five of the six facts: the person, the action, the file, the time and the device. It does not read the place. An ABAC policy can include a condition on location, but this one has none, so the place makes no difference here.
That is ABAC’s honest limit. A policy reads exactly the attributes its author wrote conditions for. A fact nobody wrote into the policy carries no weight, however suspicious it looks.
The same policy, two more requests
Two days later Asha asks for the same file at 02:40, from an unmanaged device, in a country she has never signed in from. Then Daniel Smith, an IT support contractor, asks at 11:05 from a managed laptop in the office. Only the attributes change.
| Condition | Request 1: Asha, 10:15, managed, office | Request 2: Asha, 02:40, unmanaged, new country | Request 3: Daniel, 11:05, managed, office |
|---|---|---|---|
| Department equals the file’s | Holds (Finance) | Holds (Finance) | Fails (IT) |
| Clearance at or above the label | Holds (Confidential) | Holds (Confidential) | Fails (Internal) |
| Action is read | Holds | Holds | Holds |
| Device is managed | Holds | Fails | Holds |
| Time between 07:00 and 20:00 | Holds | Fails | Holds |
| Decision | Permit (5 of 5) | Deny (3 of 5) | Deny (3 of 5) |
Request 2 shows the point of reading attributes at request time. Asha is the same person, yet the answer changes because the device and the hour changed. She is denied for the device and the time, not for the new country, which the policy does not read.
Request 3 fails on the subject and the object. Daniel’s department is IT, not Finance, and his clearance, Internal, is below the file’s Confidential label.
How an ABAC decision is made
- Every condition must hold. An ABAC policy checks each attribute against a fixed condition. Three out of five is not a partial permit; in the sample policy, one failed condition is enough to deny.
- The attributes are read at request time. If Asha moves out of Finance, her access to Finance files changes as soon as her department attribute does, with no role to remove.
- The policy is written in attributes, not names, so it applies to every subject whose attributes match, including people who join later.
ABAC policies need a language to be written in. The best-known standard is XACML, the eXtensible Access Control Markup Language, published by OASIS (version 3.0). It defines a policy language over attributes, a request and response format, and decisions of Permit, Deny, NotApplicable or Indeterminate. ABAC does not require XACML, but the two are commonly paired.
XACML also splits the work. The policy enforcement point (PEP) stands on the request path and carries the answer out; the policy decision point (PDP) evaluates the policy, drawing attribute values from a policy information point. One decides, the other enforces.
Where ABAC is used
ABAC fits wherever the right answer depends on several facts at once.
- Fine-grained data access, where a record’s classification and the reader’s department and clearance decide together.
- Cloud services, where access policies are commonly written as conditions on attributes of the caller, the resource and the request.
- Dynamic policy, where the time, the device’s state or the threat level should change the answer without anyone editing a list.
- Layered on RBAC. Most organisations run a blend, with role-based access control as the baseline and ABAC conditions on sensitive actions.
Conditions on the time, place or device are sometimes called context-dependent access control. The decision vocabulary reappears in NIST SP 800-207 (2020), the zero trust architecture guide, where the policy engine and policy administrator together form the policy decision point.
The weaknesses of ABAC
Only as good as the attributes
The decision is only as trustworthy as the attributes it reads. If a person who has left Finance is still recorded there, or a device reports itself as managed when it is not, or the payroll report is labelled Internal by mistake, the policy gives a confident but wrong answer. Because the logic is evaluated at request time, such an error tends to be harder to see than a bad entry on a list.
The remedy is to treat attribute sources as security-critical: take each attribute from an authoritative source, keep it current and protect it from tampering.
Complex to author, test and audit
A list of roles is easy to read: you can see what a role grants and who holds it. Attribute policies are harder. Each may combine several conditions, several may apply to one request, and the answer depends on values that change. Writing them correctly, testing them and showing an auditor who can read what all take more effort than under RBAC.
ABAC vs RBAC
ABAC’s nearest neighbour is role-based access control, and the single difference that decides most questions between them is how many things the decision reads.
| Role-based access control (RBAC) | Attribute-based access control (ABAC) | |
|---|---|---|
| Who sets the rule | A central administrator | A policy author |
| What the decision reads | The subject’s role, and whether its permissions include this action on this object | Attributes of the subject, the object, the action and the environment |
| Adding a condition such as the device or the hour | Needs another role | Needs another condition in the policy |
| Same person, different context | Same answer | The answer can change |
| Main weakness | Role explosion as conditions multiply | Complexity, and dependence on trustworthy attributes |
Under RBAC, an administrator puts Asha in a Payroll Analyst role that may read the payroll report, and the decision reads her role, the action and the file. To add “only from a managed device” or “only in working hours”, Harbourline would need a role for each combination. NIST SP 800-162 names this role explosion as a limitation of RBAC that motivates ABAC. ABAC reads those conditions directly, so one policy replaces many roles.
ABAC vs rule-based access control
Rule-based access control applies one condition to everyone alike and never looks at who is asking: “no access to Finance files between 20:00 and 07:00” reads the clock, not the name. An ABAC policy combines attributes of the subject, the object, the action and the environment, so it can give different answers to different people for the same file at the same moment.
ABAC vs risk-based access control
An ABAC policy checks each attribute against a fixed condition, and every condition must hold for a permit. Risk-based access control weighs the signals of a request into one score, so no single signal decides, and the score can lead to allow, a further check or deny. A risk-based control would count Asha’s new country as one more signal; this ABAC policy ignores it.
How a CISSP scenario may test ABAC
Questions on access control models tend to hide the answer in a phrase about who decides or what the system checks. Patterns worth recognising:
- Several conditions at once, such as “permit only when the user is in Finance, the document is Internal, the device is managed and the time is within business hours”. That points towards ABAC, as do “fine-grained” and “dynamic policy”.
- A role-based scheme needs a new role for every combination. That is role explosion, and the expected answer is likely to be ABAC.
- A wrong decision traced to a stale or mislabelled attribute. That may be testing the attribute-trust weakness; the better answer usually fixes the attribute source, not the policy.
- A score that leads to a further check. That is risk-based, not ABAC, even when the stem mentions attributes.
Asking the two questions separates the options quickly: who sets the rule, and what does the system read when it decides? If the answers are a policy author and attributes of the subject, the object, the action and the environment, the model is ABAC.
Conclusion
Attribute-based access control puts a policy in charge. It reads facts about the subject, the object, the action and the environment at the moment of the request, and permits only when every condition holds, so one policy can do the work of many roles. It reads only what its author wrote conditions for, and it is only as trustworthy as the attributes it is given.
Ready to test that under exam conditions? Our LSM CISSP practice tests are built around scenario questions like these: telling the access control models apart from a single phrase in the stem, and choosing the control that fits the organisation, with full explanations for every answer.
Quick reference for the CISSP exam
A policy decides each request by reading attributes of the subject, the object, the action and the environment at request time.
ABAC defined
- Who sets the rule: a policy author.
- What the decision reads: attributes of the subject, the object, the action and the environment.
- What it does not read: anything the policy has no condition on (in the sample policy, the place).
- Standard policy language: XACML (OASIS), with the PDP deciding and the PEP enforcing.
- Reference source: NIST SP 800-162 (2014).
The ABAC vs RBAC discriminator
- RBAC: the decision reads the role; each extra condition costs another role (role explosion).
- ABAC: the decision reads the conditions directly; one policy replaces many roles.
The traps
- Every condition must hold for a permit; ABAC is not a score.
- Risk-based control weighs signals into a score; ABAC checks fixed conditions.
- A stale, spoofed or mislabelled attribute gives a confident but wrong answer.
- Rich policies are harder to author, test and audit than roles.