Share on Facebook Tweet on Twitter Share on LinkedIn Share by email
SecPAL: Design and Semantics of a Decentralized Authorization Language

Moritz Y. Becker, Andrew D. Gordon, and Cédric Fournet

Abstract

We present a declarative authorization language. Policies and credentials are expressed using predicates defined by logical clauses, in the style of constraint logic programming. Access requests are mapped to logical authorization queries, consisting of predicates and constraints combined by conjunctions, disjunctions, and negations. Access is granted if the query succeeds against the current database of clauses. Predicates ascribe rights to particular principals, with flexible support for delegation and revocation. At the discretion of the delegator, delegated rights can be further delegated, either to a fixed depth, or arbitrarily deeply. Our language strikes a careful balance between syntactic and semantic simplicity, policy expressiveness, and execution efficiency. The syntax is close to natural language, and the semantics consists of just three deduction rules. The language can express many common policy idioms using constraints, controlled delegation, recursive predicates, and negated queries. We describe an execution strategy based on translation to Datalog with constraints and table-based resolution. We show that this execution strategy is sound, complete, and always terminates, despite recursion and negation, as long as simple syntactic conditions are met.

Details

Publication typeTechReport
NumberMSR-TR-2006-120
Pages38
InstitutionMicrosoft Research
> Publications > SecPAL: Design and Semantics of a Decentralized Authorization Language