The short answer
When people ask about the four types of access control, they usually mean four models that set out how access rights are decided: discretionary (DAC), mandatory (MAC), role-based (RBAC) and attribute-based (ABAC). The models come from information security, but the same ideas shape how a door system decides who gets in.
Discretionary access control (DAC)
With DAC, the owner of a resource decides who gets access. It is simple to set up and easy to understand. In a home, it looks like the owner deciding who gets a key, a code or a fob. The downside is that access depends on each owner’s judgment, and it can be harder to keep consistent across many people and doors.
Mandatory access control (MAC)
With MAC, a central authority sets the rules, and individual users cannot change them. People and resources carry labels, such as clearance levels and classifications, and access is allowed only when the labels match the rules. MAC is typically used in government and military settings where strict control matters. Most homes and small businesses do not need it.
Role-based access control (RBAC)
With RBAC, access follows a job or role. A staff member, a manager and a contractor might each get different doors. It is common in offices and larger organizations because it is easier to manage: you change the role, and everyone in that role changes with it. Its limit is that a role on its own does not easily account for conditions such as the time of day or the device being used.
Attribute-based access control (ABAC)
With ABAC, the system checks attributes, such as who the person is, what the resource is and the conditions at the time of the request. A door might open only during set hours, or only for a phone registered to a particular person. ABAC is flexible, but its rules must be designed carefully. A poorly written rule can lock out the right people or let the wrong ones in.
Many real systems combine RBAC for the baseline with ABAC rules for conditions such as time and location.
How the four models show up at a door
Door hardware rarely labels itself with these names. In practice, a door system mixes the ideas:
- A shared keypad code, as in a door code lock system, is closest to a simple owner-set arrangement. It works, but it does not track individuals or keep a log of who entered.
- A key card or fob tied to a named person is a step toward role-based control, especially when you can assign or remove cards by group.
- A system that limits entry to certain hours or to registered devices uses attribute-style rules.
If you want a record of who came and went, look for a system that stores individual credentials and keeps an entry log, not just a shared code.
Which model matters for a home
For most homes, the practical question is less about which model is in use and more about who holds the credentials, how easily you can revoke them and whether you can see a history of entries. Those points matter more than the model name when you compare products. Ask any installer or vendor how they add and remove users, and what the log shows.