Modeladvanced
Decentralized label model
Also called DLM, Myers-Liskov label model.
Labels data with policies of several owners, each naming its allowed readers, so that each owner can declassify only its own policy.
The decentralized label model (DLM), from Andrew Myers and Barbara Liskov (1997), labels each value with the privacy policies of several owners. Each policy names an owner and the readers that this owner allows, and a reader must be allowed by every policy. Labels are ordered so that a relabeling is allowed only when it keeps or tightens every policy, and the join of two labels is their union. An owner can relax its own policy, a declassification, but not the policy of anyone else. The model keeps the lattice model of flows, so a security type system can check it statically; the language Jif does this.
The machine
Principals. There is a set of principals: users, groups and roles. The acts-for relation , " acts for ", says that may use all the authority of . It is reflexive and transitive, and it is called the principal hierarchy. It can change at run time.
Policies and labels. A policy has an owner and a set of readers , written . A label is a finite set of policies, for example
The effective readers of a policy are the principals that act for one of its readers:
A principal may read a value only if it is in for every policy of the label. An owner that is not in the label puts no limit. In the semantics of the journal paper, an owner is not a reader of its own policy unless it is listed.
Transitions. A program moves values from one labeled variable or channel to another, and it computes new values. These are the transitions.
- Relabeling. A value may move from label to label if . For two policies, if and : the new policy has the same owner or one that acts for it, and allows no new readers. For labels,
- Computation. A value computed from values with labels and gets the join : it keeps the policies of both. Implicit flows are handled with a label for the program counter, as in the security type system.
- Declassification. A process that runs with the authority of a set of principals may relabel a value from to if
where "" is the policy of owner with no readers. Each policy of owned by a principal in is matched by , so it may be weakened or removed; every other policy must still be matched in .
Integrity. Section 4 of the journal paper adds integrity labels, whose policies name the principals that trust the data. They use the dual order: a value becomes less trusted when it is combined with untrusted data.
What it counts
The model decides whether a flow is allowed: whether , whether a principal may read a value, and whether a process with authority may declassify. Let be the number of policies in a label, the number of readers in a policy and the number of principals.
- With the acts-for relation stored as its transitive closure, an table of space, each test takes time in the word-RAM.
- holds if and only if each listed reader of acts for some listed reader of , by transitivity. So takes time.
- takes time, the join takes time, and a declassification check costs the same as a relabeling.
Worked example. Principals alice, bob, eve and hr, with bob hr. Let , so .
| question | check | result |
|---|---|---|
| ? | same owner, | yes (a reader removed) |
| ? | bob acts for hr, so | yes (a reader that acts for a reader added) |
| ? | eve is not in | no |
| readers of | hr and bob | |
| alice declassifies to ? | the policy is matched by "alice :" in | yes |
| bob declassifies the same? | bob does not act for alice | no |
Relation to other models
- Lattice model. The relation is a preorder on labels. Two labels are equivalent if each is below the other, and the classes of equivalent labels form a lattice with the union as join, a join-semilattice with a least element (the empty label). So the DLM is an instance of Denning's model with a large, structured lattice.
- Declassification. Declassification is the general question of which releases are allowed. The DLM answers its who dimension: the owner of a policy, or a principal that acts for it, may release the data that the policy protects. It says nothing about what is released or when.
- Discretionary access control. As in DAC, each owner decides about its data. Unlike DAC, the policy follows the information into each copy and each computed value, so a reader cannot pass the data on to a principal the owner did not allow.
- Mandatory access control. MAC has one central policy and one authority. The DLM has many owners who do not trust each other, and no central authority.
- Trust management. The acts-for relation is a delegation relation, like the delegation of rights in trust management systems.
- Biba. The integrity labels of Section 4 play the role of Biba levels, with several owners.
Known results in the model
- Soundness and completeness of relabeling. Myers and Liskov (1998) give a formal meaning to a label as the set of flows it allows, and prove that the rule above is sound (each allowed relabeling keeps every policy) and complete (each relabeling that keeps every policy is allowed by the rule).
- Incremental rules. Each allowed relabeling is a sequence of four safe steps (journal paper, Section 3.3): remove a reader, add a policy, add a reader that acts for an existing reader, and replace an owner by a principal that acts for it.
- Join. The join of two labels is their union (Section 3.5), and it is the least upper bound in the order .
- Declassification rule. The rule lets a process weaken only the policies of the principals it acts for (Section 3.6).
- Static checking. Jif (formerly JFlow) checks the labels of a Java-like program at compile time, with label inference inside methods. Its rules extend the program counter rules of the security type system. The papers cited here do not prove noninterference for the whole of Jif; the proofs are for the label model and for small core languages.
References
- Andrew C. Myers and Barbara Liskov, A decentralized model for information flow control, Proceedings of the 16th ACM Symposium on Operating Systems Principles (SOSP 1997), pp. 129 to 142, the first presentation of the model and of its static checking
- Andrew C. Myers and Barbara Liskov, Protecting privacy using the decentralized label model, ACM Transactions on Software Engineering and Methodology 9(4), 2000, pp. 410 to 442; Section 3.1 (principals and acts-for), 3.2 (labels and their readers), 3.3 (safe incremental relabelings), 3.4 (the complete relabeling rule), 3.5 (the join of labels), 3.6 (declassification), Section 4 (integrity labels)
- Andrew C. Myers and Barbara Liskov, Complete, safe information flow with decentralized labels, Proceedings of the 1998 IEEE Symposium on Security and Privacy, pp. 186 to 197, the formal semantics of labels and the proof that the relabeling rule is sound and complete
- Andrei Sabelfeld and Andrew C. Myers, Language-based information-flow security, IEEE Journal on Selected Areas in Communications 21(1), 2003, pp. 5 to 19, the decentralized label model and Jif in the survey
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag JG0PJJ Edit this page History Report an error Markdown