9 Feb
2005
9 Feb
'05
10:05 p.m.
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