Main menu
Definition

Mandatory Access Control (MAC)

Mandatory Access Control (MAC) is access privilege to sensitive resources, classed by labeled clearance levels and regulated by administrators of an operating system. Learn how mandatory access control works, how it compares with discretionary and role-based models, and where it is used.

DTDevolutions Team·November 12, 2026·2 min read

What is Mandatory Access Control (MAC)?

Mandatory Access Control (MAC) is an access control model in which a central authority, not the owner of a file or resource, decides who can access what. Every user (subject) and every resource (object) is given a security label, such as Confidential, Secret, or Top Secret, and the system enforces rules based on those labels. Users cannot override or share access on their own.

How does mandatory access control work?

  1. Administrators assign clearance levels to users and classification labels to resources, sometimes with categories such as project or department.
  2. When a user requests access, the operating system compares the user's clearance with the resource's label.
  3. Access is granted only if the rules allow it. A common rule is "no read up": a user cannot read data classified above their clearance.

Some models also prevent "writing down" so that sensitive data cannot be copied to a less protected location. Operating system features such as SELinux on Linux implement forms of mandatory access control.

MAC vs. DAC and RBAC

In discretionary access control (DAC), the owner of a resource decides who can use it, as with typical file permissions. In role-based access control (RBAC), permissions are tied to job roles. MAC is the strictest: rules are set centrally and cannot be changed by users, which makes it suited to highly sensitive environments but more complex to manage.

Why does mandatory access control matter?

MAC limits the damage that a compromised account or a careless user can cause, because access is never left to individual discretion. It is used mostly in government, defense, and other environments with formal data classification, and its ideas, such as labeling and central enforcement, inform access design elsewhere.

Frequently asked questions

What is Mandatory Access Control (MAC)?

MAC is access privilege to sensitive resources, classed by labeled clearance levels, regulated by administrators of an operating system rather than by resource owners.

What is an example of mandatory access control?

A user with "Secret" clearance can open documents labeled Secret or lower but is blocked from Top Secret documents, and cannot grant anyone else access.

Is MAC the same as a MAC address?

No. Mandatory Access Control is an access control model. A MAC (Media Access Control) address is a hardware identifier for a network interface.

Enforce strict control over privileged access

Secure, rotate, and audit every privileged account across your infrastructure.

Explore Devolutions PAM

Related terms

Access control

Access control is a technique to restrict access to authorized users only.

Read now →

Role-based access control (RBAC)

A hierarchy of permissions determining what a user can do based on their role.

Read now →

Least privilege

Granting users only the access needed to carry out their responsibilities.

Read now →