Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

What Is ABAC? Attribute-Based Access Control Explained

See how ABAC uses attributes to authorize requests, how it compares with role-based access, and what to test before adopting it.

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 is ABAC? Advantages and disadvantages of Attribute-Based Access Control Picture 1
ABAC evaluates the requester, the resource, the requested action, and relevant context.

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

What is ABAC? Advantages and disadvantages of Attribute-Based Access Control Picture 2
One policy can apply across many users and resources that share attributes.

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

What is ABAC? Advantages and disadvantages of Attribute-Based Access Control Picture 3
Policy-based systems can use attributes as inputs to access decisions.

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

  1. Choose a narrow permission, such as reading documents within one project, and identify the trusted source for each attribute.
  2. 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.
  3. 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.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.