
pedrolawrench at yahoo
Apr 28, 2009, 8:23 AM
Post #5 of 14
(2753 views)
Permalink
|
|
Re: how to prevent URL access to an external method?
[In reply to]
|
|
I don't know what this means. BTW, I'm using Zope 2.9.8, if that matters, along with Plone 2.5.4. ________________________________ From: Andreas Jung <lists [at] zopyx> To: Pedro LaWrench <pedrolawrench [at] yahoo> Cc: zope [at] zope Sent: Tuesday, April 28, 2009 8:09:14 AM Subject: Re: [Zope] how to prevent URL access to an external method? Use a BrowserView?! -aj On Tue, Apr 28, 2009 at 17:04, Pedro LaWrench <pedrolawrench [at] yahoo> wrote: I need to do something on the filesystem, which requires unrestricted python, so I created an external method. The problem is that anyone can call that directly via URL, so I added a permission check. Even then, users with the sufficient permissions can call this via URL, which I don't want them to do. I only want them to have access indirectly from other pages (such as a page template that will pass sane parameters). Is there anyway to do this? Thanks, PL _______________________________________________ Zope maillist - Zope [at] zope 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 )
|