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 
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to