Certopolis

Certified Information Systems Security Professional (CISSP)

RBAC vs ABAC vs identity-based access control (CISSP)

NIST's RBAC FAQ says role-based access control gives users permissions only through roles, never directly. NIST SP 800-162 defines attribute-based access control as granting or denying requests based on attributes of the subject and object, environment conditions and policies. Identity-based access control lists permitted identities on each object's access control list.

What makes a system RBAC?

The NIST RBAC FAQ gives three basic rules from the 1992 Ferraiolo-Kuhn model. Role assignment: a subject can execute a transaction only if it has selected or been assigned a role. Role authorization: a subject's active role must be authorized for the subject. Transaction authorization: a subject can execute only transactions authorized through its role memberships.

All access is through roles. Permissions are connected only to roles, not directly to users. The FAQ contrasts this with groups, where permissions can be tied to users as well as groups, which it calls a loophole. Roles are relatively stable while users and permissions change rapidly, so controlling access through roles simplifies management and review.

The RBAC standard's reference model has four components. Core RBAC covers user-role and permission-role assignment and role activation in a session. Hierarchical RBAC adds role hierarchies. Static Separation of Duty relations constrain which roles a user can be assigned. Dynamic Separation of Duty relations constrain which roles can be activated within one session.

The 1996 Sandhu framework names the same ideas differently: RBAC0 is the base model, RBAC1 adds hierarchies, RBAC2 adds constraints, and RBAC3 combines them.

How does ABAC decide?

SP 800-162 defines ABAC as an access control method where subject requests to perform operations on objects are 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.

The policy decision point computes access decisions by evaluating the applicable policies. The policy enforcement point enforces those decisions in response to a subject's request.

SP 800-162 notes that RBAC role assignments tend to rest on more static organizational positions. That is a poor fit when access depends on conditions that change from request to request, which ABAC evaluates each time.

What is identity-based access control?

Identity-based access control (IBAC) uses mechanisms such as access control lists to capture the identities of those allowed to access an object. Each object needs its own list.

SP 800-162 points out that the decision to add a subject to a list is static. A notification process is needed for the owner to re-evaluate the list, and failures to remove or revoke access over time leave users with accumulated privileges.

Where the exam catches people

  • Believing groups and roles are the same: RBAC ties permissions only to roles, and groups also allow permissions on individual users.
  • Believing static separation of duty is what stops a user activating two assigned roles in the same session: that is dynamic separation of duty, and static separation of duty limits which roles can be assigned.
  • Believing RBAC1 adds constraints: RBAC1 adds hierarchies, and RBAC2 adds constraints such as separation of duty.
  • Believing more roles solve access that depends on project, location and training status at request time: SP 800-162 presents that as the case for evaluating attributes.
  • Believing the policy enforcement point computes the decision: the policy decision point decides and the enforcement point carries it out.

Written from these sources

Try 3 questions on this

Pick an answer to see why each option is right or wrong.

  1. An engineering firm already runs role-based access control. Staff may now open export-controlled designs only while assigned to the project, working from an approved site, and current on export training, and these conditions change weekly. Expanding its roles or adopting another model could both enforce this. Which design does NIST SP 800-162 point toward?

    Right. In the game that’s Renown for your Domain 5: Identity and Access Management (IAM) building.

    Not that one: A is right. In the game your Domain 5: Identity and Access Management (IAM) building would lose a little Renown, and this question would come back later.

    Show the full explanation and doc quotes

    ABAC decides each request from subject attributes, object attributes and environment conditions, so access changes when attribute values change without redefining relationships.

    Written from nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-162.pdf

  2. In a payroll system, the same clerk may be assigned both the payment-entry role and the payment-approval role to cover absences, but must never act in both within one session. Which RBAC model component enforces this?

    Right. In the game that’s Renown for your Domain 5: Identity and Access Management (IAM) building.

    Not that one: D is right. In the game your Domain 5: Identity and Access Management (IAM) building would lose a little Renown, and this question would come back later.

    Show the full explanation and doc quotes

    The clerk may hold both roles, so only a session-level constraint fits.

    Written from csrc.nist.gov/Projects/Role-Based-Access-Control/faqs

  3. In a role-based system, a user assigned only the auditor role tries to activate the administrator role, which has never been authorized for her. Which RBAC rule blocks this?

    Right. In the game that’s Renown for your Domain 5: Identity and Access Management (IAM) building.

    Not that one: B is right. In the game your Domain 5: Identity and Access Management (IAM) building would lose a little Renown, and this question would come back later.

    Show the full explanation and doc quotes

    An administrator role never authorized for her cannot become active.

    Written from csrc.nist.gov/Projects/Role-Based-Access-Control/faqs

Ask for something