版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、Chapter 14: Protection,Chapter 14: Protection,Goals of Protection Principles of Protection Domain of Protection Access Matrix Implementation of Access Matrix Access Control Revocation of Access Rights Capability-Based Systems Language-Based Protection,Objectives,Discuss the goals and principles of p
2、rotection in a modern computer system Explain how protection domains combined with an access matrix are used to specify the resources a process may access Examine capability and language-based protection systems,Goals of Protection,Operating system consists of a collection of objects, hardware or so
3、ftware 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.,Principles of Protection,Guiding principle principle of least privilege Program
4、s, users and systems should be given just enough privileges to perform their tasks,Domain Structure,Access-right = where rights-set is a subset of all valid operations that can be performed on the object. Domain = set of access-rights,Domain Implementation (UNIX),System consists of 2 domains: User S
5、upervisor 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 (MU
6、LTICS),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
7、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
8、 to Dj,Use of Access Matrix (Cont.),Access matrix design separates mechanism from policy. Mechanism Operating system provides access-matrix + rules. If ensures that the matrix is only manipulated by authorized agents and that rules are strictly enforced. Policy User dictates policy. Who can access w
9、hat object and in what mode.,Implementation of Access Matrix,Each column = Access-control list for one object Defines who can perform what operation.Domain 1 = Read, WriteDomain 2 = ReadDomain 3 = Read Each Row = Capability List (like a key)Fore each domain, what operations allowed on what objects.
10、Object 1 Read Object 4 Read, Write, Execute Object 5 Read, Write, Delete, Copy,Access Matrix of Figure A With Domains as Objects,Figure B,Access Matrix with Copy Rights,Access Matrix With Owner Rights,Modified Access Matrix of Figure B,Access Control,Protection can be applied to non-file resources S
11、olaris 10 provides role-based access control to implement least privilege Privilege is right to execute system call or use an option within a system call Can be assigned to processes Users assigned roles granting access to privileges and programs,Role-based Access Control in Solaris 10,Revocation of
12、 Access Rights,Access List Delete access rights from access list. Simple Immediate Capability List Scheme required to locate capability in the system before capability can be revoked. Reacquisition Back-pointers Indirection Keys,Capability-Based Systems,Hydra Fixed set of access rights known to and
13、interpreted by the system. Interpretation of user-defined rights performed solely by users program; system provides access protection for use of these rights. Cambridge CAP System Data capability - provides standard read, write, execute of individual storage segments associated with object. Software
14、 capability -interpretation left to the subsystem, through its protected procedures.,Language-Based Protection,Specification of protection in a programming language allows the high-level description of policies for the allocation and use of resources. Language implementation can provide software for
15、 protection enforcement when automatic hardware-supported checking is unavailable. Interpret protection specifications to generate calls on whatever protection system is provided by the hardware and the operating system.,Protection in Java 2,Protection is handled by the Java Virtual Machine (JVM) A class is assigned a protection domain when it is loaded by the JVM. The protection domain indic
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 深度解析(2026)《FZT 64001-2020机织黑炭衬》
- 深度解析(2026)《FZT 42001-2008柞蚕药水丝》
- 深度解析(2026)《FZT 12022-2019涤纶与粘纤混纺色纺纱线》
- 《JBT 8507-1996高频塑料热合机》专题研究报告
- 2026年高考物理复习(习题)第十三章第1讲 分子动理论 内能
- 2026年孝感市孝南区社区工作者招聘考试模拟试题及答案解析
- 自适应优化器改进
- 2026年淮北市杜集区城管协管招聘笔试备考题库及答案解析
- 胆囊癌病理学特点分析
- 河北大学版六年级全册第1阶段 选题计划教学设计
- 国家职业技术技能标准 4-10-04-02 保健按摩师 人社厅发202332号
- 《托育机构管理实务》高职学前教育专业全套教学课件
- 幼儿园教师园本培训内容
- 拼音拼读音节带声调完全版
- 装修知识培训课件
- 铁路发电车乘务员
- 星辰大海合唱简谱
- DB23-T 3625.2-2023 金属非金属矿山双重预防机制建设评定指南 第2部分:地下矿山
- 人民调解委员会开庭调解笔录
- 仲裁申请书与答辩书
- 推荐审计论文参考文献三例,参考文献
评论
0/150
提交评论