What DAC is
Discretionary access control (DAC) is a model in which the owner of a file, folder or other resource decides who can use it and how. The owner grants rights such as read, change or delete, and in most systems can pass those rights on to others. The word discretionary means that the decision is left to the owner rather than fixed by a central policy. DAC is one of the basic tools of data security.
Desktop operating systems and shared folders use this model by default, because the person who creates data usually knows best who needs it. The weakness is that protection depends on each owner's choice, and it does not follow a copy of the file once the copy leaves the original location. Knowing how sensitive a file is, as set out in data classification, helps an owner decide, but the model itself does not require it.
How DAC works
Every resource has an owner and an access list. When a user tries to open or change the resource, the system compares the request with that list and allows or denies access.
- 1
Assign the owner
The system records who created the resource or who was given it. That person becomes the owner.
- 2
Set the permissions
The owner adds users or groups to the access list and chooses what each may do, such as read, write or delete.
- 3
Check each request
When someone asks for access, the system looks up the entry for that user and for any group they belong to.
- 4
Allow or deny
Access is granted only if a matching entry allows the action. Otherwise the request is refused and can be logged.
Where DAC is used
The model appears in several environments, and the owner's role is described differently in each. The table shows three common cases.
| Environment | Who sets the rights | Typical rights |
|---|---|---|
| File systems on workstations and servers | The owner of the file or folder | Read, write and execute, per user or group |
| Shared folders in the cloud | The owner of the document | Viewer, commenter or editor role, per person |
| Relational databases | The object owner or an administrator | Select, insert and update, per account |
Where DAC falls short
Owner choice is flexible, which is both its strength and its weakness. The same freedom creates four recurring problems:
DAC on its own cannot tell a normal task from misuse, so it is usually combined with monitoring and regular review of access.
- Owners grant more access than the job needs, often to save time close to a deadline
- A person who received access can pass the file on, so the original owner loses track of who holds it
- Copies on USB drives, in personal email or in cloud storage usually do not keep the original rights, and this is how a data leak often starts
- When a role changes or an employee leaves, the old rights stay in place, which gives an insider threat a legitimate path to the data
DAC compared with MAC and RBAC
DAC is easiest to understand next to two other models. Mandatory access control (MAC) lets a central policy decide, even against the owner. Role-based access control (RBAC) gives rights to job roles that an administrator defines.
| Question | DAC | MAC | RBAC |
|---|---|---|---|
| Can the owner grant access? | |||
| Is the decision set by a central policy or an administrator? | |||
| Do the rights follow a job role? |
Where to start
If you are choosing controls for shared data, start with the habits of the owners, not with the tool. Check who can reach the most sensitive folders, remove access that nobody uses, and set a clear rule for passing access on to others.
Owner-set rights work best with regular review and with insider risk management, which connects access with what people actually do with the data.
Rights answer the question of who may open a file. They do not say why, and that is what a review has to check.
