[Zope] Zope security management

Toby Dickenson tdickenson@geminidataloggers.com
Tue, 27 Feb 2001 13:53:22 -0000


> My current problem revolves around the anonymous user. If I could make
> 'anonymous' a local role

Its not obvious, but you can do this.

1. Create a user 'Anon' (or whatever) with a blank password
2. Zope forces you to enter a domain limit, so use '*' which
   means 'no limit'
3. Give him the roles that you want your anonymous users to have,
   including local roles.
4.
http://localhost:8080/acl_users/setDomainAuthenticationMode?domain_auth_mode
:int=1
   to turn on domain-based authorisation.
   This involves a small performance penalty, which can be reduced
   using the patch at http://classic.zope.org:8080/Collector/2002/view
   (which will also be in version 2.3.1)

Im not sure whether thats any use to you....