Re: [Zope-DB] How to prevent the manage from outer connections ?
23 Jul
2004
23 Jul
'04
7:53 p.m.
fowlertrainer@anonym.hu wrote at 2004-7-23 08:36 +0200:
... It is an intranet site, but some functions are needed to access from "outernet".
I don't want to anyone manage my site from outside. How to prevent these requests ?
A "PostAuthenticationHook" might help you. In such a hook, you can check whether the current user has a "Manager" role and raise "Unauthorized" when it comes from outside your intranet. Zope does not support "PostAuthenticationHooks" out of the box (I think, at least). But there are two implementations around: one is in the Zope collector, the other is on my Zope page <http://www.dieter.handshake.de/pyprojects/zope> -- Dieter
7926
Age (days ago)
7926
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dieter Maurer