




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
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. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 人教版八年級數(shù)學(xué)下冊 第十八章 平行四邊形 章節(jié)測試卷 (含答案)
- 深入理解特許金融分析師考試的內(nèi)容試題及答案
- 農(nóng)產(chǎn)品批發(fā)市場供應(yīng)合同協(xié)議書模板
- 短期用地買賣協(xié)議
- 項目管理溝通能力測試試題及答案
- 證券市場法規(guī)概述考試試題及答案
- 全新視角下的項目管理考試復(fù)習(xí)試題及答案
- 證券從業(yè)資格證復(fù)習(xí)資源試題及答案
- 注冊會計師考試材料準(zhǔn)備與管理試題及答案
- 增強(qiáng)領(lǐng)導(dǎo)力的個人發(fā)展計劃
- 基于模型預(yù)測控制的無人駕駛車輛軌跡跟蹤控制算法研究共3篇
- JJG 644-2003振動位移傳感器
- 綜合工業(yè)廢水處理PACT工藝
- GA/T 16.31-2017道路交通管理信息代碼第31部分:交通違法行為類別代碼
- 課程《種子經(jīng)營管理學(xué)》電子課件(全)
- 《氣候數(shù)值模擬》全套教學(xué)課件
- 顏色標(biāo)準(zhǔn)LAB值對照表
- 金壇區(qū)蘇科版二年級上冊勞動《06樹葉書簽》課件
- 北斗衛(wèi)星導(dǎo)航理論與應(yīng)用課件(完整版)
- 信號基礎(chǔ)信號—聯(lián)鎖系統(tǒng)
- 2020最新八年級下冊《道德與法治》知識點總結(jié)(最全版)
評論
0/150
提交評論