SLIDE 67 Example of a logic based authorization specification language
cando(o,s,signa) : explicit authorizations. dercando(o,s,signa) : defines implied authorizations do(o,s,signa) states the accesses that must be allowed or denied. done(o,s,r,a,t) access history. error integrity constraints. hie-predicates: hierarchical predicate rel-predicates: application specific predicates (es.,
- wner(user, object), supervisor(user1, user2)).
Privacy and Data Protection
125
c
Pierangela Samarati
FAF rule stratification
Format of rule is restricted to ensure stratification of rules
Level Predicate Rules defining predicate
hie-predicates
base relations.
rel-predicates
base relations.
done
base relation. 1
cando
body may contain done, hie- and rel-literals. 2
dercando
body may contain cando, dercando, done,
hie-, and rel- literals. Occurrences of dercando literals must be positive.
3
do
in the case when head is of the form
do( , , +a) body may contain cando, dercando, done, hie- and rel- literals.
4
do
in the case when head is of the form
do(o, s, −a) body contains just one literal ¬do(o, s, +a).
5
error
body may contain do, cando, dercando, done,
hie-, and rel- literals.
Default rule: do(o, s, −a) ← ¬do(o, s, +a)
Privacy and Data Protection
126
c
Pierangela Samarati