[Zope] no-login account for local users

Dieter Maurer dieter at handshake.de
Wed Feb 9 17:05:38 EST 2005


Radek Kotowicz wrote at 2005-2-8 09:16 +0100:
>  I'd like to create a default nologin user account for users accessing 
>pages from local network (10.*.*.*) so that they do not have to 
>authenticate.
>I know that you can add additional IP contraints once you have a normal 
>(password based authentication) account.
>Could you give me any hints?

The stock Zope "UserFolder" has such a feature.
However, it is disabled (for security reasons -- it is not
too difficult to fake an IP address).

You can enable it with the "setDomainAuthenticationMode" method.

-- 
Dieter


More information about the Zope mailing list