0 3

BIT303 · 0 · 10 marks

Consider a system having users U1, U2, U3 & files F1, F2 and F3 as F4. User U1 can read and write files F2 and F3. User U2 can read all the files but can perform write operation on F2. The user U3 can perform read operation on F3 and append on file F4. Now prepare access control matrix, access contr

Consider a system having users U1, U2, U3 & files F1, F2 and F3 as F4. User U1 can read and write files F2 and F3. User U2 can read all the files but can perform write operation on F2. The user U3 can perform read operation on F3 and append on file F4. Now prepare access control matrix, access control list and capability list.[10]

Information SecurityChapter 6: Authentication and Access ControlSubjects, objects and access rightsNumerical: Access control matrix ACL

Access Control Matrix, ACL, and Capability List

Given

Subjects (Users): U1, U2, U3 Objects (Files): F1, F2, F3, F4

Stated permissions:

  • U1: read and write on F2 and F3
  • U2: read all files (F1, F2, F3, F4); write on F2
  • U3: read on F3; append on F4

All permissions fully specified. Nothing missing.


Solution

1. Access Control Matrix

Rows = subjects (users), Columns = objects (files). Each cell holds allowed operations.

F1F2F3F4
U1--Read, WriteRead, Write--
U2ReadRead, WriteReadRead
U3----ReadAppend

-- denotes no access rights.


2. Access Control List (ACL)

Derived column-wise; each file stores the list of users and their rights.

F1 --> (U2: Read)
F2 --> (U1: Read, Write) --> (U2: Read, Write)
F3 --> (U1: Read, Write) --> (U2: Read) --> (U3: Read)
F4 --> (U2: Read) --> (U3: Append)

ACL is attached to each object (file); convenient for answering "who can access this file?"


3. Capability List

Derived row-wise; each user holds a list (capabilities/tickets) of files with rights.

U1 --> (F2: Read, Write) --> (F3: Read, Write)
U2 --> (F1: Read) --> (F2: Read, Write) --> (F3: Read) --> (F4: Read)
U3 --> (F3: Read) --> (F4: Append)

Capability list is attached to each subject (user); convenient for answering "what can this user access?"


Comparison Summary

FeatureAccess MatrixACLCapability List
PerspectiveFull 2D tablePer file (column)Per user (row)
Stored withSystem tableEach objectEach subject
AnswersOverviewWho can access file?What can user access?

All three representations encode the same rights, consistent with the given permissions.

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.