Docsity

Assignment 10 Practice Questions - Distributed Access Control | CSE 774, Assignments of Engineering

Toggle sidebar
bg1
Assignment 9 CIS/CSE 774 — Principles of Distributed Access Control
Reading
Read the new Chapter 5 of Access Control and Trust: A Logical Approach (ACTLA).
Logistics
This homework is officially due in class on Wednesday, November 12. However, it comes with
an automatic extension: anything submitted by noon on November 13 will be accepted as being
on time.
You may work singly or in pairs on this assignment: if you work with someone else, turn
in a single assignment with both names on it.
Exercises
1. Consider the description of vitual memory and memory segmentation from the text, in a
system where the size of physical memory is q.
(a) Suppose that the memory management unit (MMU) determines that the request
IR says hlda @100i
should be executed, in a situation where
RR says h(256,bound)i.
What are the constraints on the possible values of bound and q?
(b) When a trap occurs, the supervisor control program takes control of the virtual machine.
What values should be loaded into RR to provide the supervisor control program with
complete access to physical memory? What is the relation between (virtual) memory
addresses in the supervisor control program and physical memory addresses?
2. As presented in the text, the relocation register provides both read and write permission to
the virtual machine for all memory locations in the segment. Suppose we wish to operate with
a finer degree of access control and be able to specify that a virtual machine might have some
combination of read/write access to some segments and another combination of read/write
access to other segments.
One way to accomplish this task is to introduce two additional bits to the relocation register:
one bit (R) indicates whether read intructions are permitted, and the other bit (W) indicates
whether write instructions are permitted. For simplicity, let us representing the potential
values of Ras rand nr and the potential values of Was wand nw (for read,not read,write
and not write, respectively).
(a) Give a derivable inference rule that accurately describe the MMU’s response to a request
to perform the operation lda @a,with read permission for virtual address a.
(b) Give a derivable inference rule that accurately describe the MMU’s response to a request
to perform the operation lda @a,without read permission for virtual address a.
(c) Suppose we have an instruction clear @a, which clears the contents of virtual memory
address a. Provide derivable inference rules that define when clear @a should be
executed and when it should be trapped.
Fall 2008
pf2

Partial preview of the text

Download Assignment 10 Practice Questions - Distributed Access Control | CSE 774 and more Assignments Engineering in PDF only on Docsity!

Assignment 9 CIS/CSE 774 — Principles of Distributed Access Control

Reading

Read the new Chapter 5 of Access Control and Trust: A Logical Approach (ACTLA).

Logistics

This homework is officially due in class on Wednesday, November 12. However, it comes with an automatic extension: anything submitted by noon on November 13 will be accepted as being on time.

You may work singly or in pairs on this assignment: if you work with someone else, turn in a single assignment with both names on it.

Exercises

  1. Consider the description of vitual memory and memory segmentation from the text, in a system where the size of physical memory is q.

(a) Suppose that the memory management unit (MMU) determines that the request

IR says 〈lda @100〉 should be executed, in a situation where

RR says 〈(256,bound)〉. What are the constraints on the possible values of bound and q? (b) When a trap occurs, the supervisor control program takes control of the virtual machine. What values should be loaded into RR to provide the supervisor control program with complete access to physical memory? What is the relation between (virtual) memory addresses in the supervisor control program and physical memory addresses?

  1. As presented in the text, the relocation register provides both read and write permission to the virtual machine for all memory locations in the segment. Suppose we wish to operate with a finer degree of access control and be able to specify that a virtual machine might have some combination of read/write access to some segments and another combination of read/write access to other segments. One way to accomplish this task is to introduce two additional bits to the relocation register: one bit (R) indicates whether read intructions are permitted, and the other bit (W ) indicates whether write instructions are permitted. For simplicity, let us representing the potential values of R as r and nr and the potential values of W as w and nw (for read, not read, write and not write, respectively).

(a) Give a derivable inference rule that accurately describe the MMU’s response to a request to perform the operation lda @a, with read permission for virtual address a. (b) Give a derivable inference rule that accurately describe the MMU’s response to a request to perform the operation lda @a, without read permission for virtual address a. (c) Suppose we have an instruction clear @a, which clears the contents of virtual memory address a. Provide derivable inference rules that define when clear @a should be executed and when it should be trapped.

Fall 2008

Assignment 9 CIS/CSE 774 — Principles of Distributed Access Control

You do not need to provide proofs for your rules, but they should be derivable.

  1. Consider the military security example described in Section 5.4.3 of the text.

(a) Give the formulas that correspond to the read and write policy statements for the FX- design documents. (b) Suppose Kate is the Vice President (VP) of Engineering at DefenseSystemsRUS. In her role of VP of Engineering, she is responsible for both the FX-1 and FX-2 projects and is accountable to the Department of Defense. She writes a combined status report for both projects, which she forwards to her point of contact John in Department of Defense. i. What are the appropriate clearance levels (i.e., sufficiently high, but no higher than necessary) for Kate and for John to perform their jobs? Briefly explain your answer. ii. Modify the FX-1 and FX-2 access matrices to include Kate and John, as well as the combined status report. iii. Give derivable inference rules that show under what circumstances Kate and John have access to the combined status report.

Fall 2008