Discretionary access control (DAC) is an access control model in which the owner of a resource, or someone authorized to control it, decides who may access that resource and what they may do with it. The owner can grant, change, or revoke permissions, and a person granted access can often pass it on to others unless another control stops them.
Key takeaways
- In DAC, the resource owner decides who gets access, not a central security policy.
- DAC is built into everyday systems such as Windows file permissions and Unix file modes.
- Its main weakness is that access can spread: a user who can read a file can often copy and share it.
Every time you share a file with one colleague and not another, you are making an access control decision. Discretionary access control is the model that gives that decision to you, the owner, instead of to a central security team.
What is discretionary access control?
Discretionary access control (DAC) is an access control model in which the owner of a resource decides who may access it and what they may do with it. The owner can grant read, write, or execute rights, change them later, or take them away.
NIST defines DAC as a policy that leaves a certain amount of access control to the discretion of the object owner, or anyone else authorized to control the object's access. The owner determines who should have access rights to an object and what those rights should be, according to the NIST Computer Security Resource Center glossary.
The word discretionary is the key. The decision is at the owner's discretion, not fixed by a central rule. That makes DAC flexible and easy to use, and it is why it is the default in most operating systems and file-sharing tools.
How does DAC work?
DAC works by attaching a list of permissions to each resource. When someone tries to open a file, the system checks that list and grants or denies access based on who they are and what the owner allowed.
Each resource has an owner, usually the person or process that created it. The owner sets permissions for individual users or groups, such as read-only for one team and full edit rights for another.
When a request arrives, the system compares the requester's identity against the permission list. If a matching entry allows the requested action, access is granted. If no entry allows it, access is denied.
A second feature matters as much as the first. Under the fuller NIST definition, a subject granted access can often pass information to other subjects, grant its privileges to others, change security attributes, or change the rules governing access. Mandatory controls restrict that ability, but DAC on its own does not.
What are examples of DAC in everyday systems?
DAC is everywhere, because it matches how people naturally share things. You will find it in operating systems, cloud storage, and databases, often without the name ever appearing on screen.
- Windows files and folders: each file has a discretionary access control list (DACL) naming the users and groups allowed or denied access.
- Unix and Linux: file modes set read, write, and execute rights for the owner, the owner's group, and everyone else.
- Google Drive and similar tools: the file owner picks viewers, commenters, and editors, and can change or remove them at any time.
- Databases: a table owner can grant select or update rights to specific users.
- Shared folders: a team lead controls who can open a project folder and who can only read it.
Our small business cybersecurity checklist covers file sharing alongside the other basic controls a small team should set up.
How does DAC work in Windows?
In Windows, DAC is implemented through security descriptors and discretionary access control lists. Every securable object, from a file to a registry key, can carry a DACL.
A DACL is a list of access control entries (ACEs). Each ACE names a trustee, such as a user or group, and says which access rights are allowed or denied for that trustee, according to Microsoft Learn.
When a process tries to access an object, Windows checks the ACEs in the DACL in sequence. It grants access when it finds entries allowing all the requested rights, and denies access when a right is denied or no entry allows it.
Two edge cases are worth knowing. If an object has no DACL at all, Windows grants full access to everyone. If the DACL exists but has no entries, Windows denies all access. Microsoft warns developers never to use a null DACL, because it grants full access to everyone, including untrusted users.
DAC vs MAC: what is the difference?
DAC and mandatory access control (MAC) answer the same question, who decides, in opposite ways. In DAC the owner decides. In MAC a central authority decides, and owners cannot override it.
| Discretionary access control | Mandatory access control | |
|---|---|---|
| Who decides | The resource owner | A central authority or policy |
| Based on | Owner choice and user identity | Security labels and clearance levels |
| Can the owner share access? | Yes, at their discretion | No, owners cannot override the policy |
| Typical use | General business files, personal documents | Government and military classified systems |
| Flexibility | High, easy to change | Low, changes need authority approval |
| Risk of spreading access | Higher, access can be passed on | Lower, labels control the flow |
Most businesses use DAC for day-to-day files and add MAC-style controls, such as data classification and loss prevention, only for their most sensitive information. For a broader view of identity controls, see our guide to securing your Wi-Fi and the network controls that sit around shared files.
DAC vs RBAC vs ABAC
DAC is one of several access control models, and most real systems combine it with others. Knowing the differences helps you pick the right one for each situation.
Role-based access control (RBAC) grants access by job role rather than by owner choice. A new finance employee automatically gets the finance role's permissions, and loses them when the role changes. That scales far better than asking every file owner to update their lists.
Attribute-based access control (ABAC) grants access based on attributes of the user, the resource, and the environment, such as department, device, location, and time of day. NIST SP 800-192 notes that discretionary controls are typically associated with identity-based access control, while non-discretionary controls are typically rule-based.
| Model | Access decided by | Best for | Weakness |
|---|---|---|---|
| DAC | Resource owner | Personal and team files | Access can spread unchecked |
| RBAC | Job role | Teams with stable roles | Role sprawl over time |
| ABAC | Attributes and rules | Complex, context-aware policies | Harder to design and audit |
| MAC | Central authority | Classified information | Rigid and hard to change |
In practice, a small business will use DAC for shared drives, RBAC for its main applications, and a few ABAC-style rules, such as requiring MFA outside the office, on top.
What are the advantages and disadvantages of DAC?
DAC survives because it is simple and flexible. It also has a well-known weakness, and understanding both sides is the point of this section.
Advantages
- Easy to understand: owners already know who should see their work.
- Fast to change: sharing a file takes seconds, with no ticket to a security team.
- Flexible: permissions can be as fine-grained as the owner wants.
- Built in: Windows, Linux, and cloud storage all support it out of the box.
Disadvantages
- Access spreads: a reader can copy a file and share the copy, bypassing the original permissions.
- Owner mistakes: one wrong share can expose a sensitive file to the whole company or the public.
- Hard to audit: permissions are scattered across thousands of owners and files.
- No central policy: there is no single place to enforce rules such as least privilege.
NISTIR 7316 describes this risk directly: a recipient who can read information may copy it into an object they control and share the copy without the original owner's knowledge. That is the core reason DAC alone is not enough for sensitive data.
When should you use DAC, and when should you not?
Use DAC for ordinary collaboration, where the cost of a mistake is low and speed matters. Shared project folders, team documents, and personal files are natural fits.
Do not rely on DAC alone for sensitive data such as customer records, financial files, health information, or source code secrets. For those, add role-based access, encryption, data loss prevention, and audit logging, so that a single owner's mistake cannot expose the data.
A practical rule is to ask what happens if the file is copied. If the answer is a minor embarrassment, DAC is fine. If the answer is a breach notification, you need stronger controls around it.
How do you secure a DAC system?
You do not need to remove DAC to make it safer. You need to add guardrails around it, and review the permissions that matter most.
- Apply least privilege: grant read-only by default and add write access only where someone needs it.
- Review sharing regularly: check who can access sensitive folders each quarter and remove people who no longer need it.
- Use groups, not individuals: assign permissions to a group such as Finance, so access changes when membership changes.
- Turn on auditing: log who opens and shares sensitive files, and review the logs.
- Classify sensitive data: label files that need stronger controls and move them out of purely discretionary sharing.
- Train owners: show people how sharing works, including the difference between anyone with the link and specific people.
- Use strong authentication: permissions mean little if an account is easy to take over, so use phishing-resistant MFA and check passwords with our pwned password checker.
The bottom line
Discretionary access control puts the sharing decision in the hands of the person who owns the resource. That makes it fast, flexible, and easy to use, which is why it is built into almost every system you use.
Its weakness is just as clear: access can spread through copies, and owners make mistakes. Use DAC for everyday collaboration, and layer role-based access, auditing, and encryption around anything sensitive. You can start by reviewing who can open your most important shared folders today.
Frequently asked questions
What is discretionary access control in simple terms?
It is a model where the owner of a file, folder, or other resource decides who can use it. If you own a document and share it with one colleague for editing and another for reading only, you are using discretionary access control.
What is an example of discretionary access control?
Sharing a Google Drive file with specific people, setting read and write permissions on a Unix file with chmod, or changing who can open a Windows folder are all everyday examples of DAC.
What is the difference between DAC and MAC?
In DAC, the resource owner decides who gets access. In mandatory access control (MAC), a central authority sets the rules based on labels such as clearance levels, and individual owners cannot override them.
What is the difference between DAC and RBAC?
DAC grants access based on the identity of the owner and the people they choose. Role-based access control (RBAC) grants access based on a person's job role, so permissions change automatically when the role changes.
Is DAC secure?
DAC is convenient but not strong on its own. A user who can read a file can often copy it and share the copy, and mistakes by owners can expose sensitive data. It works best alongside other controls such as role-based access and auditing.
Where is DAC used?
DAC is used in Windows, Unix and Linux file systems, cloud file sharing, databases, and many applications. It is the default model most people meet when they share a file or folder.
What is a DACL?
A discretionary access control list (DACL) is the list attached to a Windows object that names which users or groups are allowed or denied access. Each entry in the list is called an access control entry (ACE).
Can a DAC user give away their access?
Yes, that is one of the defining features in the NIST definition. A subject granted access can often pass information or privileges to others, grant privileges, or change security attributes, unless mandatory controls restrict that ability.
Sources
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against the NIST CSRC glossary definition of DAC, NIST SP 800-192, and Microsoft Learn documentation on access control lists.
How we write and fact-check →