






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







With many capabilities and privileges in a system, it is difficult to manage them, such as assigning privileges to users, changing assignments, keeping track of the assignments for all users, ensuring that the assignments are not causing security problems, etc. These tasks are particular difficult in a dynamic environment, where users’ privileges can change quite frequently. Role-Based Access Control (RBAC) can ease the management task.
∗ Inheritance: one role inherits permissions assigned to a different role. ∗ These relations can be used to enforce security policies that include separation of duties and delegation of authority.
- User-Role relationship: Assigning roles to users.
USERS ROLES
SESSIONS
OPS OBS
session_roles PRMS
Permission Assignment
(PA) User Assignment
(UA)
user_sessions
Figure 1: Core RBAC
- Users, roles, objects (OBS), operations (OPS), permissions (PRMS), and sessions. - Sessions: each session is a mapping between a user and an activated subset of roles that are assigned to the user. Each session is associated with a single user and each user is associated with one or more sessions. - The following figure depicts the relationships among the elements of Core RBAC (arrows depict one-to-many relationship, double-arrows depict many-to-many relationship).
∗ Users can be assigned mutually exclusive roles, but these roles cannot be active at the same time. ∗ Example: a user may be authorized for both the roles of Cashier and Cashier Supervisor, where the supervisor is allowed to acknowledge corrections to a Cashier’s open cash drawer. If the individual acting in the role Cashier attempted to switch to the role Cashier Supervisor, DSD would require the user to drop the Cashier role, and thereby force the closure of the cash drawer before assuming the role Cashier Supervisor.
- Example: Basic Solaris User Rights Profile: By default, this profile is assigned to all users through the policy.conf file. Authorizations: solaris.profmgr.read, solaris.jobs.usr, solaris.admin.usermgr.read, solaris.admin.logsvc.read, ... Supplementary rights profiles: All
Primarily developed by the US National Security Agency, SELinux has been integrated into version 2. series of the Linux kernel. SELinux provides a hybrid of concepts and capabilities drawn from mandatory access controls, mandatory integrity controls, role-based access control (RBAC), and type enforcement architecture. We only focus on the RBAC part here.
user system_u roles system_r; user root roles { user_r sysadm_r };
role system_r types { kernel_t initrc_t getty_t klogd_t }; role sysadm_r types { sysadm_t run_init_t };
allow system_r { user_r sysadm_r }; allow user_r sysadm_r;