PROTECTION IN OS
Protection in an operating system (OS) refers to mechanisms for controlling access to resources (such as memory, files, and CPU time) to ensure that only authorized processes or users can access them. This is crucial for maintaining system stability, security, and integrity.
Protection Domain:
Access Control:
Principle of Least Privilege:
Need of Protection in OS
Security risks, such as unauthorized reading, writing, modification, or interference with system functionality for authorized users, pose significant threats. Ensuring data security, process security, and program security against unauthorized user or program access is essential. It is crucial to prevent breaches of access rights, protect against viruses, and block unauthorized access to existing data. The primary goal is to ensure that only authorized policies, programs, resources, and data are accessed according to the system's policies.
Roles:
- Administrator: full access to all resources
- Editor: read and write access to documents
- Viewer: read-only access to documents
User Assignments:
- Alice: Administrator
- Bob: Editor
- Carol: Viewer