Attribute-based access control (ABAC) is an access control model that grants or denies each request by evaluating attributes of the subject, the resource, the requested action and, in some cases, the environment against a written policy. Instead of checking a fixed role, the system computes a fresh permit or deny decision every time, so the same person can be allowed in one context and denied in another.
Key takeaways
- ABAC evaluates attributes of the subject, resource, action and environment against policy at request time.
- It is more precise than role-based access control, but it needs clean attribute data and policy governance.
- Start with roles for stable access, then add ABAC rules only where context changes the decision.
Most access systems ask one question: what role do you have? Attribute-based access control asks four: who are you, what do you want, what are you trying to do, and under what conditions? That extra context is what makes it powerful — and what makes it harder to run.
What is attribute-based access control?
Attribute-based access control, or ABAC, is a logical access control method where authorization is determined by evaluating attributes of the subject, object, requested operation and, in some cases, environment conditions against policy. That is the definition in NIST Special Publication 800-162.
In plain terms, ABAC does not look up a fixed permission. It computes a decision from live facts each time you make a request. Change one fact — your location, the file's classification, the time of day — and the answer can change too.
An attribute is simply a named fact with a value, such as department = finance, classification = confidential or device_compliant = false. A policy is a rule written over those facts, for example: allow a read only when the requester's clearance matches the file's classification and the device is compliant.
NIST published SP 800-162 in January 2014 and updated it in August 2019. It remains the standard reference definition, and the NIST publication page links to the full guide.
How does ABAC work?
Every ABAC request follows the same flow: a request arrives, the system gathers attributes, a decision engine evaluates policy, and a gate enforces the result. The decision is made fresh for each request, not cached in a role.
Two components do the core work. The policy decision point (PDP) evaluates the request against policy and returns permit or deny. The policy enforcement point (PEP) sits in front of the resource and carries out that decision. NIST SP 800-207, the zero trust architecture guide, uses the same split: the decision point decides, the enforcement point acts.
Attribute sources matter as much as the policy. Subject attributes usually come from your identity directory, resource attributes from a data catalog or file tags, and environment attributes from device management, network signals or risk scoring. If any source is stale, the decision is wrong even when the policy is right.
Policies are usually written in a policy language such as XACML or Rego, or in a vendor's rule builder. Keep the language readable: a policy nobody can explain is a policy nobody can audit.
What are the four attribute types in ABAC?
NIST builds ABAC on four attribute categories: subject, object, action and environment. Each answers a different question about the request, and a useful policy usually combines at least two of them.
| Attribute type | Question it answers | Examples |
|---|---|---|
| Subject | Who is making the request? | Department, job title, clearance, manager, employment status |
| Object (resource) | What is being accessed? | Classification, owner, tenant, region, file type, project tag |
| Action | What are they trying to do? | Read, write, delete, approve, export, share |
| Environment | Under what conditions? | Time of day, location, network, device compliance, risk score |
Subject attributes change when people join, move teams or leave. Object attributes change when data is reclassified or a project closes. Environment attributes change minute by minute. That is why ABAC can express rules roles cannot, such as allowing an export only when the file belongs to the requester's tenant and the device is compliant.
Start with a small, trusted attribute set. Four well-maintained attributes beat forty unreliable ones, because every attribute you add is another source you must keep accurate.
ABAC vs RBAC: what is the difference?
Role-based access control (RBAC) grants permissions through roles: a person gets the permissions of every role they hold. ABAC evaluates attributes at request time, so the same person can be allowed or denied depending on the resource and context.
| RBAC | ABAC | |
|---|---|---|
| Decides by | The caller's role | Attributes of caller, resource, action and context |
| Example rule | Finance staff can view invoices | Finance staff can view invoices for their own region, during work hours, from a compliant device |
| Granularity | Coarse, per role | Fine, per request |
| Admin work | Assign roles, review role lists | Maintain attributes and policies |
| Audit | Easy: who holds which role | Harder: why a specific request was allowed |
| Breaks when | Roles multiply to encode region, ownership or exceptions | Attribute data is stale or missing |
RBAC is strongest when responsibilities are stable and a small role catalog covers most users. ABAC is strongest when access changes with resource or request context, or when policies must compare subject and resource attributes, such as owner equals requester.
Most real systems use both. A common pattern is RBAC for the baseline — broad permissions by job — plus ABAC rules that narrow sensitive actions. That hybrid keeps everyday access understandable while adding precision where it matters. Our small business cybersecurity checklist covers the access basics to put in place before adding ABAC.
When should you use ABAC?
Use ABAC when a role alone cannot express the rule. The clearest signs are role explosion, tenant or region rules, data-classification rules, and time or device conditions that change the answer.
- Multi-tenant software: users may only see data belonging to their own tenant, even when they share a role.
- Regulated data: access depends on classification, region or consent, not just job title.
- Shared resources: owners can edit their own records but only read other people's.
- Risk-based access: a high-risk login or an unmanaged device triggers extra checks or a deny.
- Temporary access: contractors get access only during a project window and only to named resources.
Do not use ABAC for everything. If every employee in a role should always have the same access, a role is simpler, cheaper and easier to explain to an auditor. ABAC earns its cost only where context changes the decision, as the Frontegg RBAC vs ABAC guide explains.
ABAC also fits zero trust well. NIST SP 800-207 says access should be determined by dynamic policy using identity, device state and behavioral attributes — exactly the inputs ABAC evaluates on each request.
How do you implement ABAC in six steps?
Implement ABAC in small slices, starting with one sensitive resource and one clear rule. A pilot that works teaches you more than a company-wide policy that nobody understands.
- Inventory and classify. List the sensitive resources first — customer data, financial records, admin consoles — and tag them by classification, owner and region.
- Pick attribute sources. Decide where each attribute comes from and who owns its accuracy. Your identity directory, HR system and device management are the usual starting points.
- Write policies in plain language first. If the business owner cannot read the rule, do not encode it yet. Translate it into the policy language only after the plain version is agreed.
- Run in audit mode. Log what would have been denied without blocking anyone. Review the logs for a week or two and fix false denies before you enforce.
- Enforce and watch denies. Go live on the pilot resource, then review denied requests weekly. A spike in denies usually means a bad attribute, not a bad user.
- Govern it. Give every policy an owner and a review date, and test attribute changes the same way you test code changes.
Keep authentication strong alongside ABAC. A correct authorization decision still fails if the account itself is compromised, so check that your passwords are unique and not already exposed with our pwned password checker.
What are common ABAC mistakes?
ABAC fails most often on data quality, not on policy logic. The model is only as good as the attributes feeding it, so stale or missing data produces confident wrong answers.
- Too many attributes too soon. Start with a handful of reliable attributes. Add more only when a real rule needs them.
- No attribute owner. If nobody owns department, clearance or classification data, it drifts. Assign an owner for each attribute.
- Policies nobody can read. Complex nested rules hide errors. Write short rules, name them clearly, and test each one.
- Skipping audit mode. Enforcing on day one blocks real work and teaches staff to ask for broad exceptions. Audit first.
- Forgetting the deny path. Users need a clear way to request access and appeal a deny, or they will work around the system.
- Treating ABAC as authentication. ABAC decides what an authenticated user may do. It does not prove who they are.
Review policies after every org change, product launch or compliance update. A policy that was correct six months ago can quietly become wrong when teams, regions or data classes change. The security baseline is a useful place to record which access rules your team has actually agreed.
The bottom line
ABAC replaces a fixed role check with a live decision based on who you are, what you want, what you are doing and the context. That precision is worth the effort when context changes the answer — for tenants, regions, classifications, owners and risk.
Start small: keep roles for stable access, add one ABAC rule for your most sensitive resource, test it in audit mode, and govern the attributes behind it. You can check the identity basics first with the free password strength checker.
Frequently asked questions
What is attribute-based access control in simple terms?
ABAC is a way of deciding who can do what by checking facts about the request. The system looks at who is asking, what they want to access, what they want to do, and the situation, then applies a written rule to allow or deny it.
What is an example of ABAC?
A nurse in cardiology can view heart patients' records during a shift from a hospital device, but the same nurse cannot view those records from home at night. The decision uses department, patient type, time and device, not just a nurse role.
What is the difference between ABAC and RBAC?
RBAC grants access through roles, so a person gets the permissions of every role they hold. ABAC evaluates attributes at request time, so the same person can be allowed or denied depending on the resource and context.
What are the four types of attributes in ABAC?
Subject attributes describe the requester, such as department or clearance. Object attributes describe the resource, such as classification or owner. Action attributes describe the operation, such as read or export. Environment attributes describe context, such as time, location or device health.
Is ABAC better than RBAC?
Neither is always better. RBAC is simpler to run and audit when access maps to stable jobs. ABAC is better when access depends on changing facts such as ownership, region, data classification or risk. Many teams use both.
What is a policy decision point in ABAC?
The policy decision point is the component that evaluates a request against policy and returns a permit or deny decision. The policy enforcement point is the gate in front of the resource that carries out that decision.
Does ABAC replace passwords and MFA?
No. ABAC is authorization, not authentication. You still need to prove who you are first, usually with a password plus MFA, before ABAC decides what you may do.
Where is ABAC used in practice?
ABAC is common in cloud platforms, healthcare, government and multi-tenant software, where the same action must be allowed for one tenant, region or data class and denied for another.
Sources
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against NIST SP 800-162, the NIST CSRC glossary and NIST SP 800-207.
How we write and fact-check →