Discretionary access control (DAC) is the access control model in which the owner of a resource decides who may use it, and can pass that right on to someone else. If you have ever created a document and then shared it with a colleague, you have used it. The decision the system makes is simple: it reads the identity of the person asking and checks it against the owner’s list.
That simplicity is why DAC is everywhere, from the file permissions on everyday operating systems to shared folders and document-sharing tools. It is also why DAC has two well-known weaknesses: a program that a user runs usually holds all of that user’s rights, Trojan horses included, and access that owners share tends to spread and rarely gets taken back.
DAC is one of the authorization mechanisms the ISC2 exam outline lists for CISSP Domain 5, Identity and Access Management, under objective 5.4, “Implement and manage authorization mechanisms”. This guide follows one request through a DAC decision, shows what the system reads and what it ignores, and compares DAC with its nearest neighbour, mandatory access control. For a short definition, see the glossary entry for discretionary access control.
What is discretionary access control?
Every access control model answers the same question once a person has signed in: authentication has proved who they are, so now, what may they do? The vocabulary is worth fixing first. The person or program asking is the subject, what they want to do is the action, and the thing they want is the object, such as a file, a record or a system.
Under DAC, the object’s owner sets the rule. The classic definition comes from the US Department of Defense’s Trusted Computer System Evaluation Criteria (TCSEC, DoD 5200.28-STD, 1985). It describes DAC as restricting access to objects based on the identity of subjects or the groups they belong to, and calls it discretionary because a subject with a permission can pass that permission on to another subject.
Two properties follow from that definition:
- The owner decides. The owner, usually the person responsible for the file and often its creator, chooses who gets in and what they may do. No central authority approves each grant.
- The right can travel. A subject with the right permission can share access further. The owner can add a colleague, and in many systems a person with sufficient rights can grant access onwards.
A useful way to hold every access control model in your head is to ask two questions: who sets the rule, and what does the system read when it decides? For DAC the answers are the owner, and the owner’s list.
One request under DAC
Take one request in a sample company, Harbourline Insurance (a fictitious organisation, used throughout this series). Asha Mehta, a payroll analyst, asks to read the payroll report, payroll-Q3.xlsx, at 10:15 on a Tuesday, from a managed laptop, in the office. The file belongs to Nina Okafor, the finance manager responsible for it.
Nina keeps an access control list (ACL) on the file: a list attached to the object that names who may do what.
Entry on payroll-Q3.xlsx | Rights |
|---|---|
| Nina Okafor | read, write, share |
| Asha Mehta | read |
When Asha asks, the system reads three things: her identity, the action (read) and the list on the file. Her name is on the list with read, so she is allowed.
What the system does not read matters just as much. The time, the device and the place are part of the request, but a DAC decision does not look at any of them. Asha would be allowed at 02:40 from an unmanaged device in a country she has never signed in from, because nothing in the list mentions time, device or place. That is not a fault in this particular list; it is the shape of the model. Models that do read the context, such as attribute-based access control and risk-based access control, exist partly for that reason.
Passing the right on
Now Nina shares the file with Daniel Smith, an IT support contractor, so that he can fix the spreadsheet. She does not need anyone’s approval, because she owns the file. The list gains a new entry, Daniel Smith: read. At 11:05 Daniel asks to read the report, his name is on the list, and he is allowed.
This is the defining moment of DAC. The owner grants access and can hand that right on, and the decision follows the owner’s choice. An access control list is the usual mechanism, but the list does not define the model: who decides does.
ACLs and capability lists
DAC can be carried by either of two structures, and the difference between them is a common point of confusion:
- An access control list is attached to the object and lists the subjects that may use it and how.
- A capability list is attached to the subject and lists the objects it may use and how.
Both are views of the same access control matrix: read down a column for an object’s ACL, or along a row for a subject’s capabilities. The glossary entry on the capability table covers the subject-side view. The point to keep is that the ACL is the one attached to the object, and that neither structure changes who sets the rule.
Where DAC is used
DAC is the default model in most commercial computing, because it matches how people work: whoever creates something decides who else may see it.
- File permissions on everyday operating systems, where the owner of a file sets read, write and execute permissions, in classic owner, group and other form or as a full ACL.
- Shared folders and file shares, where the folder’s owner grants access to colleagues or groups.
- Document-sharing and collaboration tools, where a “share” button lets the owner invite anyone.
- Databases, where the owner of a table can grant privileges on it to other users, and often grant the right to grant.
In each of these, the organisation relies on owners to make sensible choices. That reliance is what the two weaknesses below exploit.
The weaknesses of DAC
The Trojan horse
Suppose Asha installs a spreadsheet add-in that looks useful, without knowing that it is a Trojan horse: a program that appears helpful but carries a hidden action. The add-in runs with Asha’s rights. When it asks to read the payroll report, the system checks the list, finds Asha’s entry, and allows it. The list cannot distinguish a program from the person who started it.
The 1987 National Computer Security Center guide to discretionary access control in trusted systems (NCSC-TG-003) describes exactly this weakness: most DAC mechanisms cannot stop a program running with a user’s rights from using those rights against the user’s intent. A Trojan horse that can read the payroll report can also copy it somewhere else, or, if Asha could share it, share it. This is why the classic summary runs: under DAC, whatever runs with the user’s rights holds them too.
Drift and over-sharing
The second weakness is slower. Owners share widely, because sharing is easy, and they rarely remove access once the need has passed. Daniel fixed the spreadsheet weeks ago and is still on the list. Multiply that by every owner and every file, and the organisation loses its central view of who can read what.
This drift is closely related to privilege creep, and the usual remedy is the same: periodic access reviews in which owners confirm who still needs access, backed by least privilege and need to know as the standard each grant is measured against. DAC can be run well, but only with that discipline around it.
The trap in the name
“Discretionary” refers to the owner’s discretion: the owner chooses. It does not mean the control is careless, optional or weak by design. A candidate who reads “discretionary” as “loose” is likely to pick the wrong option in a scenario where DAC is in fact the correct description of a perfectly deliberate setup.
DAC vs MAC
DAC’s nearest neighbour is mandatory access control, and the single difference that decides most questions between them is who sets the rule.
| Discretionary access control (DAC) | Mandatory access control (MAC) | |
|---|---|---|
| Who sets the rule | The owner of the object | A central authority |
| What the decision reads | The subject’s identity against the owner’s list | The object’s label against the subject’s clearance |
| Can the owner override? | Yes: the owner is the authority for that file | No: the owner cannot override the outcome |
| Can access be passed on? | Yes, at the owner’s discretion | No, access follows the label and clearance |
| Typical setting | Commercial operating systems, file shares, collaboration | Government and military classification schemes, high-assurance systems |
| Main weakness | Trojan horses and drift | Rigid and costly to administer |
Run the same request under MAC. A central authority has labelled the payroll report Confidential and given Asha a Confidential clearance; the system compares the label with the clearance and allows her. When Nina shares the file with Daniel, nothing changes: Daniel’s clearance is Internal, below the file’s label, and he is refused. Ownership gives Nina no power to override the comparison. The confidentiality rules behind MAC are covered in depth in the Bell-LaPadula model guide.
Some study sources group every model in which the owner does not decide, such as MAC, role-based and rule-based control, under the umbrella of non-discretionary access control. Others use that term mainly for role-based control. Either way, the dividing line is the same one: whether the owner sets the rule.
How a CISSP scenario may test DAC
Questions on access control models tend to hide the answer in the stem, in a phrase about who decides or what the system checks. Patterns worth recognising:
- The owner shares the file, or access is “set by the data owner”. That points towards DAC.
- Each file has its own list of users and permissions. An access control list on each object is the usual sign of DAC.
- A user runs a malicious program that reads or leaks data the user could access. A scenario like this is likely to be testing the Trojan horse weakness of DAC, and the better answer usually involves a model or control that does not rely on the user’s rights alone.
- Nobody can say who has access to a set of files after years of sharing. That is drift, and the expected response is likely to be an access review and a move towards centrally managed access.
- A classification is compared with a clearance, and the owner cannot change the outcome. That is MAC, not DAC, however much ownership is mentioned.
Asking the two questions separates the options quickly: who sets the rule, and what does the system read when it decides? If the answers are the owner and the owner’s list, the model is DAC.
Conclusion
Discretionary access control puts the owner in charge. The owner decides who gets in, can pass that right on, and the system checks the subject’s identity against the owner’s list without looking at the time, the device or the place. That makes DAC flexible and familiar, and it gives it two weaknesses to remember: a Trojan horse running as the user holds the user’s rights, and access that owners share tends to drift beyond anyone’s central view.
Ready to test that under exam conditions? Our LSM CISSP practice tests are built around scenario questions like these: telling the access control models apart from a single phrase in the stem, and choosing the control that fits the organisation, with full explanations for every answer.
Quick reference for the CISSP exam
Discretionary access control lets the owner of an object decide who may access it and pass that right on. The decision reads the subject’s identity against the owner’s list.
DAC defined
- Who sets the rule: the owner of the object.
- What the decision reads: the subject’s identity (or group) against the owner’s list.
- What it does not read: the time, the device or the place.
- Usual mechanism: an access control list attached to the object.
- Classic source: TCSEC (DoD 5200.28-STD, 1985).
The DAC vs MAC discriminator
- DAC: the owner decides and can override.
- MAC: a central authority sets labels and clearances, and the owner cannot override.
The traps
- “Discretionary” means the owner’s choice, not a careless or optional control.
- A program that runs as the user, such as a Trojan horse, usually holds all of the user’s rights.
- Owners over-share and rarely revoke, so access drifts without reviews.
- The ACL is the usual mechanism, but who decides is what defines the model.