Security & Protection
Security & Protection
GTU # 3140702
Unit-8
Security and
Protection
Outline
Looping
• Design Principles of Security
• Domain Protection Mechanism
• Access Metrics Mechanism
• Access Control List
• Trojan Horse, Trap Door, Virus and Warms program threats
Section - 1
Design Principles of Security
Principles of least privileges:
This principle states how the privileges are to be granted to a subject.
A subject should be given only those privileges that it requires for completing a task.
For example, if a subject requires append rights to an object then it must be given only the append rights and
not the write rights.
Principles of fail safe defaults:
This principle states that unless the subject is given explicit access to the object it should be denied access
to that object.
This means that the default access to object is none.
All the access rights should be given explicitly granted.
Principle of economy of mechanisms:
This principle states that security mechanism should be as simple as possible.
If design is simple there are fewer chances for errors.
The checking and testing procedure becomes simpler.
Object Operations
CPU Execution
File Read, Write
Semaphore Up, Down
Tape Drive Read, Write, Rewound
A domain is defined as a set of < object, {access right set} > pairs.
Note that some domains may be disjoint while others overlap.
The association between a process and a domain may be static i.e. fixed set of resources
available to a process throughout its life time or dynamic.
Each cell of matrix represents set of access rights which are given to the processes of domain
means each entry(i, j) defines the set of operations that a process executing in domain Di can
invoke on object Oj.
Thank
You