Documentation

Docs / Related work

XACML

What it is

XACML (eXtensible Access Control Markup Language) is the OASIS standard for attribute-based access control. Version 3.0 dates from 2013. It defines a policy language in XML and an architecture: the enforcement point (PEP), the decision point (PDP), the information point (PIP) and the administration point (PAP). It is the reference point for every later attribute-based language.

Model

  • Entities: attribute categories, mainly subject, resource, action and environment. More categories can be added. Everything is a bag of attribute values.
  • Rule forms: Rule (target, condition, effect Permit or Deny), Policy (a set of rules plus a combining algorithm), PolicySet (a set of policies plus a combining algorithm). Obligations and advice attach duties to a decision.
  • Combining: configurable per policy and policy set. Standard algorithms: deny-overrides, permit-overrides, first-applicable, only-one-applicable, deny-unless-permit, permit-unless-deny, and ordered variants.
  • Results: Permit, Deny, NotApplicable, Indeterminate. Indeterminate is split into {D}, {P} and {DP}, so the combining algorithms know which way an error could have gone.
  • Default: depends on the top combining algorithm. NotApplicable is passed to the PEP, which decides.
  • Delegation: the XACML 3.0 Administration and Delegation profile.
  • Privacy: the XACML privacy policy profile defines purpose attributes on the resource and the action, compared by equality. (We read this from the profile's summary; check the text before quoting it.)

Formal semantics and what is proved

  • The standard is in prose. Several formal semantics exist. Ramli, Nielson and Nielson ("The Logic of XACML", FACS 2011, Science of Computer Programming 2014) define the combining algorithms precisely and prove two characterisations equivalent. They note earlier Belnap-logic formalisations disagree with the standard in some cases.
  • The same group translated XACML 3.0 into Answer Set Programming and proved that the program has a unique answer set matching their semantics. This allows checking completeness, conflicts and unreachable rules with a solver.
  • Margrave (Fisler, Krishnamurthi, Meyerovich, Tschantz, ICSE 2005) analysed a subset of XACML with decision diagrams and introduced change-impact analysis: which requests change their verdict between two versions.
  • Other work: description logic encodings (Kolovski et al. 2007), PTaCL (Crampton and Morisset). No mechanized proof of a full engine that we know of.

Purpose and use case

Only as an attribute (the privacy profile). No notion of a use case with an owner, a validity or a form.

Uncertainty

None, beyond Indeterminate for errors and missing attributes.

History and state

Stateless. Obligations can ask the PEP to log. No disclosure history.

What we can reuse

  • The PEP/PDP/PIP split. Our "facts from the directory and catalogue" are the PIP.
  • Obligations and advice as the model for duties attached to a release.
  • The split Indeterminate{D,P,DP}: a precise way to propagate "we do not know" without guessing. Close to what our "ask" needs.
  • Change-impact analysis (Margrave) as the definition of "the exact effect of changing a rule".

What it lacks for us

  • Configurable combining makes properties hold only per policy, not for the language. Different algorithms in nested sets are hard for people to predict.
  • No ordered forms of output, no caps.
  • Verbose XML. No machine-checked semantics of the standard itself.

Key references

  • OASIS, eXtensible Access Control Markup Language (XACML) Version 3.0, 2013. https://docs.oasis-open.org/xacml/3.0/xacml-3.0-core-spec-os-en.html
  • Ramli, Nielson, Nielson, "The Logic of XACML", extended version. https://arxiv.org/abs/1110.3706
  • Ramli, Nielson, Nielson, "XACML 3.0 in Answer Set Programming". https://arxiv.org/abs/1206.5327
  • Fisler et al., "Verification and change-impact analysis of access-control policies", ICSE 2005. https://cs.brown.edu/~sk/Publications/Papers/Published/fkmt-verif-change-impact-xacml/

Last built 2026-11-25