Protection and access control: keep resources in bounds

See the hardware refuse a write to kernel memory, then follow a file request through a list kept on the file and a token held by the user. OS foundations, architecture and protection · Operating systems.

Two programs use the same address and never see each other's data, and a write into kernel memory fails. Then the kernel lets one user read a file and refuses to let him write it. Follow both checks and see why they are different.

What you will learn

  • Trace one virtual address to different memory in two processes and say why a forbidden access changes nothing
  • Separate authentication from authorization
  • Compare a list kept on a file with a token held by a user

Lesson outline

  1. Hardware checks each access
  2. Who is asking, and may they
  3. Two homes for a permission
  4. Revoking one copy
  5. Granting only what is needed

16 minutes · 4 scenes · 0 predict checks · 9 quiz questions

The full lesson is available with Premium.