Every access-control system needs an answer to one question: who writes the rules? There are four common answers, and real systems usually mix them.
- DACThe owner decidesYou share your own file with whoever you choose.
- MACThe system decidesLabels such as Secret; nobody can share past their label.
- RBACRoles decidePermissions go to roles; people get roles.
- ABACRules decideRules about who, what, when and where.
Who writes the access rules? There are four common answers, known by their short names. Most real systems mix them.
The owner decides
In discretionary access control (DAC), whoever owns a file or folder chooses who else may use it. Sharing a document from your drive is DAC. It is flexible and easy, but it depends on every owner choosing well, and “anyone with the link” links leak.
The system decides
In mandatory access control (MAC), the system gives every user a clearance and every item a label, and enforces the rules itself. Owners cannot override them. Military and government systems use MAC. A well-known rule set, the Bell–LaPadula model, says users may not read above their clearance (“no read up”) and may not write secrets down to a lower level (“no write down”).
Roles
In role-based access control (RBAC), permissions are attached to roles such as student, teacher or exam office, and people are given roles. It is the most common model in organisations, because job changes become one simple step.
Rules about attributes
In attribute-based access control (ABAC), rules combine facts about the person (department), the item (subject, semester) and the situation (time, place, device). It can express fine rules that roles cannot, at the cost of more rules to write and check.
ACCS-3 counts as completed once you step through the figure to its last step.