Table of Contents
Attribute-based access control (ABAC) makes an authorization decision by comparing facts about a request against a policy. An application might let an employee read a project document only when the employee belongs to that project and is using a managed device.

What an ABAC policy checks
- Subject: The requesting user or service, with attributes such as department, project membership, or role.
- Resource: The file, API, or record, with attributes such as owner, project ID, or sensitivity.
- Action: The operation requested, such as read, edit, or delete.
- Environment: Relevant context such as device status or time of access.
In the project example, the service checks the read action, matches the employee's project membership with the document's project ID, and checks the device status. The edit action can require a separate rule. The NIST ABAC guide describes the model and its implementation considerations.
Benefits and operational costs

ABAC can express contextual rules without creating a separate role for every project and device combination. It depends on reliable attributes. Stale project membership or inconsistent resource labels can lead to access decisions that are difficult to explain and audit.
ABAC, RBAC, and policy-based access control

Role-based access control (RBAC) works well when job functions define stable permissions. ABAC can take a role as one input and add constraints such as project membership or device status. Policy-based access control (PBAC) commonly describes expressing and enforcing access through policies. Those policies can use attributes, so the terms can overlap.
Test a small policy before rollout
- Choose a narrow permission, such as reading documents within one project, and identify the trusted source for each attribute.
- Define what happens when a required attribute is missing or outdated. For protected resources, default to denying access when a required condition cannot be verified.
- Test an allowed request and denied requests for the wrong project, a missing device status, and a disallowed action. Log the reason for decisions without recording sensitive values unnecessarily.
Use the authorization fundamentals lesson to choose where to enforce the rule. The authorization troubleshooting guide covers misplaced checks and permission failures.
Reader Comments 0
Sign in with email or Google to join the discussion.