存取矩阵的设计使得机制与策略相分离.ppt

存取矩阵的设计使得机制与策略相分离.ppt

  1. 1、本文档共22页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
存取矩阵的设计使得机制与策略相分离

Chapter 18: Protection 第十八章保护 概述 保护是一种控制机制, 该机制通过限制用户的文件访问类型许可提供受控制访问。 保护必须确保只有那些从操作系统获得了恰当授权的进程才可以操作内存段、处理器和其它资源。 安全要确保系统用户的验证,以保护系统的物理资源和系统存储的住处的整体性。 Chapter 18: Protection 第十八章保护 Goals of Protection Domain of Protection Access Matrix Implementation of Access Matrix Revocation of Access Rights Capability-Based Systems Language-Based Protection Protection A computer system is a collection of processes and objects. By objects, we mean both hardware objects and software objects. Each object has a unique name and can be accessed through a well-defined set of operations. Protection problem - ensure that each object is accessed correctly and only by those processes that are allowed to do so. Domain Structure Access-right = object-name, rights-set where rights-set is a subset of all valid operations that can be performed on the object. Domain = set of access-rights Domain Implementation 一个域可以通过以下几种不同的途径来实现。 每个用户一个域。 每个进程一个域。 每个过程一个域。 域切换 仅有标准双模式(监控-用户模式)不够的 Domain Implementation (UNIX) System consists of 2 domains:双模式 User Supervisor UNIX Domain = user-id 域和用户相关联。域切换会配合用户身份的临时切换。 Domain switch accomplished via file system. Each file has associated with it a domain bit (setuid bit). When file is executed and setuid = on, then user-id is set to owner of the file being executed. When execution completes user-id is reset. Domain Implementation (Multics) Let Di and Dj be any two domain rings. If j I ? Di ? Dj Access Matrix View protection as a matrix (access matrix) Rows represent domains Columns represent objects Access(i, j) is the set of operations that a process executing in Domaini can invoke on Objectj Access Matrix Use of Access Matrix If a process in Domain Di tries to do “op” on object Oj, then “op” must be in the access matrix. Can be expanded to dynamic protection. Operations to add, delete access rights. Special access rights: owner of Oi copy op from Oi to Oj control – Di can modify Dj access rights transfer – switch from domain Di to Dj

文档评论(0)

zhaoxiaoj + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档