Top Banner
Logics for Data and Knowledge Representation Application of DLs: RelBAC
25

Logics for Data and Knowledge Representation Application of DLs: RelBAC.

Jan 02, 2016

Download

Documents

Cody Walsh
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Logics for Data and Knowledge Representation Application of DLs: RelBAC.

Logics for Data and Knowledge Representation

Application of DLs: RelBAC

Page 2: Logics for Data and Knowledge Representation Application of DLs: RelBAC.

Outline

2

New Challenges for Access Control Model and Logic Automated Reasoning

Reasoning tasks SoD

Page 3: Logics for Data and Knowledge Representation Application of DLs: RelBAC.

New Challenges

3

Objects Various scales of objects-eBusiness, eScience Various types of objects-Blogs, Flickr, Youtube

Subjects Social network explosion-MySpace, Facebook

Permissions Context-Pervasive Computing

Page 4: Logics for Data and Knowledge Representation Application of DLs: RelBAC.

Dynamic Objects

4

Page 5: Logics for Data and Knowledge Representation Application of DLs: RelBAC.

Dynamic Objects (2)

5

Various types Wiki Code Blog SN

Various scales eBusiness: Dell.com vs. eBay shops eGovernment, eScience, etc.

Page 6: Logics for Data and Knowledge Representation Application of DLs: RelBAC.

Dynamic Subjects

6

Page 7: Logics for Data and Knowledge Representation Application of DLs: RelBAC.

Dynamic Permissions

7

Time Access time, duration, frequency, etc.

Location Physical address

System System condition such as load, connection number,

priority, etc.

Page 8: Logics for Data and Knowledge Representation Application of DLs: RelBAC.

State of the Art

8

AC Models AM ACL

MAC, DAC RBAC TBAC

Formalisms Non-logical Logical

May I use your

pencil?

Right Pencil Pen

Einstein Use -Use

Einstein, Use

Page 9: Logics for Data and Knowledge Representation Application of DLs: RelBAC.

Motivations

9

Natural Friendly to ordinary user Automated tools for management

Flexible Coverage of various domains Extensible for new requests

Formal Compact syntax and semantics Security Analysis

Page 10: Logics for Data and Knowledge Representation Application of DLs: RelBAC.

Where we are?

10

New Challenges Model and Logic Automated Reasoning

Reasoning tasks SoD

Page 11: Logics for Data and Knowledge Representation Application of DLs: RelBAC.

RelBAC Model

11

SUBJECT: Anna, Bob, Client 001, Friends, … OBJECT: File, Email, Picture, Music, Video, Tags, … PERMISSION: Read, Upload, Correct, Remove, … IS-A: recall the ‘is-a, is-part-of, is-instance-of’ in

application of ClassL, i.e. lightweight ontologies

SUBJECT OBJECTPERMIS-SION

Page 12: Logics for Data and Knowledge Representation Application of DLs: RelBAC.

Logic

12

ACLQIB

* a RelBAC rule may take the form of equality, but seldom used.

ER Model DL Formalization

SUBJECT Concept

OJBECT Concept

PERMISSION Role

PARTIAL ORDER Subsumption

RULE Subsumption *

Page 13: Logics for Data and Knowledge Representation Application of DLs: RelBAC.

Logic (2)

13

Partial order

e.g.:SUBJECT HIERARCHY “Coder⊑KnowDive”

OBJECT HIERARCHY “Video Entertain⊑ ”

PERMISSION HIERARCHY “Write Read⊑ ”

A1≥A2 iff A1⊑A2

U1≥U2 iff U1⊑U2

O1≥O2 iff O1⊑O2

P1≥P2 iff P1⊑P2

Page 14: Logics for Data and Knowledge Representation Application of DLs: RelBAC.

Access Control Rules

14

Three kinds of axioms

General Access Control Rules

User-centric vs. Object-centric rules

C≡D C⊑D C⊒D

U⊑∃P.O (1) U⊑≥n P.O (5)

O⊑∃P-1.U (2) O⊑≥n P-1.U (6)

U⊑∀P.O (3) U⊑≤n P.O (7)

O⊑∀P-1.U (4) O⊑≤n P-1.U (8)

Page 15: Logics for Data and Knowledge Representation Application of DLs: RelBAC.

Access Control Rules (2)

15

Policy RelBAC Representation

“All friends can download some music.”

Friend⊑∃Download.Music

“Music can be downloaded by some friend.”

Music⊑∃Download-1.Friend

“All friends can download only music.”

Friend⊑∀Download.Music

“Music can be downloaded by only friend.”

Music⊑∀Download-1.Friend

“KnowDive members should program at least one project code.”

KnowDive⊑≥1 Program.Code

“Each project code should be programmed by at most 2 KnowDive members.”

Code⊑≤2 Program-1.KnowDive

“Each manager should manage exactly 3 project codes.”

Manager⊑≤3 Manage.Code⊓⊑≥3 Manage.Code

… …

Page 16: Logics for Data and Knowledge Representation Application of DLs: RelBAC.

All to all mapping?

TAC (Total Access Control ) Rule

TAC Rule

16

{P(u1,o1),…,P(um,o1),…,P(um,on)}

∀ O.P≡∀¬P. ¬O

(∀ O.P)I = {u User∈ I| o O(o)→ P(u,o) }∀

= {u User∈ I| o ∀ ¬P(u,o) →¬O(o)}

= (∀¬P. ¬O)I

Eg. “Close friends can read all the entertainment files.”Close⊑∀ Entertain.Read

Page 17: Logics for Data and Knowledge Representation Application of DLs: RelBAC.

Correspond to Motivations

17

Natural permission -> binary relation partial order -> subsumption axiom rule -> formula(e)

Flexible hierarchy -> partial order attribute -> binary relation

Formal domain specific description logics

Page 18: Logics for Data and Knowledge Representation Application of DLs: RelBAC.

Outline

18

New Challenges Model and Logic Automated Reasoning

Reasoning tasks SoD

Page 19: Logics for Data and Knowledge Representation Application of DLs: RelBAC.

Reasoning Services

19

P->TBox ‘Business friend can update some entries.’

S->ABox ‘Bob is a business friend.’

P ∪S->ABox+TBox ‘Bob is a business friend so that he can update some

entries.’

Design vs. Run time Reasoning

Page 20: Logics for Data and Knowledge Representation Application of DLs: RelBAC.

Reasoning Tasks - Design

20

HierarchyIPod ⊑ DigitalDevice

MembershipDigitalDevice(ipod-2g0903)

Separation of duties‘customer and sales manager are to be separated.’

High-level Concern‘the 3 users to commit an order should include 1 customer,

1 sales agent and 1 sales manager.’

Page 21: Logics for Data and Knowledge Representation Application of DLs: RelBAC.

Design Time Reasoning

Hierarchy

21

IPod

Apple

Digital Device

IPhone

Software

Alice’s online shop

SymantecLenovo

Norton AntiVirus

Page 22: Logics for Data and Knowledge Representation Application of DLs: RelBAC.

Design Time Reasoning

Membership

22

Apple

Supplyer

Business

Lenovo

Lesure

Alice’s Social Network

SportCustomer

Soccer

Music

JazzVIP Hiking

Bob

Jane

Page 23: Logics for Data and Knowledge Representation Application of DLs: RelBAC.

Outline

23

New Challenges Model and Logic Automated Reasoning

Reasoning tasks SoD

Page 24: Logics for Data and Knowledge Representation Application of DLs: RelBAC.

Design Time Reasoning

Separation of Duties (from RBAC)

24

‘For a task consists of n steps, no one can complete all the steps to complete the task.’

⊓i=1n ∃Pi.Oi ⊑⊥

‘Or no one can complete more than one of the steps.’

∃Pi.Oi⊓∃Pi.Oj⊑⊥ 1≤i<j≤n E.g.: ‘To cash out a check, a check has to be signed

by a customer and cashed out by a clear (in a bank).’

∃Sign.Check Cashout.Check⊓∃ ⊑⊥

Page 25: Logics for Data and Knowledge Representation Application of DLs: RelBAC.

Design Time Reasoning

SOD High-level Concern

25

Composition of the k users

Order ⊑≥ 1Initiate-1.Customer ⊔≥ 1Process-1.Agent ⊔≥ 1Check-1.Manager

Fulfill an order

Manager

Customer

Agent

Initiates an order

Checks the order

Processes the order