Docsity

Role-Based Access Control (RBAC) - Concepts, Benefits, and Models - Prof. Mohamed Shehab, Study notes of Information Technology

Partial preview of the text

Download Role-Based Access Control (RBAC) - Concepts, Benefits, and Models - Prof. Mohamed Shehab and more Study notes Information Technology in PDF only on Docsity!

ITIS 6210/8210ITIS 6210/8210Access ControlAccess ControlAccess ControlAccess Control

Lecture 4 (Part 2)

Dr Mohamed [email protected]

Role Based Access (RBAC)Role Based Access (RBAC)C

t

l M d l

C

t

l M d l

Control ModelControl Model

RBAC: MotivationsRBAC: MotivationsRBAC: MotivationsRBAC: Motivations

y^

End users often do not own the information for which they are allowed access.

The corporation or

agency is the actual owner of data objects y^

Control is often based on employee functionsrather than data ownershipRBAC h

b

d

l^

i

y^

RBAC h

as been proposed as an

alternative

approach to DAC and MAC both to simplify thetask of access control management and to directlytask of access control management and to directlysupport function-based access control

ITIS6210/

RBAC: Basic ConceptsRBAC: Basic ConceptsRBAC: Basic ConceptsRBAC: Basic Concepts

y

Roles represent functions within a given

p

g

organization and authorizations are grantedto roles instead of to single users

g

y

Users are thus simply authorized to "play"

y

Users are thus simply authorized to

play

the appropriate roles, thereby acquiring theroles’ authorizationsroles authorizations

ITIS6210/

RBACRBACRBACRBAC

y^

DBMS vendors have recognized the importanceand the advantages of RBAC, and today most of

g^

,^

y

the commercial DBMSs support RBAC features atsome extentsTh

d

d RBAC

y^

Th

ere is some consensus on a standard RBAC model y^

The NIST model [Sandhu Ferraiolo Kuhn 00] has y^

The NIST model [Sandhu,Ferraiolo,Kuhn 00] hasbeen the first step towards the definition of astandard y^

A recent definition is by ANSI.

American national

standard for information technology – role basedaccess control ANSI INCITS 359 2004 Februaryaccess control.

ANSI INCITS 359-2004, February

ITIS6210/

NIST ModelNIST ModelNIST ModelNIST Model^ y

Three main levels of increasing functional

g

capabilities^ ◦

Core RBAC – also called Flat RBAC ◦ Hierarchical RBAC ◦ Constrained RBAC

ITIS6210/

RBACRBAC

    • Basic concepts

Basic concepts

RBACRBAC

Basic conceptsBasic concepts

y

Permission

  • is an access mode that can be

y

Permission

is an access mode that can be

exercised on objects in the system. Bothobjects and access modes are domainobjects and access modes are domaindependent. For example, in the case ofdatabases the object set includes tablesdatabases, the object set includes tables,columns, and rows, and the access mode setincludes insert delete and update operationsincludes insert, delete, and update operations.

ITIS6210/

RBACRBAC

    • Basic concepts

Basic concepts

RBACRBAC

Basic conceptsBasic concepts

y

Session

  • it is a particular instance of a

connection of a user to the system andconnection of a user to the system anddefines the subset of activated roles. Ateach time instant different sessions for theeach time instant, different sessions for thesame user can be active.

y

When

a user logs in the system, he/she

When

a user logs in the system, he/she

establishes a session and, during this session,can request to activate a subset of the roles

q

he/she is authorized to play.

y

The user obtains all permissions associated

p

with the role he/she has activated in thesession

ITIS6210/

Core RBACCore RBACCore RBACCore RBAC

RA

PA

Users

Roles

Permissions

UA

RA

PA

Sessions

UA

RSA

ITIS6210/

Core RBACCore RBAC

    • Permissions

Permissions

Core RBACCore RBAC

PermissionsPermissions

RA

PA

Users

Roles

UA

RA

PA

Operations

Objects

Permissions

Sessions UA

RSA

Permissions

ITIS6210/

Core RBACCore RBAC -

  • Sets

Sets, Functions, and Relations

, Functions, and Relations

y^

Op

p^

:^ PRMS
)^

op

OPS

}, the permission to operation

mapping, which gives the set of operations associated with

i^

i

permission

p

y^

Ob

p^

:^ PRMS
)^

op

OBS

}, the permission to object

mapping, which gives the set of objects associated withpermission

p

permission

p

y^

SESSIONS

= the set of sessions

y^

session_users

s^

:^ SESSIONS
)^
USERS

, the mapping of

i^

t^

th

di

session

s

onto the corresponding user

y^

session_roles

s^

:^ SESSIONS
)^

ROLES

, the mapping of session

s^

onto a set of roles. Formally:

i^

l^

( )

{^

∈

ROLES

| (

i^

(^ )

)^ ∈

UA

}

◦^

session_roles

( s

)^ = {

r^ ∈

ROLES

| (

session_users (s

) , r

)^ ∈

UA

}

y^

avail_session_perms

s^

:^ SESSIONS
)^

PRMS

, the permissions

available to a user in a session. Formally:

l^

( )

∪

d^

( )

◦^

avail_session_perms

( s

)^ =

∪

r^

∈ session_roles

(^ r

)^

assigned_permissions

( r

)^16

ITIS6210/

Core RBACCore RBAC

SessionsSessions

Core RBACCore RBAC

SessionsSessions

y^

The notion of session is quite abstract

  • it is defined

The notion of session is quite abstract

it is defined

as “

a mapping between a user and an activated subset

of roles that are assigned to the user” y^

Basic distinction: y^

Basic distinction:^ ◦^

Single-role activation (SRA)

Only one role can be activated

◦^

Multi-role activation (MRA)

Multiple roles can be activated in

d d

f d

one session, and dynamic separation of duty constraintsmay be used to restrict concurrent activation of somerolesTh

d^

ff^

b^

h^

f^

h^

f

◦^

Th

ere are trade-offs between the use of these two types of session

17

ITIS6210/

Hierarchical RBACHierarchical RBAC

    • Model

Model

Hierarchical RBACHierarchical RBAC

ModelModel

-^

RH

⊆

ROLES

×

ROLES

it is a relation

⊆

defined on the set of roles in the system

-^

We refer to this relation as

dominance

relation;

if (

r i

, r

)j

∈

RH

we say that

r

i

dominates

r

jj

-^

We also define a partial order

which is

the reflexive and transitive closure of

RH

-^

An RBAC system may choose to store

or

to compute it when needed

p

ITIS6210/

Example of RHExample of RHExample of RHExample of RH

Project Lead 1

Director

Project Lead 2

ProductionEngineer 1

QualityEngineer 1

ProductionEngineer 2

QualityEngineer 2

Engineer 1

Engineer 2

Engineering Dept

ITIS6210/