You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by afshin afzali <a....@gmail.com> on 2010/06/02 13:20:47 UTC

Authorizing Anonymous Users

Hi List,

As stated in "Security Features Overview", there are three kind of
users : database readers, database admins, server admins. Also if
there are one or more server admins configured and the
require_valid_user is set to false: the request will be validated as
"anonymous". Does the anonymous user authorize to readers ? I mean it
can edit docs?

Best Regards,
-- afshin

Re: Authorizing Anonymous Users

Posted by Siegmund Führinger <si...@0xx0.net>.
hi!

On Thu, Jun 3, 2010 at 2:37 PM, afshin afzali <a....@gmail.com>wrote:

> Hi sifu,
>
> Thanks to your reply. Now just this one : If I have both of them (readers
> and admins), the anonymous still can read my docs (including design docs) ?
>

no. only users with the username or roles you defined as readers can access
a database.

cheers,
sifu

Re: Authorizing Anonymous Users

Posted by afshin afzali <a....@gmail.com>.
Hi sifu,

Thanks to your reply. Now just this one : If I have both of them (readers
and admins), the anonymous still can read my docs (including design docs) ?

Regards,
-- afshin

2010/6/3 Siegmund Führinger <si...@0xx0.net>

> hi!
>
> On Wed, Jun 2, 2010 at 1:20 PM, afshin afzali <a.afzali2003@gmail.com
> >wrote:
>
> > Hi List,
> >
> > As stated in "Security Features Overview", there are three kind of
> > users : database readers, database admins, server admins. Also if
> > there are one or more server admins configured and the
> > require_valid_user is set to false: the request will be validated as
> > "anonymous". Does the anonymous user authorize to readers ? I mean it
> > can edit docs?
> >
>
> you can specify readers and admins per database. if you don't specify
> reader
> roles or users, than anyone (even anonymous) can read the database, but
> anonyous users can't change it, if there are admin roles/users set on the
> database.
>
> i hope that answers your question.
>
> cheers,
> sifu
>
>
> >
> > Best Regards,
> > -- afshin
> >
>

Re: Authorizing Anonymous Users

Posted by Siegmund Führinger <si...@0xx0.net>.
hi!

On Wed, Jun 2, 2010 at 1:20 PM, afshin afzali <a....@gmail.com>wrote:

> Hi List,
>
> As stated in "Security Features Overview", there are three kind of
> users : database readers, database admins, server admins. Also if
> there are one or more server admins configured and the
> require_valid_user is set to false: the request will be validated as
> "anonymous". Does the anonymous user authorize to readers ? I mean it
> can edit docs?
>

you can specify readers and admins per database. if you don't specify reader
roles or users, than anyone (even anonymous) can read the database, but
anonyous users can't change it, if there are admin roles/users set on the
database.

i hope that answers your question.

cheers,
sifu


>
> Best Regards,
> -- afshin
>

Re: Authorizing Anonymous Users

Posted by afshin afzali <a....@gmail.com>.
Appreciate all comments :)

On 6/2/10, afshin afzali <a....@gmail.com> wrote:
> Hi List,
>
> As stated in "Security Features Overview", there are three kind of
> users : database readers, database admins, server admins. Also if
> there are one or more server admins configured and the
> require_valid_user is set to false: the request will be validated as
> "anonymous". Does the anonymous user authorize to readers ? I mean it
> can edit docs?
>
> Best Regards,
> -- afshin
>