Docsity

Create Operations and Types in Computer and Information Security, Study notes of Computer Science

Toggle sidebar
bg1
April 14, 2005 ECS 235, Computer and Information
Security
Slide #1
Create Operation
• Must handle type, tickets of new entity
• Relation can•create(a, b)
– Subject of type a can create entity of type b
• Rule of acyclic creates:
a b
cd
a b
cd
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e

Partial preview of the text

Download Create Operations and Types in Computer and Information Security and more Study notes Computer Science in PDF only on Docsity!

April 14, 2005 ECS 235, Computer and Information Slide # 1

Create Operation

  • Must handle type, tickets of new entity
  • Relation can • create ( a , b )
    • Subject of type a can create entity of type b
  • Rule of acyclic creates: a b c d a b c d

April 14, 2005 ECS 235, Computer and Information Slide # 2

Types

  • cr ( a , b ): tickets introduced when subject of

type a creates entity of type b

  • B object: cr ( a , b ) ⊆ { b / r : c ∈ RI }
  • B subject: cr ( a , b ) has two parts
    • cr P ( a , b ) added to A , cr C ( a , b ) added to B
    • A gets B / r : c if b / r : c in cr P ( a , b )
    • B gets A / r : c if a / r : c in cr C ( a , b )

April 14, 2005 ECS 235, Computer and Information Slide # 4

Attenuating Create Rule

cr ( a , b ) attenuating if:

1. cr

C

( a , b ) ⊆ cr

P

( a , b ) and

2. a / r : c ∈ cr

P

( a , b ) ⇒ self / r : c ∈ cr

P

( a , b )

April 14, 2005 ECS 235, Computer and Information Slide # 5

Safety Result

  • If the scheme is acyclic and attenuating, the

safety question is decidable

April 14, 2005 ECS 235, Computer and Information Slide # 7

HRU vs. SPM

  • SPM more abstract
    • Analyses focus on limits of model, not details of representation
  • HRU allows revocation
    • SMP has no equivalent to delete, destroy
  • HRU allows multiparent creates
    • SMP cannot express multiparent creates easily, and not at all if the parents are of different types because can • create allows for only one type of creator

April 14, 2005 ECS 235, Computer and Information Slide # 8

Multiparent Create

  • Solves mutual suspicion problem
    • Create proxy jointly, each gives it needed rights
  • In HRU: command multicreate ( s 0 , s 1 , o ) if r in a [ s 0 , s 1] and r in a [ s 1 , s 0 ] then create object o ; enter r into a [ s 0 , o ]; enter r into a [ s 1 , o ]; end

April 14, 2005 ECS 235, Computer and Information Slide # 10

Example

  • Anna, Bill must do something cooperatively
    • But they don’t trust each other
  • Jointly create a proxy
    • Each gives proxy only necessary rights
  • In ESPM:
    • Anna, Bill type a ; proxy type p ; right x ∈ R
    • cc ( a , a ) = p
    • cr Anna ( a , a , p ) = cr Bill ( a , a , p ) = ∅
    • cr proxy ( a , a , p ) = { Anna/ x , Bilł/ x }

April 14, 2005 ECS 235, Computer and Information Slide # 11

2-Parent Joint Create Suffices

  • Goal: emulate 3-parent joint create with 2-

parent joint create

  • Definition of 3-parent joint create (subjects

P

1

, P

2

, P

3

; child C ):

  • cc (τ( P 1 ), τ( P 2 ), τ( P 3

)) = Z ⊆ T

  • cr P 1 (τ( P 1 ), τ( P 2 ), τ( P 3

)) = C / R

1,

∪ P

1

/ R

2,

  • cr P 2 (τ( P 1 ), τ( P 2 ), τ( P 3

)) = C / R

2,

∪ P

2

/ R

2,

  • cr P 3 (τ( P 1 ), τ( P 2 ), τ( P 3

)) = C / R

3,

∪ P

3

/ R

2,

April 14, 2005 ECS 235, Computer and Information Slide # 13

Entities and Types

  • Parents P 1

, P

2

, P

3

have types p

1

, p

2

, p

3

  • Child C of type c
  • Parent agents A 1

, A

2

, A

3

of types a

1

, a

2

, a

3

  • Child agent S of type s
  • Type t is parentage
    • if X / t ∈ dom ( Y ), X is Y ’s parent
  • Types t , a 1

, a

2

, a

3

, s are new types

April 14, 2005 ECS 235, Computer and Information Slide # 14

Can•Create

  • Following added to can•create:
    • cc( p 1 ) = a 1
    • cc( p 2 , a 1 ) = a 2
    • cc( p 3 , a 2 ) = a 3
  • Parents creating their agents; note agents have maximum of 2 parents
    • cc( a 3 ) = s
  • Agent of all parents creates agent of child
    • cc( s ) = c
      • Agent of child creates child

April 14, 2005 ECS 235, Computer and Information Slide # 16

Creation Rules

  • cr Pfirst ( p 3 , a 2 , a 3 ) = ∅
  • cr Psecond ( p 3 , a 2 , a 3 ) = ∅
  • cr C ( p 3 , a 2 , a 3 ) = p 3 / Rtc ∪ a 2 / tc
  • Agent’s parent set to creating parent and agent; agent has all rights over parent (but not over agent)
  • cr P ( a 3 , s ) = ∅
  • cr C ( a 3 , s ) = a 3 / tc
  • Child’s agent has third agent as parent crP ( a 3 , s ) = ∅
  • cr P ( s , c ) = C / Rtc
  • cr C ( s , c ) = c / R 3 t
  • Child’s agent gets full rights over child; child gets R 3 rights over agent

April 14, 2005 ECS 235, Computer and Information Slide # 17

Link Predicates

  • Idea: no tickets to parents until child created
    • Done by requiring each agent to have its own parent rights
    • link 1 ( A 1 , A 2 ) = A 1 / t ∈ dom ( A 2 ) ∧ A 2 / t ∈ dom ( A 2 )
    • link 1 ( A 2 , A 3 ) = A 2 / t ∈ dom ( A 3 ) ∧ A 3 / t ∈ dom ( A 3 )
    • link 2 ( S , A 3 ) = A 3 / t ∈ dom ( S ) ∧ C / t ∈ dom ( C )
    • link 3 ( A 1 , C ) = C / t ∈ dom ( A 1 )
    • link 3 ( A 2 , C ) = C / t ∈ dom ( A 2 )
    • link 3 ( A 3 , C ) = C / t ∈ dom ( A 3 )
    • link 4 ( A 1 , P 1 ) = P 1 / t ∈ dom ( A 1 ) ∧ A 1 / t ∈ dom ( A 1 )
    • link 4 ( A 2 , P 2 ) = P 2 / t ∈ dom ( A 2 ) ∧ A 2 / t ∈ dom ( A 2 )
    • link 4 ( A 3 , P 3 ) = P 3 / t ∈ dom ( A 3 ) ∧ A 3 / t ∈ dom ( A 3 )

April 14, 2005 ECS 235, Computer and Information Slide # 19

Construction

Create A 1

, A

2

, A

3 , S , C ; then

  • P 1 has no relevant tickets
  • P 2 has no relevant tickets
  • P 3 has no relevant tickets
  • A 1 has P 1 / Rtc
  • A 2 has P 2 / Rtc ∪ A 1 / tc
  • A 3 has P 3 / Rtc ∪ A 2 / tc
  • S has A 3 / tc ∪ C / Rtc
  • C has C / R 3

April 14, 2005 ECS 235, Computer and Information Slide # 20

Construction

  • Only link 2

( S , A

3 ) true ⇒ apply f 2

  • A 3 has P 3 / Rtc ∪ A 2 / t ∪ A 3 / t ∪ C / Rtc
  • Now link 1

( A

3

, A

2 ) true ⇒ apply f 1

  • A 2 has P 2 / Rtc ∪ A 1 / tc ∪ A 2 / t ∪ C / Rtc
  • Now link 1

( A

2

, A

1 ) true ⇒ apply f 1

  • A 1 has P 2 / Rtc ∪ A 1 / tc ∪ A 1 / t ∪ C / Rtc
  • Now all link 3 s true ⇒ apply f 3
  • C has C / R 3 ∪ P 1 / R 4, ∪ P 2 / R 4, ∪ P 3 / R 4,