Role-based access control (RBAC) is the access control model in which permissions belong to roles, and people are put into roles. A payroll analyst can open the payroll report because the Payroll Analyst role carries that permission, not because anyone wrote her name against the file. When she changes job, her access is meant to change with her: access follows the job.
That is why RBAC is the usual base for access management in large organisations: a short list of roles replaces thousands of individual grants. Its limits are well known. A role cannot see the time, the device or the place of a request, every extra condition tends to become another role, and a person who moves jobs keeps the old role unless someone removes it.
RBAC is one of the authorization mechanisms the ISC2 exam outline lists for CISSP Domain 5, Identity and Access Management, under objective 5.4, “Implement and manage authorization mechanisms”. This guide follows one request through an RBAC decision, shows what the system reads and what it ignores, and compares RBAC with its nearest neighbour, attribute-based access control, and with the model that shares its abbreviation, rule-based access control. For a short definition, see the glossary entry for role-based access control.
What is role-based access control?
Once a person has signed in, authentication has proved who they are; every access control model then decides what they may do. The person or program asking is the subject, what they want to do is the action, and the thing they want is the object, such as a file, a record or a system.
Under RBAC, a central administrator sets the rule. The model was described at NIST by Ferraiolo and Kuhn in 1992, extended by Sandhu, Coyne, Feinstein and Youman in 1996, and later standardised as ANSI INCITS 359-2004. In the core of that standard, permissions are assigned to roles, users are assigned to roles, and users acquire permissions only by being members of roles. Three terms carry the whole idea:
- Role: a named job function with a fixed set of permissions, such as Payroll Analyst.
- Permission: an action on an object, such as read on the payroll report.
- Assignment: putting a person in a role. In a pure role-based scheme the person receives no permissions directly.
Two properties follow:
- The administrator decides. The administrator defines the roles and who belongs to each, and the owner of a file cannot hand out access alone. That is why RBAC is usually called non-discretionary access control, a term some study sources apply to every model where the owner does not decide and others mainly to RBAC.
- Access follows the job. A job change is a change of role, not an edit to dozens of individual grants.
Two questions separate every model: who sets the rule, and what does the system read when it decides? For RBAC the answers are a central administrator, and the person’s role together with whether its permissions include this action on this file. Never the name.
One request under RBAC
Take one request in a sample company, Harbourline Insurance (a fictitious organisation, used throughout this series). Asha Mehta, a payroll analyst, asks to read the payroll report, payroll-Q3.xlsx, at 10:15 on a Tuesday, from a managed laptop, in the office.
Harbourline’s administrator has defined two roles and put each person in one:
| Role | Permissions | Members |
|---|---|---|
| Payroll Analyst | read payroll-Q3.xlsx, read staff-handbook.pdf | Asha Mehta |
| IT Support | read staff-handbook.pdf, reset passwords | Daniel Smith |
When Asha asks, the system reads her role, the action (read) and the file, and asks one question: do the permissions of Payroll Analyst include read on this file? They do, so she is allowed.
What the system does not read matters just as much. No list on the file names Asha; a new payroll analyst would pass the same check with no change to the file or the role. Nor does the decision look at the time, the device or the place. If Asha asked again at 02:40, from an unmanaged device, in a country she has never signed in from, she would still be allowed. That is the shape of the model, and it is partly why models that read the context, such as attribute-based and risk-based access control, exist.
Another colleague, another role
Now another colleague, Daniel Smith, an IT support contractor, asks to read the same file at 11:05 from a managed laptop in the office. His role, IT Support, carries no permission on the payroll report, so he is denied.
Even if Nina Okafor, the finance manager who owns the file, wanted Daniel to see it, she could not grant it herself. Only the administrator can change what a role carries or who is in it.
Least privilege and separation of duties
The NIST RBAC papers and INCITS 359-2004 name two principles that RBAC makes easier to run at scale.
Least privilege. Each role is designed once to carry only what the job needs, and everyone in that job inherits the same limited set. (How least privilege differs from need to know is covered in Need to Know vs Least Privilege.)
Separation of duties. Some pairs of tasks should never sit with one person, such as raising a payment and approving it. Imagine Harbourline also had two roles, Payment Preparer and Payment Approver. INCITS 359-2004 defines two ways to keep them apart:
- Static separation of duty works at assignment: nobody can be put in both roles.
- Dynamic separation of duty works at use: a person may hold both roles but cannot activate both in the same session.
Both depend on access being organised by role; where owners grant access file by file, there is no single place to state that two jobs never meet.
Where RBAC is used
RBAC fits any organisation where people can be grouped by what they do:
- Identity management and directory services, where a person’s job drives which roles they receive, often through automated provisioning.
- Business applications with built-in roles such as clerk, approver and auditor.
- Databases and cloud platforms, where privileges are bundled into roles granted to people or services.
Most organisations run a blend: RBAC as the baseline, with attribute-based or risk-based decisions layered on top for sensitive actions.
The weaknesses of RBAC
Privilege creep at the job move
Suppose Asha moves to the claims team. The administrator puts her in a new role, Claims Analyst, which can read the claims files and the staff handbook but has no permission on the payroll report. If nobody removes Payroll Analyst, she now holds both roles. When she asks for the payroll report again, the system finds read on that file among her roles’ permissions and allows her.
That is privilege creep: access accumulating as a person changes jobs because old grants are never taken away. It can happen under any model, but under RBAC the fix is clear: when the job changes, remove the old role. A mover process that removes roles as well as adding them, prompt deprovisioning and periodic access reviews keep it in check.
Role explosion
A role cannot check the hour, the device or the place. To control those, an organisation has to create extra roles: a payroll role for office hours only, another for managed devices only, another for both. Each new condition multiplies the combinations until the role list is harder to audit than the grants it replaced. NIST SP 800-162 names this growth, role explosion, as a limitation of RBAC that motivates attribute-based access control.
RBAC vs ABAC
RBAC’s nearest neighbour is attribute-based access control, and the single difference that decides most comparisons between them is how many things the decision reads.
| Role-based access control (RBAC) | Attribute-based access control (ABAC) | |
|---|---|---|
| Who sets the rule | A central administrator | A policy author |
| What the decision reads | The person’s role, and whether its permissions include this action on this file | Attributes of the subject, the object, the action and the environment, at request time |
| Reads the time, device or place? | No | Yes, where the policy names them |
| Adding a new condition | Usually means another role | Means another condition in the policy |
| Strength | Simple to administer and audit at scale | Fine-grained and contextual |
| Main weakness | Role explosion; blind to context | Complex to write, test and audit; only as good as its attributes |
NIST SP 800-162 (2014) defines ABAC as granting or denying requests based on attributes of the subject and the object, environment conditions, and policies written in terms of them. Run the same request under one ABAC policy: “Finance staff with a clearance at or above the file’s label may read Finance files from a managed device between 07:00 and 20:00.” Asha’s 10:15 request meets all five conditions and is allowed. Her 02:40 request from an unmanaged device fails two, the device and the time, and is refused: one policy does what RBAC could only do with extra roles.
Role-based vs rule-based: the shared abbreviation
Rule-based access control is also shortened to RBAC in casual use, a classic source of confusion. As the common CISSP study guides use the term, rule-based control applies rules to every subject alike and reads a condition, never the person. A firewall rule set is the usual example, and a time-of-day restriction is another. Some of those guides treat it as a form of mandatory or non-discretionary control, because the rules are set centrally.
Take one rule at Harbourline: “No access to Finance files between 20:00 and 07:00.” It allows Asha at 10:15 and refuses anyone at 02:40, because no name or role enters it. Role-based control reads the role, so the answer changes when the person changes role; rule-based control reads a condition, so the answer changes only when the condition does. When a CISSP question uses RBAC without spelling it out, it is likely to mean role-based, with rule-based as the distractor.
How a CISSP scenario may test RBAC
Questions on access control models tend to hide the answer in a phrase about who decides or what the system checks. Patterns worth recognising:
- Thousands of staff organised by job, or a transfer that should change permissions without editing individual grants. That points towards RBAC.
- An employee who moved departments can still open their old team’s files. That is privilege creep, and the expected response is likely to be removing the old role and running an access review.
- One person must not both raise and approve a payment. RBAC with separation of duty constraints is a strong candidate.
- Access must also depend on the device, the time or the location, or the number of roles keeps growing. That points beyond RBAC towards attribute-based control, and the growth is role explosion.
- A rule applies to everyone regardless of who they are, such as a firewall rule or a sign-in window. That is rule-based control, however the abbreviation is written.
Ask who sets the rule and what the system reads. If the answers are a central administrator and the person’s role, the model is RBAC.
Conclusion
Role-based access control puts the permissions on the role, not the person. A central administrator defines the roles and decides who belongs to each, and the system checks whether the person’s role carries this action on this file without reading their name, the time, the device or the place. That makes RBAC simple to run at scale and a natural home for least privilege and separation of duties. Remember three things: every extra condition costs another role, privilege creep starts at a job move that leaves the old role in place, and the shared abbreviation with rule-based control is a trap.
Ready to test that under exam conditions? Our LSM CISSP practice tests are built around scenario questions like these: telling role-based, rule-based and attribute-based control apart from a single phrase in the stem, and choosing the control that fits the organisation, with full explanations for every answer.
Quick reference for the CISSP exam
Role-based access control attaches permissions to roles and puts people in roles.
RBAC defined
- Who sets the rule: a central administrator, so RBAC is usually called non-discretionary.
- What the decision reads: whether the role’s permissions include this action on this object, never the name.
- What it does not read: the time, the device or the place.
- Supports: least privilege, and static and dynamic separation of duty.
- Classic source: the NIST RBAC model, standardised as ANSI INCITS 359-2004.
The RBAC vs ABAC discriminator
- RBAC: reads the role; every extra condition costs another role.
- ABAC: reads attributes, including the environment; one policy can replace many roles.
- Rule-based: one condition for everyone, never the name or role.
The traps
- A job move that keeps the old role is privilege creep.
- Conditions multiplied into roles is role explosion (NIST SP 800-162).
- RBAC in a question is likely to mean role-based, not rule-based.