🎓 BookMCQ
← Back to 14. Protection

📝 Revocation of Access Rights in protection of Operating System (18 MCQs)

Withdrawing Previously Granted Permissions

Revocation is the process of removing or invalidating access rights that were previously granted to a user, process, or protection domain. Operating systems need revocation when users leave groups, files become confidential, services are compromised, or permissions change. The main challenge is ensuring that an access right no longer works after the policy has withdrawn it.

Why Permission Removal Can Be Difficult

Some implementations store access rights directly with objects, while others distribute authority through capabilities or copied references. Removing one record is straightforward only when all effective permissions are represented there. Distributed or delegated rights may survive after an original grant changes, so revocation design must account for every valid route to access.

Revocation Strategies and Their Scope

Immediate revocation invalidates a right as soon as the policy changes, whereas delayed revocation takes effect later or when a specified condition occurs. Selective revocation targets one subject or permission; general revocation removes a broader class of rights. ACL entries can often be deleted directly, while capability systems may use indirection or version checking.

Example of Removing a User's File Access

Suppose employee ali has read permission for a shared report through an ACL entry. When Ali changes departments, an administrator removes that entry. A subsequent access check should reject Ali's request unless another permission, such as membership in an authorised group, still grants read access.

Immediate Enforcement and System Overhead

Reliable revocation prevents former users and compromised processes from retaining unnecessary authority. ACL-based systems can make object-specific removal relatively simple, while distributed capabilities require mechanisms that invalidate existing copies. Techniques such as indirection, reference monitoring, and version numbers add management cost, but help ensure that stale authority is not accepted.

Misconceptions About Revoking Permissions

'Deleting one capability always revokes every copy' is false because other valid copies may remain. 'Removing a user from one group removes all access' ignores permissions granted through other groups or direct entries. 'Revocation always happens immediately' is incorrect because some systems use delayed, periodic, or condition-based mechanisms.

Exam Focus: Revocation Types and Capability Handling

Be prepared to distinguish immediate from delayed revocation, and selective from general revocation. Questions may compare ACL removal with capability invalidation. Trace whether a copied capability remains valid after a permission change, and explain how indirection, version numbers, or centrally checked references can make revocation effective.

Key Terms of Access Right Revocation

  • Revocation - Withdrawal of previously granted authority.
  • Immediate - Takes effect without planned delay.
  • Delayed - Takes effect at a later condition.
  • Selective - Targets specific access rights.
  • General - Removes a broader set of permissions.
4
Easy
9
Medium
5
Hard

📝 All Revocation of Access Rights in protection of Operating System MCQs

Q1. What is the confinement problem in computer security?

A.The inability to prevent a program from accessing the network.
B.The difficulty of ensuring that information cannot leave its original execution environment. ✅
C.The challenge of encrypting all stored data.
D.The problem of authenticating users across domains.
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: The confinement problem refers to the difficulty of guaranteeing that information initially stored in an object cannot migrate outside of its execution environment. Option B captures this definition. Option A describes network access, not confinement. Option C concerns encryption, which is a separate technique. Option D deals with authentication, which is unrelated. Understanding confinement is essential because it highlights why copy and owner rights alone cannot stop data leakage, linking directly to real‑world security policies.

Q2. Which of the following operations is NOT a primitive operation defined in the basic access‑matrix model?

A.Create domain
B.Delete object
C.Read right
D.Transfer rights ✅
💡 Difficulty: easy | ✅ Correct: D

📖 Explanation: In the basic access‑matrix model, operations such as creating a domain, deleting an object, and granting or checking a read right are defined primitives. Option D, Transfer rights, is not a primitive operation; it represents a higher‑level action that would require additional mechanisms. Options A, B, and C correctly describe basic matrix actions. Recognizing non‑primitive operations helps developers understand the limits of the model and when extensions are needed.

Q3. Why are copy and owner rights insufficient to prevent the propagation of information?

A.They completely block any data movement
B.They only limit who can initially obtain rights, not how rights can be further transferred or used
C.They encrypt all copied data automatically ✅
D.They enforce network firewalls
💡 Difficulty: easy | ✅ Correct: C

📖 Explanation: Copy and owner rights control who may initially receive a right, but they do not control subsequent actions once a right is granted. Option C correctly states that these rights do not prevent further propagation or usage. Options A and B describe capabilities that do not exist in the model, and D refers to network devices unrelated to rights. Understanding this limitation explains why additional mechanisms, such as confinement, are required in practice.

Q4. How does the dynamic creation of domains affect access control in an access‑matrix system?

A.It adds new rows to the matrix at runtime ✅
B.It deletes existing columns
C.It freezes the matrix permanently
D.It merges domains together
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: When a new domain is created, the access matrix must accommodate an additional row representing that domain’s permissions. Option A accurately describes this dynamic update. Option B suggests removal of columns, which concerns objects, not domains. Option C implies immutability, contradicting the ability to add domains. Option D describes merging, which is a separate policy decision. Recognizing the need for runtime updates is crucial for designing systems that can adapt to changing security requirements.

Q5. What does the sparsity of an access matrix imply for choosing an implementation method?

A.It makes the matrix dense and easy to store
B.It suggests using structures that store only non‑empty entries ✅
C.It requires storing every possible right for every domain‑object pair
D.It eliminates the need for rights sets
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: A sparse matrix contains many empty cells, so storing the full two‑dimensional array would waste space. Option B correctly indicates that implementations should keep only the non‑empty triples, reducing memory usage. Option A is opposite of sparsity, Option C describes a worst‑case approach, and Option D is inaccurate because rights sets are still needed. This insight guides developers toward efficient data structures like global tables.

Q6. Why is the confinement problem generally considered unsolvable?

A.Because hardware cannot enforce it
B.Because networks are insecure
C.Because users forget passwords
D.Because it would require solving undecidable problems ✅
💡 Difficulty: medium | ✅ Correct: D

📖 Explanation: The confinement problem asks whether a program can be guaranteed never to leak data, which would entail predicting all possible program behaviors. This task is equivalent to solving the halting problem, an undecidable issue, making a general solution impossible. Option D captures this reasoning. Options A, B, and C refer to unrelated practical obstacles, not the fundamental theoretical limitation. Recognizing this unsolvability helps set realistic expectations for security mechanisms.

Q7. How does revoking an access right manifest within the access matrix?

A.Revocation removes a right from a specific entry ✅
B.Revocation adds new rights to all entries
C.Revocation changes user passwords
D.Revocation duplicates existing rights
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: Revocation directly modifies the matrix by deleting the specified right from the <domain, object> cell, thereby preventing future use of that permission. Option A accurately describes this process. Options B and D incorrectly suggest adding or copying rights, while C pertains to authentication rather than matrix entries. Understanding this direct relationship is vital for implementing effective security policies that can adapt to changing trust levels.

Q8. What is the primary purpose of a global table in the implementation of an access matrix?

A.To list all possible domains
B.To store encrypted keys for each object
C.To hold each non‑empty triple for lookup ✅
D.To record audit logs of access attempts
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: A global table records every non‑empty <domain, object, rights‑set> triple, enabling efficient searches and updates without allocating space for empty cells. Option C correctly identifies this purpose. Options A and B describe unrelated structures, and D refers to logging rather than permission storage. This design choice directly supports dynamic and sparse permission management in real systems.

Q9. How does the concept of “domains” differ from “users” in access‑control terminology?

A.Domains are the same as users
B.Domains group processes with identical privileges ✅
C.Domains are physical machines
D.Domains store data
💡 Difficulty: hard | ✅ Correct: B

📖 Explanation: Domains represent collections of processes that share the same set of access rights, allowing the system to manage permissions at a group level rather than individually. Option B captures this distinction. Option A conflates two distinct concepts, Option C misinterprets domains as hardware, and Option D confuses domains with storage. Recognizing this difference is essential for designing scalable protection mechanisms.

Q10. An administrator wants to revoke write rights from domain D3 for object O2. Which entry in the access matrix must be altered?

A.Add a new domain
B.Change the object’s owner
C.Modify the object’s code
D.Remove the write bit from the <D3, O2> entry ✅
💡 Difficulty: easy | ✅ Correct: D

📖 Explanation: To prevent domain D3 from writing to object O2, the specific permission cell representing that pair must have the write right deleted. Option D correctly describes this action. Adding a new domain (A) or changing ownership (B) does not affect the existing permission, and modifying code (C) is unrelated to rights. This direct matrix edit is the standard method for revocation in practice.

Q11. Given a highly sparse access matrix, which implementation method would most effectively minimize memory consumption?

A.A global table of triples ✅
B.A full two‑dimensional array
C.A linked list of objects only
D.A hash of domains only
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: A global table stores only the existing permission triples, avoiding allocation for the many empty cells, thus using the least memory. Option A reflects this efficiency. A full array (B) would waste space, a linked list of objects (C) would miss domain information, and a domain hash (D) would not capture object rights. Selecting the appropriate structure directly impacts system performance.

Q12. A new domain D5 is created and should have read rights to every existing object. What entries need to be added to the global table?

A.Delete existing entries
B.Create a new domain without rights
C.Add a <D5, eachObject, read> triple for every object ✅
D.Change the owner of all objects
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: To grant D5 read access across the board, a separate triple for each object must be inserted, each specifying the read right. Option C correctly outlines this addition. Deleting entries (A) would remove rights, creating a domain without rights (B) defeats the purpose, and changing ownership (D) is unrelated to granting read permissions. This process illustrates dynamic permission provisioning.

Q13. An application attempts to copy data from object O1 to external storage. Which security problem does this scenario exemplify?

A.Privilege escalation
B.Confinement problem ✅
C.Authentication failure
D.Integrity violation
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: Copying data out of its original environment directly illustrates the confinement problem, where preventing information leakage is the challenge. Option B identifies this issue. Privilege escalation (A) involves gaining higher rights, authentication failure (C) concerns identity verification, and integrity violation (D) refers to unauthorized modification. Recognizing the confinement aspect helps designers implement controls like mandatory access controls to limit such transfers.

Q14. If most entries in an access matrix are empty, which data structure provides the most efficient representation?

A.List of non‑empty triples ✅
B.Complete matrix
C.Array of rights per domain
D.Binary tree of objects
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: A list that stores only the populated <domain, object, rights> triples avoids allocating space for empty cells, delivering optimal efficiency for sparse data. Option A correctly describes this structure. A complete matrix (B) wastes memory, an array per domain (C) still includes many empty slots, and a binary tree (D) adds unnecessary complexity. Efficient representation is crucial for large‑scale systems with many permissions.

Q15. A security policy states that no domain may execute printer commands. How can this be enforced using the access matrix?

A.Grant execute rights to all domains
B.Create a new printer object
C.Assign read rights only
D.Remove execute rights from all domain entries for the printer object ✅
💡 Difficulty: medium | ✅ Correct: D

📖 Explanation: To prohibit execution, the matrix must ensure that the execute right is absent for every domain concerning the printer object. Option D accomplishes this by deleting that right from each relevant cell. Granting rights (A) would violate the policy, creating a new object (B) does not affect existing permissions, and limiting to read (C) still allows execution if not removed. This demonstrates precise rights management.

Q16. When a domain obtains a right through a chain of delegations, what revocation challenge typically arises?

A.Revocation is trivial
B.Revocation does not affect delegations
C.Revocation must propagate to all downstream entries ✅
D.Revocation adds new rights
💡 Difficulty: hard | ✅ Correct: C

📖 Explanation: If a right has been passed along multiple domains, removing it from the original holder requires updating every subsequent delegation to ensure the right is fully eliminated. Option C captures this propagation challenge. Assuming revocation is trivial (A) ignores the complexity, saying it does not affect delegations (B) is false, and adding rights (D) mischaracterizes revocation. Understanding this helps design robust revocation mechanisms.

Q17. A bug unintentionally grants a domain write rights to a critical file. What immediate action should be taken?

A.Ignore the bug
B.Immediately revoke the unintended write right and investigate ✅
C.Add more write rights to all domains
D.Change user passwords
💡 Difficulty: hard | ✅ Correct: B

📖 Explanation: The quickest response is to remove the mistakenly granted write permission to stop any potential damage, then investigate the cause. Option B correctly outlines this mitigation. Ignoring the issue (A) allows exploitation, adding more rights (C) worsens risk, and changing passwords (D) does not address the permission error. Prompt revocation aligns with best practices for incident response.

Q18. A cloud service aims to ensure that each tenant’s data remains confined within its own environment. Which principle from this topic is most directly relevant?

A.Applying confinement principles to isolate tenant data ✅
B.Using copy rights to share data between tenants
C.Allowing owners to delegate rights freely
D.Disabling all access to storage
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: Ensuring that data cannot leave its designated environment embodies the confinement principle, which seeks to prevent unauthorized propagation. Option A directly addresses this need. Copy

🔗 Related Topics (MCQs)