Discretionary vs Mandatory Access Control Differences
Q: Can you explain the difference between discretionary access control (DAC) and mandatory access control (MAC)?
- Access Control Models
- Junior level question
Explore all the latest Access Control Models interview questions and answers
ExploreMost Recent & up-to date
100% Actual interview focused
Create Access Control Models interview for FREE!
Certainly! Discretionary Access Control (DAC) and Mandatory Access Control (MAC) are two distinct models used to manage access to resources in a network environment.
DAC is a flexible access control method where the owner of a resource has the authority to determine who can access it. This means that users can make decisions about what other users can do with the resources they own. For example, in a file system, a user might have the ability to grant read, write, or execute permissions to other users on their files. A common application of DAC is in operating systems like Windows or Unix, where file permissions can be set by the user.
On the other hand, Mandatory Access Control (MAC) is a more rigid model where access rights are enforced by a central authority based on predefined security policies and classifications. In MAC, users cannot alter access permissions, and access decisions are based on information labels assigned to both users and resources, such as confidential or secret. For instance, in a military setting, a file may be marked as "top secret", and only users with the appropriate clearance level will be granted access, regardless of ownership.
In summary, the primary difference is that DAC allows resource owners to control access to their resources, while MAC enforces strict access controls determined by system policies and classifications that cannot be changed by users. This makes MAC more suitable for environments that require high security, while DAC offers more flexibility and user control.
DAC is a flexible access control method where the owner of a resource has the authority to determine who can access it. This means that users can make decisions about what other users can do with the resources they own. For example, in a file system, a user might have the ability to grant read, write, or execute permissions to other users on their files. A common application of DAC is in operating systems like Windows or Unix, where file permissions can be set by the user.
On the other hand, Mandatory Access Control (MAC) is a more rigid model where access rights are enforced by a central authority based on predefined security policies and classifications. In MAC, users cannot alter access permissions, and access decisions are based on information labels assigned to both users and resources, such as confidential or secret. For instance, in a military setting, a file may be marked as "top secret", and only users with the appropriate clearance level will be granted access, regardless of ownership.
In summary, the primary difference is that DAC allows resource owners to control access to their resources, while MAC enforces strict access controls determined by system policies and classifications that cannot be changed by users. This makes MAC more suitable for environments that require high security, while DAC offers more flexibility and user control.


