Protection, Pt. 1 Flashcards

1
Q

Principle of Least Privilege

A

Programs, users, and systems should be given just enough privileges to perform their tasks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Need to Know Principle

A

At any time, a process should be able to access only those resources that it currently requires to complete its task

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Policies vs. Mechanisms

A
  • Policies decide what should be done

- Mechanisms decide how it should be done

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

A process operates within a…

A

…protection domain

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Access Rights

A

Object name, rights set (subset of all valid operations that can be performed on object)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Static Association

A
  • Process remains in its domain forever

- Difficult to maintain Need to Know Principle

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Dynamic Association

A

Processes can switch from one domain to another to access objects or perform needed operations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What can be a Domain?

A
  • Each user is a domain (domain switching is switching the user)
  • Each process is a domain (domain switching is message passing between processes)
  • Each procedure is a domain (domain switching is procedure calls)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Access Matrix

A
  • Rows represent domains, columns represent objects

- Entry(i,j) defines the set of operations that a process in domain i can invoke on object j

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Domain Switching in a Matrix

A
  • Consider domains as objects (add them to access matrix)

- Write switches on these domains

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Dynamic Protection with a Matrix

A

Change entries of the access matrix dynamically (need to add/remove/copy access rights)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Special Access Rights

A
  • Copy (can copy the access right R within the same column, denoted as R*)
  • Owner (can add/remove access rights to object i in column j)
  • Control (can add/remove access rights to domain i in row j
How well did you know this?
1
Not at all
2
3
4
5
Perfectly