[Zope] no-login account for local users

Radek Kotowicz kor at power.com.pl
Wed Feb 9 03:33:52 EST 2005


On Feb 8, 2005, at 5:57 PM, J. Cameron Cooper wrote:

> Radek Kotowicz wrote:
>
>>  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?
>
> I suspect you may be able to write a custom UserFolder for that, and 
> you could probably get away with inheriting from the existing 
> UserFolder to do most of the work, and creating a new user class 
> concerned with domain only.
>
> See Zope/lib/python/AccessControl/User.py
>
> 	--jcc
>

Thanks for that hint - that's probably the solution I need.

rk



More information about the Zope mailing list