1. Trang chủ
  2. » Giáo án - Bài giảng

Chapter 14 Protection

25 397 0
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 25
Dung lượng 656,5 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

14.4 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 11, 2005Goals of Protection software well-defined set of operations.. 14.6 Silberschatz, Galvin an

Trang 1

Chapter 14: Protection

Trang 2

14.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 11, 2005

Trang 3

computer system

are used to specify the resources a process may access

Trang 4

14.4 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 11, 2005

Goals of Protection

software

well-defined set of operations

and only by those processes that are allowed to do so

Trang 5

Principles of Protection

privileges to perform their tasks

Trang 6

14.6 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 11, 2005

Domain Structure

where rights-set is a subset of all valid operations that can be

performed on the object

Trang 7

Domain Implementation (UNIX)

● User

owner of the file being executed When execution completes user-id is reset

Trang 8

14.8 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 11, 2005

Domain Implementation (MULTICS)

Trang 9

Access Matrix

Access(i, j) is the set of operations that a process executing in

Trang 10

14.10 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 11, 2005

Access Matrix

Trang 11

Use of Access Matrix

must be in the access matrix

owner of O i

copy op from O i to O j

control – D i can modify D j access rights

transfer – switch from domain D i to D j

Trang 12

14.12 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 11, 2005

Use of Access Matrix (Cont.)

agents and that rules are strictly enforced

Trang 13

Implementation of Access Matrix

Defines who can perform what operation

Domain 1 = Read, Write Domain 2 = Read

Domain 3 = Read 

Fore each domain, what operations allowed on what objects

Object 1 – Read Object 4 – Read, Write, Execute Object 5 – Read, Write, Delete, Copy

Trang 14

14.14 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 11, 2005

Access Matrix of Figure A With Domains as Objects

Figure B

Trang 15

Access Matrix with Copy Rights

Trang 16

14.16 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 11, 2005

Trang 17

Modified Access Matrix of Figure B

Trang 18

14.18 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 11, 2005

Access Control

privilege

a system call

programs

Trang 19

Role-based Access Control in Solaris 10

Trang 20

14.20 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 11, 2005

Revocation of Access Rights

Access List – Delete access rights from access list.

Capability List – Scheme required to locate capability in the system

before capability can be revoked

● Keys

Trang 21

Capability-Based Systems

system

program; system provides access protection for use of these rights

individual storage segments associated with object

through its protected procedures

Trang 22

14.22 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 11, 2005

Language-Based Protection

high-level description of policies for the allocation and use of resources

enforcement when automatic hardware-supported checking is unavailable

protection system is provided by the hardware and the operating system

Trang 23

Protection in Java 2

JVM

cannot) perform

the stack is inspected to ensure the operation can be performed by the library

Trang 24

14.24 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 11, 2005

Stack Inspection

Trang 25

End of Chapter 14

Ngày đăng: 13/05/2014, 00:36

TỪ KHÓA LIÊN QUAN