A Semi-Automated Methodology for extracting access control rules - - PowerPoint PPT Presentation

a semi automated methodology
SMART_READER_LITE
LIVE PREVIEW

A Semi-Automated Methodology for extracting access control rules - - PowerPoint PPT Presentation

A Semi-Automated Methodology for extracting access control rules from the EU- DPD Dr. Kaniz Fatema Research Fellow ADAPT Centre Trinity College Dublin, Ireland E: Kaniz.Fatema@scss.tcd.ie IWPE 16, San Jose, CA. The ADAPT Centre is funded


slide-1
SLIDE 1

A Semi-Automated Methodology for extracting access control rules from the EU- DPD

The ADAPT Centre is funded under the SFI Research Centres Programme (Grant 13/RC/2106) and is co-funded under the European Regional Development Fund.

Research Fellow ADAPT Centre Trinity College Dublin, Ireland E: Kaniz.Fatema@scss.tcd.ie IWPE 16, San Jose, CA.

  • Dr. Kaniz Fatema
slide-2
SLIDE 2

www.adaptcentre.ie

Policy Based Authorisation System

Access to the resource is protected by policies.

Authorisation system

PEP=Policy Enforcement Point PDP=Policy Decision Point

Database Policies PDP PEP

slide-3
SLIDE 3

www.adaptcentre.ie

Authors of Privacy Policies Privacy Policies may be defined by a number of authors.

  • Data subject, - whose data is being accessed.
  • Issuer, e.g.- The Doctor for medical note, University

for degree certificate, data subject is the issuer of personal information such as favorite drink.

  • Controller, e.g.- the health insurance company

holding medical record of the data subject, or facebook for personal data.

  • Law, e.g.- EU data protection directive.
slide-4
SLIDE 4

www.adaptcentre.ie

The Proposed System (in a Simplified Form)

4

PEP Master PDP 1 2 3 4 Legal PDP Issuer PDP Data subject PDP Contr

  • ller

PDP The authorisation system

CRP

CRP=Conflict Resolution Policy CRR=Conflict Resolution Rule {condition, DCR} DCR=Decision Combining Rule

Access Control Policies Database

slide-5
SLIDE 5

www.adaptcentre.ie

The Methodology for Obtaining Legal Policies

  • Step1. Listing the Legal provisions that are directly

related to access control.

  • Step2. Analysing and Extracting the Legal Access

Control Policy

  • Step3. Refining the Access Control Policies
  • Step4. The formalization of the access control rules

using CNL

  • Step 5. Convert the controlled natural language

rules into executable rules

  • Step 6. Validate the obtained Legal rules.

5

slide-6
SLIDE 6

www.adaptcentre.ie

  • Step1. Listing the Legal Provisions

Related to Access Control.

The European Union Data Protection Directive consists of eight chapters and 34 articles. For our implementation we considered only the articles directly related to access control. Keywords: process, prohibit, access, collect, block, transfer (i.e. mentions an action on personal data)

6

slide-7
SLIDE 7

www.adaptcentre.ie

For example, Article 8.4 states that “Subject to the provision of suitable safeguards, Member States may, for reasons of substantial public interest, lay down exemptions in addition to those laid down in paragraph 2 either by national law or by decision

  • f the supervisory authority.”

Step 1 (continued…)

slide-8
SLIDE 8

www.adaptcentre.ie

  • Step2. Analysing and Extracting the Legal

Access Control Policy

Access control rules are those that are capable of answering who is allowed to do what on personal data under what condition/s.

  • r

On what conditions the personal data can be accessed.

8

slide-9
SLIDE 9

www.adaptcentre.ie

Analysing the Legal Texts in Step 2

9

The article 6.1 (a) says “personal data must be processed fairly and lawfully” –This legal rule is too vague to form an automated access control rule. Later in article 7 the criteria for making data processing legitimate are described, these are converted into access control rules.

slide-10
SLIDE 10

www.adaptcentre.ie

10

Article 12(b) states that “as appropriate the rectification, erasure or blocking of data the processing of which does not comply with the provisions of this Directive” This is not possible to convert into an automated rule as it requires human judgement to ensure that the processing complies with the directive or not. Analysing the Legal Texts in Step 2 (Cont...)

slide-11
SLIDE 11

www.adaptcentre.ie

Article 7(f) “processing of personal data for legitimate interest are allowed except where such interests are overridden by the fundamental rights and freedom of data subject” It presents an extremely complex condition where the balance of interests are not feasible to be presented in an access control policy.

Analysing the Legal Texts in Step 2 (Cont...)

slide-12
SLIDE 12

www.adaptcentre.ie

  • Step3. Refining the Access Control Policies
  • Grouping similar rules together.
  • Ordering them in terms of the exceptions that need

to be evaluated before the ones without exceptions. For example, data subjects are allowed unconditional access to their personal data that are held by a data controller, but not if law enforcement would be jeopardised by this. Consequently the rule that concerns law enforcement must be evaluated before the rule that grants the data subject unconditional access.

12

slide-13
SLIDE 13

www.adaptcentre.ie

  • Step4. The Formalization Rules Using CNL
  • Subject (who)
  • Action (can/cannot perform what)
  • Resource (on which data item)
  • Condition (under which conditions)
  • Effect (grant/deny/BreakTheGlass)
  • Obligation (subject to these actions being carried
  • ut)

13

slide-14
SLIDE 14

www.adaptcentre.ie

Example of CNL Converted Rules

Policy No. Articles Legal Natural Language Policies 1. Article 6.1 (b)

If the requested purpose of processing does not match with any of the original purposes of collection

  • r

is not for a historical purpose/statistical purpose / scientific purpose deny the request. No.

  • f

rule Controlled Natural Language Rule in ABNF 1. ACR 1: If the Action:Purpose:string is not the Resource:PurposesOfCollection:string OR the Action:Purpose:string is not a "historical purpose" / "statistical purpose" / "scientific purpose" then Deny the Access to the PersonalData.

slide-15
SLIDE 15

www.adaptcentre.ie

Step 5. Convert the CNL into Executable Rules

15

slide-16
SLIDE 16

www.adaptcentre.ie

Example of intermediate.xml

<rule-definition>ACR <rule-id><STRING>3</STRING></rule-id>: <rule-statement>If <conditions><condition> <article>the</article> <attributes><attribute> <category>Environment</category>: <name><STRING>RequestTime</STRING> </name>:<type>date</type> </attribute></attributes> <relationalOperator>is less than</relationalOperator> <attributes><attribute> <category>Resource</category>: <name><STRING>ValidityTime</STRING> </name>:<type>date</type></attribute></attributes> </condition></conditions> then <GrantOrDeny>Deny</GrantOrDeny><article>the</arti cle> <actions><action><word>Access</word></action></ac tions> <prep>to</prep><article>the</article> <ResourceType><word>PersonalData</word></Resour ceType></rule-statement>.</rule-definition>

“ACR 3: If the Environment:RequestTime: date is less than Resource:ValidityTime:date then Deny the Access to the PersonalData.”

CNL rules

slide-17
SLIDE 17

www.adaptcentre.ie

<ResourceAttributeDesign ator AttributeId="ValidityTime" DataType="http://www.w3.or g/2001/XMLSchema#date"/> <attribute> <category>Resource</category >: <name><STRING>ValidityTime </STRING> </name>:<type>date</type>< /attribute>

Intermediate.xml XACML policy.xml Example of XACML policy produced from the input.txt

slide-18
SLIDE 18

www.adaptcentre.ie

Step 6. Validate the Obtained Legal Rules

18 18

Data Subject’s PDP Subject Chooses preferences Preferences are converted into policies

Authorisation system of Kent Health Centre

Use Cases

slide-19
SLIDE 19

www.adaptcentre.ie

Use Cases (Continued …) Data Subject’s Policy

  • The Doctor of Kent Health centre can read /

write /update my medical data.

  • Researcher are allowed to read my medical

data if the data can be anonymised.

19

slide-20
SLIDE 20

www.adaptcentre.ie

20

Medical record

  • f subject

Authorisation system of Kent Health Centre

Treating Dr Legal CRP returns DCR=GrantOverrides Legal PDP returns decison = Grant

Use Cases (Continued …)

slide-21
SLIDE 21

www.adaptcentre.ie

21

Legal CRP returns DCR=GrantOverrides Legal PDP returns decision = Grant

21

Medical record

  • f subject

Authorisation system of Kent Health Centre

Subject

Use Cases (Continued …)

slide-22
SLIDE 22

www.adaptcentre.ie

22 22

Medical record

  • f subject

Authorisation system of Kent Health Centre

Legal CRP returns DCR=GrantOverrides Legal PDP returns decision = BTG Dr at London hospital

Use Cases (Continued …)

slide-23
SLIDE 23

www.adaptcentre.ie

23

Therapeutic Exception=true Legal CRP returns DCR=DenyOverrides Legal PDP returns decision = Deny

23

Medical record

  • f subject

Authorisation system of Kent Health Centre

Subject

Use Cases (Continued …)

slide-24
SLIDE 24

www.adaptcentre.ie

24

Legal CRP returns DCR=DenyOverrides Data Subject’s PDP returns decision = Grant with obligation to anonymise data

24

Medical record

  • f subject

Authorisation system of Kent Health Centre

Researcher

Use Cases (Continued …)

slide-25
SLIDE 25

www.adaptcentre.ie

Facts and Findings

We applied our approach on 53 rules of the EU DPD. From the 53 rules of the EU DPD that were considered for analysis in step 2, 27 of them could contribute to the construction of enforceable authorisation rules. However, 14 rules among these 53 are found to be guidelines or instructions only and did not therefore map into authorisation rules. 3 rules are supported by the system design. The remaining 9 rules are found to be too dependent on

  • ther laws or human judgement to be turned into access

control rules by themselves.

slide-26
SLIDE 26

www.adaptcentre.ie

Previous Work in a Nutshell

Legal text CNL Enforceable Rules Data Subjects’ preferences Enforceable Rules Enforceable Rules Organisation’s policy System Admin Interface for preference selection EU DPD

slide-27
SLIDE 27

www.adaptcentre.ie

Future Direction

GDPR CNL Enforceable Rules Privacy Paradigm Semantic Model CONSENT COMPLIANCE Recommen- dation Services T&C Data Subject’s preferences Natural language presentation

slide-28
SLIDE 28

www.adaptcentre.ie

Question?