[Zope] Setting up a simple restricted access

Martijn Pieters mj@antraciet.nl
Tue, 17 Aug 1999 17:07:07 +0200


At 16:17 17/08/99 , Arnaud Lecat wrote:
>Hi
>
>What was easy for me with htaccess files is now awful with Zope :) Just
>joking...
>but I sure miss something.
>
>I'd like to avoid any visit (except my managers) from outside on my Zope
>project...
>How to do that  ? I've tried stuff like the following
>
><!--#if "AUTHENTICATED_USER.name=='AnonUser'"-->
><!--#call "RESPONSE.redirect('denied')"-->
><!--#/if-->
>
>But none works
>
>Heeeelp

Just remove all permissions for Anonymous users, on the security tab of the 
root folder, or cut the acquisition line on any subfolder's security tab by 
deselecting the 'acquire permission settings' boxes.

--
Martijn Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| Tel: +31-35-7502100 Fax: +31-35-7502111
| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
------------------------------------------