Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1012 Bytes

mit-6858-lec-4-privilege-separation.md

File metadata and controls

26 lines (19 loc) · 1012 Bytes

Lecture 4: Privilege Separation

From MIT 6.858

Lecture Link

Written lecture notes

Privilege separation is employed in...

  • OKWS - OkCupid's web server
  • Google Chrome
  • SSH daemon
  • UNIX

Background: protection in UNIX

  • Principals are entities that want access to objects
  • In UNIX, typical principals are user IDs and group IDs (32 bit integers)
  • Every process has a user ID (uid) and a list of group IDs (gid + grouplist)
  • Superuser principal (root) has a uid of 0
  • In what operations does UNIX enforce access control?
    • Files, directories
      • File operations: read, write, execute, change perms
      • Directory operations: lookup, create, remove, rename, change perms

... (incomplete)