Access Control Models

DAC, MAC, RBAC, ABAC and RuBAC: who decides, what the decision is based on, and where you meet each one.

Last updated

Download PDF

Free, no signup · 1 page · all 5 models compared · 222 KB

Which model is it? Scenario lookup

One question answers most of these: who holds the power to grant access?

The scenarioModelWhy
A user shares a document with a colleague they chooseDACThe owner decides. Discretion sitting with the owner is the definition.
Files labelled Secret; only Secret-cleared staff can open themMACLabels and clearances enforced centrally. Nobody can grant an exception.
All nurses can view patient records; all billing staff cannotRBACPermission follows the job function, not the individual.
The firewall blocks all inbound traffic except port 443RuBACOne rule, applied to everyone. Identity is irrelevant.
Nobody can log in outside 07:00 to 19:00RuBACA blanket condition, not tied to who you are.
Access if department = finance AND device is managed AND user is on-networkABACMultiple attributes evaluated together at request time.
A contractor gets the same rights as any other project engineerRBACAssigned to a role and inherits its permissions.
A user is denied a file they own because policy forbids itMACOwnership does not override central policy. That is the giveaway.

DACDiscretionary Access Control

Who decides
The data owner
Based on
Owner grants access at their discretion, usually per file or object.
Seen in
NTFS permissions, Google Drive sharing, Unix file modes.
Strength
Flexible and immediate. No admin bottleneck.
Weakness
Access sprawls. One careless owner undoes the policy, and nobody has a full picture.

MACMandatory Access Control

Who decides
The system, from a central policy
Based on
Labels and clearances. Users cannot delegate or override, whatever they own.
Seen in
Military and government classification, SELinux, AppArmor.
Strength
Strictest model. Enforcement does not depend on user judgement.
Weakness
Rigid and administratively heavy. Poor fit where access needs change often.

RBACRole-Based Access Control

Who decides
The role you hold
Based on
Permissions attach to roles; users inherit them by being assigned a role.
Seen in
Most enterprise software, cloud IAM, hospital and finance systems.
Strength
Scales well and mirrors how organisations actually work. Easy to audit.
Weakness
Role explosion. Edge cases breed near-duplicate roles until nobody can tell them apart.

ABACAttribute-Based Access Control

Who decides
A policy evaluating attributes
Based on
Combines user, resource, action and environment attributes at request time.
Seen in
Zero-trust architectures, conditional access, modern cloud policy engines.
Strength
Highly granular and context-aware. Handles cases roles cannot express.
Weakness
Policies get complex fast, and complexity is where mistakes hide.

RuBACRule-Based Access Control

Who decides
Rules applied to everyone alike
Based on
System-wide conditions, typically independent of who the user is.
Seen in
Firewall ACLs, time-of-day restrictions, IP allow-lists.
Strength
Simple, predictable, easy to enforce at a choke point.
Weakness
Blunt. The same rule applies regardless of context or seniority.

Where people lose the mark

Three distinctions that decide most questions on this topic.

RBAC vs RuBAC
The abbreviations are nearly identical and the models are not. Role-based grants by who you are within the organisation; rule-based applies a condition to everyone regardless. "All managers can approve invoices" is RBAC. "No one can log in at 3am" is RuBAC.
DAC vs MAC
The question is who holds the power to grant. Under DAC the owner decides and can share freely. Under MAC the system decides from a central policy and the owner cannot override it. If a scenario mentions an owner sharing something, it is DAC; if it mentions clearances or labels, it is MAC.
RBAC vs ABAC
A role is really just one attribute. ABAC generalises the idea to many: device state, location, time, data sensitivity. If access depends only on job function it is RBAC; once conditions combine, it is ABAC. Zero-trust designs push toward ABAC for exactly this reason.

Frequently asked questions

What is the difference between RBAC and RuBAC?

RBAC is role-based: permissions attach to a job function and users inherit them by holding that role, so access depends on who you are in the organisation. RuBAC is rule-based: a condition applies to everyone alike, regardless of identity, such as a firewall rule or a time-of-day restriction. The abbreviations are almost identical, which is exactly why exams use them. "All managers can approve invoices" is RBAC; "nobody can log in outside business hours" is RuBAC.

What is the difference between DAC and MAC?

It comes down to who has the authority to grant access. Under discretionary access control the data owner decides and can share at will, which is how file permissions and shared drives work. Under mandatory access control a central policy of labels and clearances decides, and no user can override it, not even the owner of the data. MAC is the stricter model and is associated with military and government classification systems.

Which access control model is the most secure?

MAC is the strictest, because enforcement never depends on user judgement and access cannot be delegated. That does not make it the best choice in every setting: it is rigid, administratively expensive and a poor fit where access needs change frequently. Most organisations run RBAC because it balances control against practicality, and increasingly layer ABAC on top for context-sensitive decisions.

Is ABAC replacing RBAC?

Extending rather than replacing it, in most cases. A role is effectively a single attribute, so ABAC is a generalisation of the same idea to many attributes at once — device posture, location, time of day, data sensitivity. Zero-trust architectures lean on ABAC because decisions must account for context, not just identity. In practice most organisations run RBAC as the backbone with attribute-based conditions layered over it.

What is the principle of least privilege?

Every user, process and system gets the minimum access needed to do its job, and nothing more. It is not a model in its own right but a principle you apply within whichever model you use: minimal roles under RBAC, tight labels under MAC, narrow policies under ABAC. Related principles that often appear alongside it are separation of duties, which splits sensitive tasks between people, and need to know, which limits access to information rather than systems.

About this cheat sheet

Source
Model definitions follow NIST SP 800-162 (ABAC) and the access-control taxonomy used across CompTIA and ISC2 material.
A note on RuBAC
Some material folds rule-based control into the others rather than listing it separately, and MAC is itself rule-driven. Exams generally treat it as its own model, so it is listed here, but do not be surprised to see it omitted elsewhere.
Related
Common ports & protocols covers the AAA ports these models are enforced through, including TACACS+ and RADIUS.
Corrections
Spotted something wrong? Tell us and we will fix it. Compiled and maintained by CyberQuizzer.