[Zope] newbie questions ?

Andy McKay andym@ActiveState.com
Mon, 23 Oct 2000 10:41:47 -0700


You could also do (and I would recommend it) by using the security system
Zope give you. For example if you go to your root zope folder, click on
security and deselect View for Anonymous User, this will have the same
effect.

----- Original Message -----
From: "Olivier Ricou" <ricou@aui.fr>
To: <zope@zope.org>
Sent: Monday, October 23, 2000 9:01 AM
Subject: Re: [Zope] newbie questions ?


> On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote:
> > And by the way, it's "authentication".  Every time I see
"authentification",
>
> guess how we say in french :)
>
> Here is the solution I found to do the .htaccess feature (I haven't found
> where it is written) : I put in my standard_html_header
>
> <dtml-if expr="AUTHENTICATED_USER.getUserName()=='Anonymous User'">
> <dtml-raise Unauthorized>
> Il faut un compte pour voir ces pages.
> </dtml-raise>
> </dtml-if>
>
> and I add a new type of user with no rights in the acl_user folder.
> Hence each person with want to see the site should have an account,
> at least a no right account.
>
> Olivier.
>
> ps: the french sentence is useless since it never appears.
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>