Re: [WAC] regexps in WebAccessControl

mike amundsen wrote:
> ok, can't let this go....
> 
> <snip>
> This couples your access control to your URI structure.
> </snip>
> yes, it does.
> 
> i *always* (as far back as i can remember) secure the interface (resources
> on the server) via the URL. in fact, i use:
> 
> Access[true/false] = (URL + Protocol_Method + User_Identity)
> 
> for first-line authorization.
> 
> tell me why this is a problem.

Extending slightly what Ruben wrote - Nothing wrong with it, that's what 
WebACL is - the proposal is to look at the lexical representation of the 
URI and base access control on whether the URI regexp matches not, or 
perhaps further, to base access control rules on specific server side 
directory structures which are only known behind the interface.

If we consider the case of generic data storage, then WebACL rules may 
often be sent sent by the client, for the server to apply to the 
resource, in relation to resources they control - would we want clients 
to have to know about implementation details hidden by the interface, 
such as directory structures (or even if there are directories!).

To me, regexp matching seems like it may be fairly useful, but something 
- which I can't quite vocalise (other than uri opacity axiom), and 
focusing on uri structure - is worrying me a little about it.

This is an area you understand well Mike, so any input you have as to 
what the positives and negatives are would be greatly appreciated.

Cheers,

Nathan

> On Sun, Nov 18, 2012 at 10:49 AM, Nathan <nathan@webr3.org> wrote:
> 
>> Ruben Verborgh wrote:
>>
>>>  It is often useful to be able to specify that all resources in a
>>>> collection ( a directory ) or a whole namespace (say all resources
>>>> under /user/jack/.*
>>>>
>>> This couples your access control to your URI structure. I’m not sure you
>>> want to do that.
>>>
>> Agreed.
>>
>>
>>
> 

Received on Sunday, 18 November 2012 18:13:44 UTC