Documentation

Docs / Related work

SecPAL

What it is

SecPAL (Security Policy Assertion Language) is a decentralized authorization language from Microsoft Research (Becker, Fournet, Gordon; CSF 2007, Journal of Computer Security 2010). Every statement is an assertion made by a principal ("A says ..."). It was built for grids and distributed systems where many parties issue credentials. Its syntax reads close to English and its semantics has three deduction rules.

Model

  • Entities: principals, and facts about them built from verb phrases (can read, possesses, can act as).
  • Rule forms: assertions A says fact if fact1, ..., factn, c, where c is a constraint (arithmetic, dates, regular expressions, and so on).
  • Delegation is built in: A says B can say_∞ fact (B may delegate further) and A says B can say_0 fact (B may not delegate further). can act as gives role-like aliasing. The paper argues this covers more delegation variants than SPKI/SDSI or XrML.
  • Negation is not allowed inside assertions. It is allowed only in authorization queries ("is X allowed and is there no Y"). This keeps the assertion base monotone.
  • Combining: there is none to configure. A query holds if it can be derived from the assertions the local authority trusts. Forbid is expressed only through negated queries.
  • Default: deny (not derivable).

Formal semantics and what is proved

  • Proof-theoretic semantics with three rules (conditional, delegation, alias).
  • Translation to Datalog with constraints. Evaluation by tabled resolution is proved sound, complete and terminating, provided simple syntactic safety conditions hold and the constraint domain is decidable.
  • Query evaluation is polynomial in data size for fixed policies (follows from Datalog with decidable constraints; check the exact claim in the journal paper before quoting it).
  • Proofs are on paper, not mechanized.
  • Follow-up work by Becker on privacy preferences (S4P) and on evidence of delegation chains exists; we did not check those details here.

Purpose and use case

Not built in. Facts can mention a purpose, but it is a normal value.

Uncertainty

None.

History and state

None in the core. Expiry is expressed with time constraints.

What we can reuse

  • says as the way to keep track of who supplied a fact: the directory, the catalogue, the owner, or a model. This is exactly the "facts and readings" split of angle 3, as a logic.
  • Negation only at query level, not in rules. A clean way to keep the rule base monotone while still allowing a top-level forbid check.
  • Controlled delegation depth (say_0, say_∞) for agents acting for people.
  • Syntactic safety conditions that guarantee termination.

What it lacks for us

  • No forms, no caps, no ask, no purpose with structure.
  • Forbid is weak (query-level only). No "absolute boundary" that no other assertion can override.
  • No probability, no history. No mechanized proofs.

Key references

  • Becker, Fournet, Gordon, "SecPAL: Design and Semantics of a Decentralized Authorization Language", Journal of Computer Security 18(4), 2010. https://www.microsoft.com/en-us/research/?p=324563
  • Becker, Fournet, Gordon, "Design and Semantics of a Decentralized Authorization Language", CSF 2007. https://www.microsoft.com/en-us/research/?p=152996
  • Lecture slides on SecPAL (MPI-SWS). https://www.mpi-sws.org/~dg/teaching/lis2014/modules/authorization-1-becker07.pdf

Last built 2026-11-25