[Zope] Authentication on a Folder?

Ferhat Ayaz ferhatayaz at yahoo.com
Mon Sep 11 04:05:01 EDT 2006


Hi,

I want to restrict access to a subfolder:

Folder structure:
---------------------------------
Root Folder
 +- MySite
      +- Admin


Access limitation:
---------------------------------
My Site: Public for all
Admin: Only with Basic Authentication

Notes:
---------------------------------
My page templates under 'MySite' use Script (Python)
calls from Admin folder like:

index_html (in MySite):
---------------------------------
<html>
...
<tal:contain define="user container/Admin/getUser">
 ...
</tal:container>
...
</html>

But 'getUser' should not be able for access from
outside the application server.

How can I do this? 

Thanks very much,
Ferhat



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Zope mailing list