Re: [dev] Question about discoverable resources

2018-01-16 Thread Dave Thaler via iotivity-dev
: iotivity-dev-boun...@lists.iotivity.org [mailto:iotivity-dev-boun...@lists.iotivity.org] On Behalf Of Eduardo Henrique Alves Maia M Oliveira Sent: Monday, January 15, 2018 8:46 AM To: Mats Wichmann Cc: iotivity-dev@lists.iotivity.org Subject: Re: [dev] Question about discoverable resources Hi

Re: [dev] Question about discoverable resources

2018-01-15 Thread Eduardo Henrique Alves Maia M Oliveira
Hi guys, Excuse my dumbness but I'm not really getting it. How do you define in the ACL which resources are DISCOVERABLE? Because even if oic/res/ ask the client to authenticate, if I gave access to /oic/res/, the client will be able to discover any resource by only knowing it's type. Sure, the cl

Re: [dev] Question about discoverable resources

2018-01-12 Thread Mats Wichmann
On 01/12/2018 01:46 PM, Gregg Reynolds wrote: > On Jan 12, 2018 2:24 PM, "Thiago Macieira" > wrote: > > On Friday, 12 January 2018 09:24:28 PST Filipe de Melo Silva wrote: >> So, are you saying that is impossible to reproduce this situation? > Suppose >> that we have a resource that can be discov

Re: [dev] Question about discoverable resources

2018-01-12 Thread Gregg Reynolds
On Jan 12, 2018 2:24 PM, "Thiago Macieira" wrote: On Friday, 12 January 2018 09:24:28 PST Filipe de Melo Silva wrote: > So, are you saying that is impossible to reproduce this situation? Suppose > that we have a resource that can be discovered ONLY by a certain kind of > users (ex.: Administrator

Re: [dev] Question about discoverable resources

2018-01-12 Thread Thiago Macieira
On Friday, 12 January 2018 09:24:28 PST Filipe de Melo Silva wrote: > So, are you saying that is impossible to reproduce this situation? Suppose > that we have a resource that can be discovered ONLY by a certain kind of > users (ex.: Administrators), does IoTivity support it? I'm not sure that's

Re: [dev] Question about discoverable resources

2018-01-12 Thread Gregg Reynolds
On Jan 12, 2018 11:24 AM, "Filipe de Melo Silva" wrote: So, are you saying that is impossible to reproduce this situation? Suppose that we have a resource that can be discovered ONLY by a certain kind of users (ex.: Administrators), does IoTivity support it? See chapter 6 of the security spec.

Re: [dev] Question about discoverable resources

2018-01-12 Thread Filipe de Melo Silva
So, are you saying that is impossible to reproduce this situation? Suppose that we have a resource that can be discovered ONLY by a certain kind of users (ex.: Administrators), does IoTivity support it? On Fri, Jan 12, 2018 at 12:56 PM, Thiago Macieira wrote: > On Friday, 12 January 2018 07:25:

Re: [dev] Question about discoverable resources

2018-01-12 Thread Thiago Macieira
On Friday, 12 January 2018 07:25:13 PST Filipe de Melo Silva wrote: > Hi, > > Maybe you guys can help me with something. I have 2 resources (A and B) and > 2 devices (X and Y). I want to allow X to discover A and NOT B. The > opposite to Y (be able to discover B and NOT A). Can it be done? If so,

[dev] Question about discoverable resources

2018-01-12 Thread Filipe de Melo Silva
Hi, Maybe you guys can help me with something. I have 2 resources (A and B) and 2 devices (X and Y). I want to allow X to discover A and NOT B. The opposite to Y (be able to discover B and NOT A). Can it be done? If so, how? Can I do this kind of discover access control by the Access Control List