Instead of a list of “this role has these permissions”, ABAC describes access with rules over attributes: who the requester is, what resource is involved, which action and under which conditions. A rule about the department, the document’s classification and working hours is a typical case: all four parts of the decision are attributes. The model’s reference document is NIST SP 800-162, January 2014.
What the decision consists of
NIST describes the model through four sets of attributes:
| Category | Examples |
|---|---|
| Subject | department, position, clearance, completed training |
| Object | document classification, owner, data type, project |
| Action | read, write, sign, delete |
| Environment | time, location, threat level |
A policy is a logical expression over these attributes: the engine evaluates it at request time. Attribute values may change between requests, and the decision changes with them — without rewriting the rules themselves.
ABAC and RBAC
NIST notes that ACL and RBAC are special cases of ABAC: ACL works with the “identity” attribute, RBAC with the “role” attribute, while an ABAC policy can tie many attributes together. An example from SP 800-162: in a hospital, a rule lets a nurse practitioner from the cardiology department view the records of cardiology patients — by the employee’s department and the type of record, not by the generic “clinician” role. In such a situation RBAC either grants access too broadly or spawns a role for every combination.
XACML and who makes the decision
The standard for describing ABAC policies is XACML from OASIS: it divides attributes into the same categories (subject, resource, action, environment), and its architecture separates the policy decision point (PDP), which computes the answer, from the policy enforcement point (PEP), which enforces it. The rule from the example above looks like this (namespaces shortened):
<Rule Effect="Permit"> <Target> <AllOf> <Match MatchId="string-equal"> <AttributeValue>cardiology</AttributeValue> <AttributeDesignator Category="subject" AttributeId="department"/> </Match> <Match MatchId="string-equal"> <AttributeValue>heart-patients</AttributeValue> <AttributeDesignator Category="resource" AttributeId="record-set"/> </Match> </AllOf> </Target></Rule>Where it is used
- Cloud IAM policies: conditions on resource tags, IP address, time and device type in AWS, Google Cloud and Azure.
- Zero trust: the decision for each request is built from attributes — identity, device, network state.
- Government agencies and healthcare, where access depends on the classification level, the department and the record type.
Sources
the term is written from these pages- NIST SP 800-162 — Guide to Attribute Based Access Control (ABAC)csrc.nist.gov/pubs/sp/800/162/final(opens in a new tab)
- OASIS XACML 3.0 — Core Specificationdocs.oasis-open.org/xacml/3.0/xacml-3.0-core-spec-os-en.html(opens in a new tab)
- NIST CSRC Glossary — attribute-based access controlcsrc.nist.gov/glossary/term/attribute_based_access_control(opens in a new tab)
Verified 9 Nov