RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
...
The Thunder security permissions or ACL are defined under /etc/thunder_acl.json. Sample permissions are shown below as an example. "assign" contains a list of urls for which different roles are assigned.
"roles" define each of the roles which specify the ACL as an allow and block list. For development and testing purposes /etc/thunder_acl.json file can be copied to /opt/thunder_acl.json and edited. This is allowed only on VBN builds.
Code Block | ||||
---|---|---|---|---|
| ||||
{ "assign": [ { "url": "*://localhost", "role": "local" }, { "url": "*://testurl1.com/*", "role": "restricted1" }, { "url": "*://testurl2.com/*", "role": "restricted2" }, { "url": "*", "role": "default" } ] "roles": { "default": { "thunder": { "block": [ "*" ] } }, "local": { "thunder": { "allow": [ "*" ] } }, "restricted1": { "thunder": { "allow": [ "org.rdk.DisplaySettings", "org.rdk.Timer" ] } }, "restricted2": { "thunder": { "allow": [ "*" ], "block": [ "org.rdk.SystemServices", "org.rdk.StorageManager" ] } } } } |
...