ACCS-2Lesson 2 of 410 min

Least privilege and separation of duties

Two principles shape almost every access-control design. Both limit how much harm one person, or one stolen account, can do.

Least privilege

Figure ACCS-2.1Before and after least privilege
Table
AccountRead all recordsEdit recordsChange settingsAdd users
Clerk✓✓✓✓
Teacher✓✓✓✓
Intern✓✓✓✓
IT admin✓✓✓✓
1/5

A small college office set up its records system quickly: every account can do everything. It works, until something goes wrong.

Step 1 of 5

Separation of duties

Separation of duties protects against both fraud and honest mistakes, because a second person sees the work. It is the same idea as a bank locker that needs two keys, one held by you and one by the bank. Its cost is speed: tasks need two people. Organisations choose which tasks are sensitive enough to deserve it.

Lab: the access matrix

Lab ACCS-L1Set up the fees office

Tick only what each role’s job needs. Read each job carefully: the jobs decide the answer.

  • Student: checks their own fee record
  • Accounts clerk: looks up any student's fees and records payments at the counter
  • Accounts manager: looks up any student's fees and approves refunds, but must not record payments
  • Auditor: checks the records and the change log each month, and changes nothing
Permissions for each role
RoleSee own fee recordSee all fee recordsRecord a paymentApprove a refundRead the change log
Student
Accounts clerk
Accounts manager
Auditor

ACCS-2 counts as completed once you step through the figure to its last step.