Using Description Logics in Relation Based Access Control

Rui Zhang, Alessandro Artale, Fausto Giunchiglia, Bruno Crispo

Abstract

Modern web environments necessitate access control models that can handle dynamic, overlapping relationships between users and resources. This paper formalizes Relation Based Access Control (RelBAC) using the Description Logic $\mathcal{ALCQIBO}$. By modeling permissions as binary relations and utilizing qualified cardinality restrictions, the proposed framework provides a rigorous mathematical foundation for complex security policies. We show that this approach allows for the automated verification of policies like Separation of Duties (SoD) with greater computational efficiency than traditional First-Order Logic methods.

Introduction

Traditional access control models, such as Role-Based Access Control (RBAC), are often insufficient for the decentralized and relationship-heavy nature of modern web platforms. In these environments, permissions are frequently defined by the connections between entities—for instance, a user's ability to view a photo may depend on being a "friend" of the uploader.

To address these needs, this paper introduces a formalization of Relation Based Access Control (RelBAC). By leveraging Description Logics (DL), specifically the $\mathcal{ALCQIBO}$ fragment, the authors transform abstract security requirements into precise, machine-verifiable formulas. This transition from heuristic-based to logic-based access control enables automated reasoning and ensures policy consistency.

The RelBAC Framework

The core innovation of RelBAC is the treatment of permissions as binary relations between a set of subjects (users) and a set of objects (resources). Unlike traditional models that use static labels, RelBAC allows for a more fluid and expressive definition of access rights.

Figure 1: The RelBAC model represents permissions as binary relations between subjects (u) and objects (o), categorized by logical quantifiers such as 'All', 'Some', and specific cardinalities 'n'.

As shown in Figure 1, the model facilitates complex mappings between user groups and object groups. This relational approach prevents "permission explosion," where a unique label would otherwise be required for every possible user-object interaction. Instead, high-level policies can be defined based on the properties of the relationship itself.

Formalization via Description Logics

The authors map the RelBAC model to the Description Logic $\mathcal{ALCQIBO}$. This specific logic was chosen for several key technical features:

  • Qualified Cardinality Restrictions: These allow for rules that limit access based on count, such as "a user can access at most $n$ objects of a certain type."
  • Inverse Roles: This enables the system to reason from the perspective of the object (e.g., "Which users have access to this resource?") as easily as from the user's perspective.
  • Boolean Role Operators: These allow for the intersection and negation of permissions, which is essential for defining mutually exclusive tasks and preventing conflicts of interest.
  • TBox and ABox separation: The "TBox" (Terminological Box) stores general organizational policies and schemas, while the "ABox" (Assertion Box) contains specific facts about individual users and files.

Key Insights and Contributions

The Power of Counting and Cardinality

By incorporating counting quantifiers, the logic naturally enforces constraints that typically require custom code in traditional systems. For example, a policy requiring "at least three different managers to approve a sensitive transaction" can be expressed as a single logical axiom.

Run-Time Permissions (RTP)

The paper introduces a mechanism for handling dynamic security through "Run-Time Permissions." By using present participle forms of permissions (e.g., Initiating vs. Initiate), the system can track active sessions and prevent users from performing conflicting actions simultaneously, effectively managing dynamic Separation of Duties.

Computational Efficiency in Separation of Duties (SoD)

A significant result of this research is the improved efficiency in verifying Separation of Duties. The authors prove that their DL-based approach scales according to the number of steps in a task ($n$), rather than the total number of users in the system ($|U|$). This makes the model significantly more scalable than previous attempts using First-Order Logic.

Results and Complexity

The authors demonstrated that 15 common types of access control rules can be succinctly captured using $\mathcal{ALCQIBO}$ axioms. While the reasoning complexity for this logic is NExpTime-complete, this provides a clear upper bound on the computational cost required for such high expressivity.

Conclusion and Future Work

While the use of general-purpose DL reasoners like Pellet proves the feasibility of this approach for policy verification, real-time performance remains a challenge for high-traffic environments. Future research will focus on developing specialized reasoners optimized for access control knowledge bases, aiming to bridge the gap between formal logical rigor and the performance demands of live web systems.

Summary updated

BibTeX
@inproceedings{zhang2009using,
  author = {Rui Zhang and Alessandro Artale and Fausto Giunchiglia and Bruno Crispo},
  title = {{Using Description Logics in Relation Based Access Control}},
  booktitle = {Description Logics},
  year = {2009},
}
Figure