




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
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等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 膝關(guān)節(jié)置換術(shù)后護(hù)理問題
- 心腦血管疾病防治知識(shí)
- 特教學(xué)生心理健康教育
- 生理心理健康教育主題班會(huì)
- 器械制造業(yè)公司設(shè)計(jì)展示
- DB32/T 4624-2023醫(yī)療機(jī)構(gòu)中成藥臨床應(yīng)用評(píng)價(jià)與品種遴選技術(shù)規(guī)范
- 2025年元旦安全教育班會(huì)
- 如何設(shè)計(jì)一套高效工作流程
- 逆反心理健康教育
- 建筑燈光設(shè)計(jì)方案
- 2025年福建省福州市中考數(shù)學(xué)二檢試卷
- 藥房駐店藥師合同協(xié)議
- 2025年高考政治搶押秘籍(江蘇專用)時(shí)政熱點(diǎn)03發(fā)展民營(yíng)經(jīng)濟(jì)-(江蘇專用)(學(xué)生版+解析)
- 2025屆四川省成都市高三畢業(yè)班第三次診斷性考試英語試卷讀后續(xù)寫-笛子失而復(fù)得的故事+講義
- 安川機(jī)器人手動(dòng)操縱及編程基礎(chǔ)
- 智慧礦山無人機(jī)自動(dòng)巡檢解決方案
- 2025年浙江省杭州市西湖區(qū)中考數(shù)學(xué)一模試卷
- 2025年中國(guó)ARM云手機(jī)行業(yè)市場(chǎng)運(yùn)行格局及投資前景預(yù)測(cè)分析報(bào)告
- 湖北省武漢市2025屆高中畢業(yè)生四月調(diào)研考試政治試題及答案(武漢四調(diào))
- 行政案例分析-終結(jié)性考核-國(guó)開(SC)-參考資料
- 2024年四川省綿陽市中考英語試題卷(標(biāo)準(zhǔn)含答案)
評(píng)論
0/150
提交評(píng)論