Discretionary Access Control (DAC)
What is Discretionary Access Control (DAC)?
Discretionary Access Control (DAC)An access-control model in which the owner of a resource decides who can access it and what operations they can perform.
Discretionary Access Control is the default model in most general-purpose operating systems: file or object owners hold the authority to grant or revoke permissions to other users and groups, typically through ACLs or POSIX read/write/execute bits. The term is formally defined in the U.S. DoD Trusted Computer System Evaluation Criteria (TCSEC, the "Orange Book," DoD 5200.28-STD, 1985), which contrasts DAC — access "based on the identity of subjects and/or groups to which they belong" and left to the subject's discretion — with Mandatory Access Control, where a system-wide policy the user cannot override governs access. NIST SP 800-192 and the RBAC literature continue to use the same distinction.
Because trust flows from the owner and permissions can be re-delegated freely, DAC is vulnerable to two classic failures. In the Trojan-horse scenario, a program a user runs inherits that user's authority and can quietly copy their files or re-grant access to an attacker — the policy is enforced per-user, not per-program. The related confused-deputy problem (Norm Hardy, 1988) occurs when a privileged service is tricked into misusing its authority on a caller's behalf. Malware therefore needs no exploit to read everything the logged-in user can.
flowchart TD O[Owner / subject] -->|chmod, setfacl, ACL edit| ACL[Object ACL / mode bits] ACL -->|grant r/w/x| U[Other users & groups] O -->|runs| P[Program with owner's rights] P -.Trojan horse:<br/>re-grants access.-> A[Attacker] ACL --> K[Kernel reference monitor<br/>checks identity on open]
DAC suits collaborative environments and personal data but is insufficient alone for classified or high-integrity systems, where MAC (e.g. SELinux type enforcement) or strict RBAC/ABAC is layered on top, along with least privilege, sandboxing of untrusted programs, and auditing of permission changes.
● Examples
- 01
A Linux user running chmod 644 file.txt to grant world-read access.
- 02
A Windows file owner adding a colleague to the file's ACL with modify rights.
● Frequently asked questions
What is Discretionary Access Control (DAC)?
An access-control model in which the owner of a resource decides who can access it and what operations they can perform. It belongs to the Identity & Access category of cybersecurity.
What does Discretionary Access Control (DAC) mean?
An access-control model in which the owner of a resource decides who can access it and what operations they can perform.
How do you defend against Discretionary Access Control (DAC)?
Defences for Discretionary Access Control (DAC) typically combine technical controls and operational practices, as detailed in the full definition above.
What are other names for Discretionary Access Control (DAC)?
Common alternative names include: DAC, Owner-controlled access.