Access control models are different ways of deciding who gets to access what. Security+ questions usually describe a situation and ask which model fits.

The key is asking: what is access based on?

DAC: discretionary

The owner of the resource decides who gets access. Think of sharing a file on your computer with a coworker. It's flexible, but it depends on owners making good choices.

MAC: mandatory

Access is based on labels, like Secret or Top Secret, set by the system or an administrator, not the owner. Users can't change it. You see this in government and military settings.

RBAC: role-based

Access is based on your job role. Everyone in the nurse role gets the same access. It's common in businesses because it's easy to manage when people change jobs.

Heads up for the exam: Owner decides = DAC. Labels and clearances = MAC. Job role = RBAC. Lots of conditions together = ABAC.

Rule-based

Access is based on rules that apply to everyone, like a firewall rule or "no logins after 10 p.m."

ABAC: attribute-based

Access is based on attributes, like who you are, what device you're on, where you are, and what time it is, all checked together. It's the most flexible.

Least privilege

Whatever the model, the goal is least privilege: give people only the access they need to do their job, and nothing extra.

Cheat sheet

  • DAC = the owner decides
  • MAC = labels and clearances
  • RBAC = job role
  • Rule-based = rules that apply to everyone
  • ABAC = multiple attributes together
  • Least privilege = only what you need

Common questions

What is the difference between DAC and MAC?

In DAC, the owner decides who gets access. In MAC, access is based on labels set by the system, and users can't change it.

What is RBAC?

Role-based access control, where access is based on your job role.

What is ABAC?

Attribute-based access control, which checks several attributes, like user, device, location, and time, together.

Studying for Security+?

Security+ Practice Test 701 has 1,100 practice questions with clear explanations, so you know why every answer is right.

← Back to blog