Protection and Security Flashcards
The OS manages a collection of ________ and _______
hardware, software
Hardware-wise, the OS manages…
CPU, memory segments, disks, printer, etc
Software-wise, the OS manages…
files, semaphores, etc
Each object the OS manages can be accessed through a set of ________
operations
The OS needs to ensure each object is accessed _________ and only by those with the proper __________
correctly, permissions
What is the Least Privilege Principle?
Programs, users and systems should be given just enough privileges to perform their tasks
What is the Need to Know Principle?
At any time, a process should be able to access only those resources that it currently requires to complete its task
______ decide what will be done
policies
Mechanisms determine _____ something will be done
how
A domain in this context refers to a set of _____ ______
access rights
A process operates within a ________ _______
protection domain
A right-set is a subset of all the ______ ________ that can be performed on the object
valid operations
Processes can switch from one ______ to another to access objects or perform needed operations
domain
In static association, processes remains in their domains ________
forever
Which principle is difficult to maintain using static association?
Need-to-know principle
In dynamic association, processes can switch ______
domains
What are the 3 levels of domains?
- User
- Process
- Procedure
In user domains, access depends on _______ and domain switching is the same as user ________
userID, switching
In process domains, access depends on _______ and domain switching is the same as ______ ________
processID, message passing
In procedure domains, access depends on _______ _________ and domain switching is the same as _______ calls
local variables, procedure
We can view protection as an _______ matrix
access
In an access matrix, rows represent _______ and coloumns represent ________
domains, objects