On Jan 25, 2017 2:03 PM, "Nash, George" <george.nash at intel.com> wrote:

I have been digging thought the documentation available on the  wiki and I
have not found any documentation that tells how to generate.



I have two questions:

(Question 1)



Is there a ACL file that basically wildcards all the permissions so the
application in question basically works the same with SECURED=1 as it did
with SECURED=0.



I recall seeing a post in the past with a permissive ACL but I could not
find it with my fast search.



Once I have the *.json file with the ACLs.  How to I generate the *.dat
file?



I want something like this so I can update unittests to just work and not
fail due to ACCESS_DENIED failure due to no ACL found.



(Question 2)

Where can I go to find out more about the ACL options.  Right now there are
many tags in the example json files that I don?t know what is expected.



I want to know things like:

-        What values are expected for the ?permission:? tag?


hi george,

until sb writes some doco your best bet is the OCF security spec.  most of
the keys in the json file map closely to resources.  e.g. there's a table
giving the permissions values.

the spec is not an easy read, but if you're starting to work with SECURE=1
it's worth the effort.

hth, gregg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170125/00a3060b/attachment.html>

Reply via email to