xacml and role based access control
play

XACML and Role-Based Access Control Jason Crampton Royal Holloway, - PowerPoint PPT Presentation

XACML and Role-Based Access Control Jason Crampton Royal Holloway, University of London DIMACS Workshop on Secure Web Services and e-Commerce XACML and RBAC/Introduction Jason Crampton Programme Examine the XACML standard and the XACML RBAC


  1. XACML and Role-Based Access Control Jason Crampton Royal Holloway, University of London DIMACS Workshop on Secure Web Services and e-Commerce

  2. XACML and RBAC/Introduction Jason Crampton Programme Examine the XACML standard and the XACML RBAC profile • Examine the XACML implementation of role-based access control policies • Identify any shortcomings • Identify any omissions • Propose some extensions and alternative approaches DIMACS Workshop on Security of Web Services and e-Commerce

  3. XACML and RBAC/Introduction Jason Crampton Outline of talk • Introduction to XACML • Introduction to RBAC • The XACML RBAC profile • An alternative approach to RBAC using XACML • Assigning subjects to roles • Separation of duty DIMACS Workshop on Security of Web Services and e-Commerce

  4. XACML and RBAC/XACML Jason Crampton XACML DIMACS Workshop on Security of Web Services and e-Commerce

  5. XACML and RBAC/XACML Jason Crampton Introduction XACML is a dialect of XML used to specify and enforce authorization policies XACML 2.0 was approved as OASIS standard on 1 February 2005 XACML is intended to provide • Interchangeable policy format • Support for fine- and coarse-grained authorization policies • Conditional authorization • Policy combination and conflict resolution • Independency from implementation DIMACS Workshop on Security of Web Services and e-Commerce

  6. XACML and RBAC/XACML Jason Crampton The XACML view of access control Resource PEP access request response request Subject attribute query Context PIP Handler attribute request context response context Policy or PolicySet PAP PDP DIMACS Workshop on Security of Web Services and e-Commerce

  7. XACML and RBAC/XACML Jason Crampton XACML building blocks <Request> <PolicySet> <Policy> <Subject> <Resource> <Action> <Target> <Subject> <Resource> <Action> <Rule> <Target> PDP <Subject> <Resource> <Action> Match subject, resource, action in request Match condition <Condition> Combine rules' results Combine policies' results Combine policy sets' results DIMACS Workshop on Security of Web Services and e-Commerce

  8. XACML and RBAC/ANSI RBAC Jason Crampton ANSI RBAC DIMACS Workshop on Security of Web Services and e-Commerce

  9. XACML and RBAC/ANSI RBAC Jason Crampton Core RBAC U UA R PA P DIMACS Workshop on Security of Web Services and e-Commerce

  10. XACML and RBAC/ANSI RBAC Jason Crampton Hierarchical RBAC U UA R PA P DIMACS Workshop on Security of Web Services and e-Commerce

  11. XACML and RBAC/The XACML RBAC profile Jason Crampton The XACML RBAC profile DIMACS Workshop on Security of Web Services and e-Commerce

  12. XACML and RBAC/The XACML RBAC profile Jason Crampton Introduction RB-XACML 2.0 approved as OASIS committee draft 30 September 2004 Implements core and hierarchical components of ANSI standard • Roles and role hierarchies • Permission-role assignment relation • User-role assignment relation Does not support separation of duty • RB-XACML 1.0 did support separation of duty DIMACS Workshop on Security of Web Services and e-Commerce

  13. XACML and RBAC/The XACML RBAC profile Jason Crampton RB-XACML policies • Role assignment is strongly Role <PolicySet> bound to role definition <Target> Any subject with manager role attribute • Permissions are strongly bound to roles • Role hierarchy is defined Manager Permission <PolicySet> <Target> implicitly using permission All purchase orders, sign aggregation • Extensive use is made of <PolicyIdReference> and Employee Permission <PolicySet>) <Target> <PolicySetIdReference> All purchase orders, create elements DIMACS Workshop on Security of Web Services and e-Commerce

  14. XACML and RBAC/A different formulation of RBAC using XACML Jason Crampton A different formulation of RBAC using XACML DIMACS Workshop on Security of Web Services and e-Commerce

  15. XACML and RBAC/A different formulation of RBAC using XACML Jason Crampton Introduction Aims are to • Obtain a closer correspondence between XACML policies and RBAC model • Provide a more natural way of defining – Role hierarchies – Permissions – Permission-role assignment • Support the idea of complex permissions DIMACS Workshop on Security of Web Services and e-Commerce

  16. XACML and RBAC/A different formulation of RBAC using XACML Jason Crampton Crampton’s role-based XACML policies Role <PolicySet> Manager Role <PolicySet> • Role set explicitly defines role Employee Role <PolicySet> hierarchy • No mechanism for associating Permission Assignment <PolicySet> subjects with roles Manager Permission <PolicySet> • Permissions are first-class Employee Permission <PolicySet> entities • Permission can (easily) be Permission <PolicySet> assigned to multiple roles <Target> All purchase orders, sign <Target> All purchase orders, create DIMACS Workshop on Security of Web Services and e-Commerce

  17. XACML and RBAC/A different formulation of RBAC using XACML Jason Crampton Complex permissions PA <PolicySet> PO Officer Permission <PolicySet> Useful for hierarchically structured resources • XML data (Crampton, ComplexPermission <PolicySet> SWS 2004) • File systems Permission <PolicySet> • Object-oriented <Target> applications All purchase orders, sign <Target> All purchase orders, create DIMACS Workshop on Security of Web Services and e-Commerce

  18. XACML and RBAC/Assigning subjects to roles Jason Crampton Assigning subjects to roles DIMACS Workshop on Security of Web Services and e-Commerce

  19. XACML and RBAC/Assigning subjects to roles Jason Crampton RB-XACML view of user-role assignment role attribute set Context in request context PEP PDP Handler role attribute role attribute query role assignment attribute policy or query Context policyset PIP PDP Handler attribute REA DIMACS Workshop on Security of Web Services and e-Commerce

  20. XACML and RBAC/Assigning subjects to roles Jason Crampton Observations The design of the REA and role assignment policies is rather unambitious • The REA matches subject IDs to role attributes using a Role Assignment <PolicySet> • Designed for centralized systems with a known user population – Hardly suitable for web services! In XACML the <Subject> of an access request can be defined in terms of the requester’s attributes rather than its identity • The context handler is responsible for constructing the request and verifying the authenticity of the attributes (using PIPs) • The PDP matches <Target> elements in policies and rules to attributes in the request context DIMACS Workshop on Security of Web Services and e-Commerce

  21. XACML and RBAC/Assigning subjects to roles Jason Crampton Attribute-based role assignment (1) Use policy that assigns subjects to roles based on requester attributes (RBTM, Author- X , TPL) • Attributes define <Subject> element in request • Context handler is responsible for obtaining and verifying the authenticity of the attributes PDP matches attributes in request to role(s) using Role Assignment <PolicySet> • Role is now explicitly defined by the attributes that are required to enter into the role DIMACS Workshop on Security of Web Services and e-Commerce

  22. XACML and RBAC/Assigning subjects to roles Jason Crampton Attribute-based role assignment (2) <Request> <Subject> <Attribute IssuedBy="..."> Matched by PDP Role Assignment <PolicySet> Manager Role Assignment <Policy> Permission Assignment <PolicySet> <Target> Manager Permission <PolicySet> Subject has these attributes issued by these authorities Employee Permission <PolicySet> Role <PolicySet> Permission <PolicySet> Manager Role <PolicySet> <Target> All purchase orders, sign <Target> Employee Role <PolicySet> All purchase orders, create DIMACS Workshop on Security of Web Services and e-Commerce

  23. XACML and RBAC/Separation of duty using XACML Jason Crampton Separation of duty using XACML DIMACS Workshop on Security of Web Services and e-Commerce

  24. XACML and RBAC/Separation of duty using XACML Jason Crampton Introduction Policy requirement: No purchase order can be created and signed by the same user One common solution (ANSI RBAC) is to ensure that no user has the permission to both create and sign a purchase order • This solution imposes a constraint on users – There does not exist a user that can create and sign a purchase order • The requirement is a constraint on purchase orders – There does not exist a purchase order that has been created and signed by the same user DIMACS Workshop on Security of Web Services and e-Commerce

  25. XACML and RBAC/Separation of duty using XACML Jason Crampton Separation of duty in RBAC This solution is particularly unattractive in a role-based context • The permissions to create and sign a purchase order must be assigned to different roles r create and r sign • No user can be assigned to both r create and r sign • No role can be more senior than both r create and r sign These disadvantages can be mitigated using dynamic rather than static separation of duty DIMACS Workshop on Security of Web Services and e-Commerce

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend