Documentation

Docs / Related work

Contextual integrity formalised (Barth, Datta, Mitchell, Nissenbaum 2006) and its successors (LPU, PrivacyLFP)

What it is

Contextual integrity (Nissenbaum, 2004) says privacy is about whether a flow of information fits the norms of its context: a doctor telling another doctor about a patient is fine, telling the employer is not. Barth, Datta, Mitchell and Nissenbaum (IEEE S&P 2006) turned this into a logic over traces of communications, and showed that parts of HIPAA, COPPA and GLBA can be written in it. Follow-ups added utility and business processes (LPU, CSF 2007), a full formalisation of HIPAA and GLBA (PrivacyLFP, 2010), and auditing over incomplete logs (CCS 2011).

Model

  • Entities: agents, roles, contexts, attributes of information (for example "health condition"), and messages. A message is sent from p1 to p2 about subject q and carries attributes t.
  • A trace is a sequence of states and communication actions. Agents' knowledge grows as they receive messages. A relation describes how agents can combine messages to derive further attributes.
  • Rule forms: norms of transmission, written in multi-sorted first-order linear temporal logic (LTL) with past and future operators.
  • Positive norm: a communication of this kind is allowed if a temporal condition holds (for example, "the patient consented earlier").
  • Negative norm: a communication of this kind may occur only if a temporal condition holds (for example, "the recipient will later keep it confidential", or "the subject is told afterwards").
  • Combining: a trace satisfies the norms of a context if each communication is allowed by at least one positive norm and respects all negative norms. Disjunction over positive norms, conjunction over negative norms.
  • Default: a flow not covered by any positive norm is not allowed.
  • Purpose: in the 2006 paper, a "purpose" is a temporal formula that forces some communication to happen; it is used to define meaningful consistency.

Formal semantics and what is proved

  • With finite carrier sets the formulas are propositional LTL, so:
  • Consistency (can agents respect the policy while achieving a purpose) is decidable in PSPACE.
  • Entailment (policy 1 implies policy 2) is decidable in PSPACE. Combination of policies is plain conjunction and disjunction, which the authors present as simpler than the lattice-based combination of earlier privacy languages such as EPAL.
  • Weak compliance (the next action does not violate the policy now) and strong compliance (the next action leaves a way to meet all future requirements) are decidable; strong compliance in PSPACE, using an LTL tableau.
  • LPU (Barth, Mitchell, Datta, Sundaram, CSF 2007) adds a Logic of Privacy and Utility over concurrent game structures. Privacy is an LTL trace property. Utility asks whether agents have a strategy to reach the business goal (an ATL-style property). It also studies how to find who is responsible after a breach.
  • PrivacyLFP (DeYoung, Garg, Jia, Kaynar, Datta, WPES 2010) formalised all transmission clauses of HIPAA and GLBA in a first-order temporal logic with fixed points.
  • Garg, Jia, Datta (CCS 2011), "Policy auditing over incomplete logs": logs are three-valued (true, false, unknown). The algorithm reduce checks what it can and returns a residual policy to check when more information arrives. Fast enough on simulated HIPAA logs.
  • Proofs on paper.

Purpose and use case

Partly. Contexts and roles carry the "why" of a flow. Purpose appears as a goal formula (2006) and as utility (LPU). No use-case object with an owner or a validity.

Uncertainty

Incomplete information yes (three-valued logs, residual policies). Probability no.

History and state

Yes, this is the main strength. Norms refer to the past (consent given before) and the future (notify afterwards). Knowledge accumulates through messages, which is a first step toward reasoning about combining released information.

What we can reuse

  • The (sender role, recipient role, subject, attribute, context) shape of a flow. Our recipient and onward-use questions are exactly this.
  • Positive and negative norms combined as "some positive and all negative". This is a sound and simple combining rule with a logical reading.
  • Weak versus strong compliance: a release can be allowed now only if the duties it creates can still be met.
  • Residual policies over three-valued facts (reduce) as the formal basis for "ask": the residual is the question.
  • Entailment as implication for "the exact effect of changing a rule".

What it lacks for us

  • No forms of output, no caps, no ordered ladder.
  • No probability. No model of an untrusted reader of attributes.
  • PSPACE in the worst case for policy questions; full first-order temporal versions are undecidable in general. We need a smaller fragment for per-request decisions.
  • No mechanized proofs, no production engine.

Key references

  • Barth, Datta, Mitchell, Nissenbaum, "Privacy and Contextual Integrity: Framework and Applications", IEEE S&P 2006. https://nissenbaum.tech.cornell.edu/papers/Privacy%20and%20Contextual%20Integrity%20-%20Frameworks%20and%20Applications.pdf
  • Barth, Mitchell, Datta, Sundaram, "Privacy and Utility in Business Processes", CSF 2007. https://doi.org/10.1109/CSF.2007.26
  • DeYoung, Garg, Jia, Kaynar, Datta, "Experiences in the logical specification of the HIPAA and GLBA privacy laws", WPES 2010. https://doi.org/10.1145/1866919.1866930
  • Garg, Jia, Datta, "Policy auditing over incomplete logs: theory, implementation and applications", CCS 2011. https://www.andrew.cmu.edu/user/liminjia/research/papers/audit-ccs11.pdf
  • Nissenbaum, "Privacy as Contextual Integrity", Washington Law Review 79, 2004.

Last built 2026-11-25