[Zope] Proxy Authorization for Page Templates

Andreas Jung andreas at andreas-jung.com
Fri Feb 6 15:43:12 EST 2004


you might try to add use a .metatdate file (for foobar.pt):

foobar.pt.metadata:

[security]
proxy=Manager

This requires CMF 1.4+ I think .

-aj

--On Freitag, 6. Februar 2004 13:29 Uhr -0700 Edward Pollard 
<pollej at uleth.ca> wrote:

> In regards to Proxy Authorization for Page Templates:
>
> 1) Is there a reason they don't have it out of the box?
> 2) Is there any way to modify them so they can have this?
>
> For most of my work, the python scripts are called from page templates.
> Being able to restrict the execution of those scripts to a specific page
> template via proxy authorization would be very desirable. I use this
> feature to prevent direct execution of the Z SQL Methods the scripts
> call, but cannot protect the scripts in a similar fashion which is
> somewhat frustrating.
>
> Edward
>
>
> _______________________________________________
> Zope maillist  -  Zope at 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 )







More information about the Zope mailing list