Trust-management languages: RT, Binder and their family
What it is
Trust management, started by Blaze, Feigenbaum and Lacy (PolicyMaker, 1996), decides authorization from credentials issued by many parties instead of a central list. RT (Role-based Trust-management, Li, Mitchell and Winsborough, 2002) and Binder (DeTreville, 2002) are the two most cited logic-based members. Both are Datalog at heart. Related systems: SD3 (Jim, 2001), Cassandra (Becker and Sewell, 2004, used for electronic health records), and the "says"/"speaks for" calculus of Abadi, Burrows, Lampson and Plotkin (1993).
Model
RT
- Entities: principals and roles. A role is owned by a principal:
A.r. - Four credential forms in RT0:
1.
A.r ← B(B is a member of A.r) 2.A.r ← B.r1(every member of B.r1 is a member of A.r) 3.A.r ← A.r1.r2(linked role: members of r2 of any member of A.r1) 4.A.r ← B1.r1 ∩ B2.r2(intersection) - Extensions: RT1 adds parameters to roles, RT2 adds logical objects (groups of resources), RTT adds threshold and separation of duty, RTD adds delegation of role activations.
- Combining and default: membership is the least fixed point. No negation, no forbid. Not a member means no access.
Binder
- Datalog plus
says, with one context per principal. A rule in another principal's context is imported asB says .... Certificates carry rules signed by their author. - No negation, monotone.
Formal semantics and what is proved
- Both translate directly into Datalog, so membership checks are polynomial (data complexity).
- Li, Mitchell and Winsborough, "Beyond proof-of-compliance: security analysis in trust management" (IEEE S&P 2003, JACM 2005), ask questions about all future states under restrictions on which credentials may change: "can an untrusted person ever become a member?" (safety), "will Alice always remain a member?" (availability), "is every member of A.r always a member of B.s?" (containment). Unlike the classic HRU model, where safety is undecidable, these questions are decidable. Most are polynomial; containment ranges up to much higher complexity classes depending on the RT fragment (see the JACM paper for the exact table).
- Li and Mitchell, "Datalog with constraints: a foundation for trust management languages" (PADL 2003), gives the general framework: Datalog with decidable constraint domains stays tractable.
- Proofs on paper.
Purpose and use case
None.
Uncertainty
None.
History and state
None in the language. The security analysis reasons over possible future states of the credential set, which is a useful idea for "what could ever happen if owners keep approving things".
What we can reuse
- Security analysis over future states: "under the rule that only owners may add use cases, can a payroll record ever reach an outside recipient?" This is the kind of rule-set theorem angle 11 asks for.
- Datalog with constraints as the semantic base, with known complexity.
- Linked roles and intersection as a compact way to state "members of a team that belongs to department X and hold position Y".
sayscontexts (Binder) to separate who stated a fact.
What it lacks for us
- Monotone, no forbid, no boundaries.
- Roles only, no forms, no purpose, no uncertainty, no history of releases.
Key references
- Li, Mitchell, Winsborough, "Design of a Role-based Trust-management Framework", IEEE S&P 2002. https://www.cs.purdue.edu/homes/ninghui/papers/rt_oakland02.pdf
- Li, Mitchell, Winsborough, "Beyond proof-of-compliance: security analysis in trust management", JACM 52(3), 2005; conference version S&P 2003. https://www.cs.purdue.edu/homes/ninghui/papers/analysis_oakland03.pdf
- Li, Mitchell, "Datalog with constraints: a foundation for trust management languages", PADL 2003. https://www.cs.purdue.edu/homes/ninghui/papers/cdatalog_padl03.pdf
- DeTreville, "Binder, a logic-based security language", IEEE S&P 2002. https://doi.org/10.1109/SECPRI.2002.1004365
- Abadi, Burrows, Lampson, Plotkin, "A calculus for access control in distributed systems", ACM TOPLAS 1993. https://doi.org/10.1145/155183.155225
- Becker, Sewell, "Cassandra: flexible trust management, applied to electronic health records", CSFW 2004. https://doi.org/10.1109/CSFW.2004.1310738