Documentation

Docs / Related work

Purpose-based access control (Byun and Li; Tschantz, Datta and Wing)

What it is

Purpose-based access control adds "why" to "who may do what". The best-known database model is Byun, Bertino and Li (SACMAT 2005) and Byun and Li (VLDB Journal 2008). A separate line, Tschantz, Datta and Wing (IEEE S&P 2012), asks the harder question: what does it mean that an action was done for a purpose, and how could anyone check it. Both matter directly to our use-case entity.

Model

Byun and Li

  • Purposes form a tree (for example General-Purpose > Admin > Analysis, Marketing > Direct, Third-party).
  • Each data element has intended purposes: allowed purposes (AIP) and prohibited purposes (PIP). A purpose implies its descendants; a prohibition covers descendants as well.
  • Each query has an access purpose (AP).
  • Rule: access is allowed if AP is covered by the allowed set and not by the prohibited set. Prohibition wins.
  • The access purpose is claimed by the user and checked through roles: a role (or a conditional role, activated under conditions) is authorised for certain purposes.
  • Enforcement by query rewriting: rows or columns whose intended purposes do not cover AP are filtered out. Four granularities of labels (relation, tuple, attribute, element).

Tschantz, Datta and Wing

  • Purposes are given meaning through planning. The environment is modelled as a Markov decision process; a purpose is a reward function.
  • An action is "for a purpose" if it is part of an optimal (or near-optimal) plan for that purpose.
  • Two kinds of restriction: prohibitive ("never use X for marketing") and exclusivity ("use X only for treatment").
  • An auditor can check whether a logged sequence of actions is consistent with planning for an allowed purpose. Purpose is judged by behaviour, not by what the actor claims.

Formal semantics and what is proved

  • Byun and Li: set-theoretic semantics on the purpose tree, with correctness of the query rewriting. No logic-level theorems beyond that.
  • Tschantz, Datta and Wing: formal semantics in MDPs; auditing algorithms with stated complexity (polynomial in the MDP size for their algorithm, as we read it; check the paper's statement). Proofs on paper.

Purpose and use case

This is the subject. Byun and Li give a structure (tree, allowed, prohibited, prohibition wins). Tschantz, Datta and Wing give a meaning (planning) and show purpose cannot be checked from a single action alone.

Uncertainty

Byun and Li: none; the claimed purpose is trusted if the role allows it. Tschantz, Datta and Wing: implicit in the MDP's randomness, but not about uncertain reading of the request.

History and state

Tschantz, Datta and Wing audit over a log of actions. Byun and Li: none.

What we can reuse

  • The purpose tree with allowed and prohibited sets, and "prohibition covers descendants". Directly reusable for classes of use cases.
  • "The purpose is claimed, then checked against something trusted" (the role). In our setting the model reads the purpose, and trusted facts (the use case's owner, positions, validity) bound what it may claim.
  • From Tschantz et al.: purpose is a property of a plan, not of one call. This argues for judging an agent's purpose over its whole session, and for treating a one-shot reading as uncertain.

What it lacks for us

  • Byun and Li have no forms, no recipients, no uncertainty, no history, and no way to tell a real purpose from a claimed one.
  • Tschantz et al. is an auditing theory, too costly to run per request, and needs an MDP model of the organisation.

Key references

  • Byun, Bertino, Li, "Purpose based access control of complex data for privacy protection", SACMAT 2005. https://doi.org/10.1145/1063979.1063998
  • Byun, Li, "Purpose based access control for privacy protection in relational database systems", VLDB Journal 17(4), 2008. https://www.cs.purdue.edu/homes/ninghui/papers/pbac_vldbj.pdf
  • Tschantz, Datta, Wing, "Formalizing and Enforcing Purpose Restrictions in Privacy Policies", IEEE S&P 2012. https://ieee-security.org/TC/SP2012/papers/4681a176.pdf ; technical report https://www.cs.columbia.edu/~wing/publications/CMU-CS-12-106.pdf

Last built 2026-11-25