Discretionary vs. Mandatory Access Control (Explained Clearly) - DAC vs. MAC
CompTIA Security+ SY0-801: Cybersecurity Fundamentals
Compare discretionary vs mandatory access control: who sets permissions, how DAC and MAC work, and why access can fail despite file permissions.
👉 Master your Security+ skills with Pluralsight here: Pluralsight
You’ll learn the differences between discretionary and mandatory access control (DAC vs. MAC), who sets permissions, and why access can be denied even when file permissions allow it. Build your CompTIA Security+ foundation with clear examples of owner-controlled sharing, enforced security policies, and least privilege.
Chapters:
0:00 Intro
0:15 What does access control actually decide?
0:50 How does discretionary access control work?
1:55 How does mandatory access control work?
3:20 Why can access fail when file permissions allow it?
4:29 Outro
Affiliate notice: Some links may earn a commission. Thanks for your support.
- DAC lets authorized owners control sharing; MAC enforces policy ordinary owners cannot override. For Security+ scenarios, identify who has the authority to grant access.
- DAC supports flexible collaboration but risks excessive access. Windows DACLs and traditional Unix permissions are common examples; permission to read content does not automatically grant permission to manage sharing.
- MAC extends beyond classified information. SELinux uses security contexts and policy rules, AppArmor uses application profiles, and Windows Mandatory Integrity Control applies integrity-based restrictions.
- Access must pass every applicable control layer. File permissions can allow an operation that mandatory policy blocks, and mandatory policy cannot override a discretionary denial.
- Troubleshoot denials instead of disabling protection. Identify the requesting user or process, resource, and operation; then inspect permissions, mandatory policy, denial logs, and enforcement mode. Red Hat’s SELinux documentation provides implementation guidance.
- Apply least privilege under both models. Grant only necessary permissions, remove stale access, and confine applications to required resources. Centralized permission management alone does not make a system MAC.
- 👉 Turn access-control concepts into hands-on skills with Pluralsight, an optional next step offering guided security labs, feedback, assessments, and certification practice exams.
The difference between discretionary vs. mandatory access control comes down to who controls access: under DAC, a resource owner or another authorized controller can assign permissions; under MAC, an authoritative security policy imposes restrictions that ordinary owners cannot override.
That distinction explains why “I own this file” does not always mean “I can share it”, and why an application can receive an access-denied error even when the file’s permissions appear to allow access.
Both models govern authorization, but they serve different needs and can operate together on the same system.
What Does Access Control Decide?
Access control determines whether a user or process can perform a particular action on a resource.
Comments
Add a comment...Pinned by @jaymayor
@jaymayor👉 Master your Security+ skills with Pluralsight here: https://www.jaymayor.com/go/security-plus
Some links may earn a commission. Thanks for your support.
