3 ms·
The actual difference between Discretionary and Mandatory Access Control: in DAC, a user who owns a file can decide who has access to it (by their discretion).
by immibis 2y ago
The actual difference between Discretionary and Mandatory Access Control: in DAC, a user who owns a file can decide who has access to it (by their discretion). In MAC, the security policy comes from above (by a mandate). A MAC system can have a policy saying that users in the engineering group can't read files created by the accounting group, and there's nothing the users involved can do about it (besides trying to relay through someone they can both communicate with). In DAC the accountant could add the engineer to the file permissions if they want to.
Users are fundamentally trusted in DAC and untrusted in MAC. Microsoft's implementation of MAC even provides a facility to log operations that are denied by policy, so the user who attempts to violate the policy can be punished. Additionally, it doesn't allow users to see the policy (unless explicitly granted that permission).