Lecture 3 - RBAC Flashcards
What is RBAC?
Controls access based on the roles that users have within the system and on the rules stating what accesses are allowed to users in given roles
Role is typically..
a job functionality
Roles can be added …
statically or dynamically
Users to roles relationship is …
many to many
How can we utilise an access matrix here?
- to denote user to role correspondence
- to denote role to object correspondence with access rights inside
Can a role be an object?
Yes, as this allows for role hierarchy !
What are the 4 RBAC reference models?
- RBAC0
- RBAC1
- RBAC2
- RBAC3
What is RBAC0?
Base model consisting of users, roles, permissions and sessions. It has no hierarchies and constraints.
It provides flexibility and granularity as each user is only given exact permissions they need.
What is a session?
a temporary one-to-one relationship between user and a role to which user has been assigned that is needed for the task they’re trying to accomplish in that moment
What is RBAC1?
RBAC0 but with role hierarchies. Role
hierarchies make use of the concept of inheritance to enable one role to implicitly include access rights associated with a subordinate role.
What is RBAC2?
Adding constraints onto RBAC0. A constraint is a defined relationship among roles or a condition related to roles.
Seperation of duties and capabilities within an organisation
Constraint of mutual exclusiveness?
Mutually exclusive roles are roles such that a user can be assigned to only
one role in the set. This limitation could be a static one, or it could be dynamic, inthe sense that a user could be assigned only one of the roles in the set for a session
Enhancement of mutual exclusiveness constraint?
- A user can only be assigned to one role in the set
- Any permission (access right) can be granted to only one role in the set
(no overlapping permissions between roles and hence user types)
Purpose: To increase difficulty of collusion among individuals of different
skills or divergent job functions to thwart security policies
Cardinality constraint?
Cardinality refers to setting a maximum number with respect to roles. One
such constraint is to set a maximum number of users that can be assigned to a given role.
we can also impose max number of roles per user or roles per user per session
Prerequisite role constraint?
dictates that a
user can only be assigned to a particular role if it is already assigned to some other specified role. A prerequisite can be used to structure the implementation of the least
privilege concept