[Zope-dev] Inhibit URL-traversal

Chris Withers chris at simplistix.co.uk
Mon Feb 13 02:42:41 EST 2006


Dario Lopez-Kästen wrote:
> from a script or template:
> container.my_product_instance.some_method(...)
> 
> but not
> 
> http://some/url/my_product_instance/some_method?...

You could try looking at some kind of __bobo_traverse__ function or 
maybe __before_publisher_traverse__. I've probably mispelled the latter, 
but it might be what you're after, since it affects the publisher but 
not method access...

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk



More information about the Zope-Dev mailing list