Protection domains
Domains, rings and switching, interactively.
Module 5
Session 5.4
Lesson 1 of 2
Protection: Domains and Access Control
Protection is the mechanism: who may do what to which object. The access matrix can be stored as ACLs or capabilities.
UNIX files are a compressed ACL
owner / group / other × rwx. A process has a uid and gids. setuid runs a program in the file owner’s domain — powerful and historically a bug farm.
Capabilities store the matrix by row (what this domain can do). ACLs store it by column (who can touch this object). Real systems mix both.