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.