分析教案成果ch_第1页
分析教案成果ch_第2页
分析教案成果ch_第3页
分析教案成果ch_第4页
分析教案成果ch_第5页
已阅读5页,还剩20页未读 继续免费阅读

付费下载

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、14.2Silberschatz, Galvin and Gagne 2005Operating System Concepts 7th Edition, Apr 11, 2005nGoals of Protection nPrinciples of ProtectionnDomain of Protection nAccess Matrix nImplementation of Access Matrix nAccess ControlnRevocation of Access Rights nCapability-Based Systems nLanguage-Based Protecti

2、on14.3Silberschatz, Galvin and Gagne 2005Operating System Concepts 7th Edition, Apr 11, 2005nDiscuss the goals and principles of protection in a modern computer systemnExplain how protection domains combined with an access matrix are used to specify the resources a process may accessnExamine capabil

3、ity and language-based protection systems14.4Silberschatz, Galvin and Gagne 2005Operating System Concepts 7th Edition, Apr 11, 2005nOperating system consists of a collection of objects, hardware or softwarenEach object has a unique name and can be accessed through a well-defined set of operations.nP

4、rotection problem - ensure that each object is accessed correctly and only by those processes that are allowed to do so.14.5Silberschatz, Galvin and Gagne 2005Operating System Concepts 7th Edition, Apr 11, 2005nGuiding principle principle of least privilegelPrograms, users and systems should be give

5、n just enough privileges to perform their tasks14.6Silberschatz, Galvin and Gagne 2005Operating System Concepts 7th Edition, Apr 11, 2005nAccess-right = where rights-set is a subset of all valid operations that can be performed on the object. nDomain = set of access-rights 14.7Silberschatz, Galvin a

6、nd Gagne 2005Operating System Concepts 7th Edition, Apr 11, 2005nSystem consists of 2 domains:lUserlSupervisornUNIX lDomain = user-idlDomain switch accomplished via file system. 4Each file has associated with it a domain bit (setuid bit).4When file is executed and setuid = on, then user-id is set to

7、 owner of the file being executed. When execution completes user-id is reset. 14.8Silberschatz, Galvin and Gagne 2005Operating System Concepts 7th Edition, Apr 11, 2005nLet Di and Dj be any two domain rings.nIf j I Di Dj14.9Silberschatz, Galvin and Gagne 2005Operating System Concepts 7th Edition, Ap

8、r 11, 2005nView protection as a matrix (access matrix)nRows represent domainsnColumns represent objectsnAccess(i, j) is the set of operations that a process executing in Domaini can invoke on Objectj14.10Silberschatz, Galvin and Gagne 2005Operating System Concepts 7th Edition, Apr 11, 200514.11Silbe

9、rschatz, Galvin and Gagne 2005Operating System Concepts 7th Edition, Apr 11, 2005nIf a process in Domain Di tries to do “op” on object Oj, then “op” must be in the access matrix.nCan be expanded to dynamic protection.lOperations to add, delete access rights.lSpecial access rights:4owner of Oi4copy o

10、p from Oi to Oj4control Di can modify Dj access rights4transfer switch from domain Di to Dj14.12Silberschatz, Galvin and Gagne 2005Operating System Concepts 7th Edition, Apr 11, 2005nAccess matrix design separates mechanism from policy.lMechanism 4Operating system provides access-matrix + rules.4If

11、ensures that the matrix is only manipulated by authorized agents and that rules are strictly enforced.lPolicy4User dictates policy.4Who can access what object and in what mode.14.13Silberschatz, Galvin and Gagne 2005Operating System Concepts 7th Edition, Apr 11, 2005nEach column = Access-control lis

12、t for one object Defines who can perform what operation.Domain 1 = Read, WriteDomain 2 = ReadDomain 3 = Read nEach Row = Capability List (like a key)Fore each domain, what operations allowed on what objects.Object 1 ReadObject 4 Read, Write, ExecuteObject 5 Read, Write, Delete, Copy14.14Silberschatz

13、, Galvin and Gagne 2005Operating System Concepts 7th Edition, Apr 11, 2005Figure B14.15Silberschatz, Galvin and Gagne 2005Operating System Concepts 7th Edition, Apr 11, 200514.16Silberschatz, Galvin and Gagne 2005Operating System Concepts 7th Edition, Apr 11, 200514.17Silberschatz, Galvin and Gagne

14、2005Operating System Concepts 7th Edition, Apr 11, 200514.18Silberschatz, Galvin and Gagne 2005Operating System Concepts 7th Edition, Apr 11, 2005nProtection can be applied to non-file resourcesnSolaris 10 provides role-based access control to implement least privilegelPrivilege is right to execute

15、system call or use an option within a system calllCan be assigned to processeslUsers assigned roles granting access to privileges and programs14.19Silberschatz, Galvin and Gagne 2005Operating System Concepts 7th Edition, Apr 11, 200514.20Silberschatz, Galvin and Gagne 2005Operating System Concepts 7

16、th Edition, Apr 11, 2005nAccess List Delete access rights from access list.lSimple lImmediatenCapability List Scheme required to locate capability in the system before capability can be revoked.lReacquisitionlBack-pointerslIndirectionlKeys14.21Silberschatz, Galvin and Gagne 2005Operating System Conc

17、epts 7th Edition, Apr 11, 2005nHydralFixed set of access rights known to and interpreted by the system.lInterpretation of user-defined rights performed solely by users program; system provides access protection for use of these rights.nCambridge CAP System lData capability - provides standard read,

18、write, execute of individual storage segments associated with object.lSoftware capability -interpretation left to the subsystem, through its protected procedures. 14.22Silberschatz, Galvin and Gagne 2005Operating System Concepts 7th Edition, Apr 11, 2005nSpecification of protection in a programming language allows the high-level description of policies for the allocation and use of resources.nLanguage implementation can provide software for protection enforcement when automatic hardware-supported checking is unavailable.nInterpret protection specifications to generate

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论