[Zope] how to prevent URL access to an external method?

Jaroslav Lukesh lukesh at seznam.cz
Tue Apr 28 12:29:51 EDT 2009


MEthod1: security allow view only for manager

Method2: contain calling of method1, security: view for anonymous or role 
what you want for.


----- Original Message ----- 
From: "Pedro LaWrench" <pedrolawrench at yahoo.com>



What would you change on the security tab? I still want my authenticated 
users to have access to the method as a call to it is made from unrestricted 
space (such as a page template), I just don't want them to call the method 
directly.



----- Original Message ----
From: Jaroslav Lukesh <lukesh at seznam.cz>
To: zope at zope.org; Tres Seaver <tseaver at palladion.com>
Sent: Tuesday, April 28, 2009 8:50:29 AM
Subject: Re: [Zope] how to prevent URL access to an external method?

Why? It is more transparent and better way - use security tab.




More information about the Zope mailing list