Bitzu

CC ยท Logical access control

Discretionary access control (DAC)

Owner-controlled permissions, ACLs and the strengths and risks of DAC.

Key points

  • In DAC the owner of an object decides who may access it, usually through an access control list or permission bits.
  • It is flexible and easy to share, but users can pass on access, mistakes spread, and malware running as the user can change permissions.

Source: https://www.gnu.org/software/coreutils/manual/html_node/chmod-invocation.html

Practice questions

Single choice

In a discretionary access control model, who decides who can access a file?

  1. A central security officer through labels
  2. The owner of the file
  3. The operating system alone, ignoring owners
  4. The user's job title automatically
Show answer

Answer: B. The owner of the file

DAC is owner-controlled. Central labels describe MAC and job titles describe RBAC.

Select all that apply

Which statements describe discretionary access control?

  1. Owners can grant permissions to other users
  2. Access is controlled with ACLs or permission bits on objects
  3. Users cannot change who can read their own files
  4. It is very flexible for collaboration
  5. Access depends only on a classification label set by policy
Show answer

Answer: A. Owners can grant permissions to other users, B. Access is controlled with ACLs or permission bits on objects, D. It is very flexible for collaboration

Owner-granted rights, ACLs or permission bits and flexibility are DAC traits. Fixed owner-proof labels belong to MAC.

True or false

True or false: under DAC, a user cannot change permissions on a file they own because only administrators control permissions.

Show answer

Answer: False

Changing permissions on their own objects is exactly what DAC lets owners do. Admin-only control is typical of MAC.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More CC topics in this module