Project

General

Profile

Access Control » History » Version 6

Suravi Regmi, 11/25/2025 05:49 PM

1 1 Suravi Regmi
2
# Access Control + Policy Structure
3
4 6 Suravi Regmi
## Access Control
5
![](ck-flow.png){width:450px}
6 1 Suravi Regmi
7 6 Suravi Regmi
---
8
9
## Policy
10
Goal: limit data access to only authorized users based on terms of use and privacy risks
11
Default access: Data owner
12
13
``` yaml
14
15
policy-id        <unique-id> requesters-names <names>
16
attribute-filters
17
{
18
  allow 
19
  {
20
    <attribute 1>
21
    <attribute 2>
22
23
  }  
24
  deny
25
  {
26
    <attribute 1>
27
    <attribute 2>
28
29
  }
30
}
31
```
32
33
``` yaml
34
35
36
policy-id          A
37
requesters-names   /ndn/uofm, /edu/mit/alice
38
attribute-filters
39
{
40
  allow 
41
  {
42
    /org/md2k/mperf/dd40c
43
    /org/md2k/ATTRIBUTE/location/home
44
    /org/md2k/ATTRIBUTE/location/gym
45
    /org/md2k/ATTRIBUTE/date > 20210901
46
  }  
47
  deny
48
  {
49
    /org/md2k/ATTRIBUTE/activity/sleeping
50
  }
51
}
52
53
54
55
```
56
57
Policy Structure and Components
58
policy-id
59
requester-names
60
attribute-filters
61
Allow
62
Deny (optional)
63
64
65
---
66
67 1 Suravi Regmi
Example policy with evolution from old → new format
68
69
Filter semantics
70
71
Mapping to attributes
72 6 Suravi Regmi
73 1 Suravi Regmi
![](old_policy_used.png)
74 2 Suravi Regmi
![](old_access_control_policy_structure.png)