[Zope] Returning a protected file

Jean Jordaan jean at upfrontsystems.co.za
Fri Aug 15 15:53:21 EDT 2003


Hi all

I want an anonymous user to request an URL like:
   http://anon:9999/feko/get?key=IM5R5M&file=foo.tar.gz

If the URL contains an acceptable key the 'get' method,
which has a proxy role of Manager, returns 'foo.tar.gz'
from a folder where anonymous doesn't have view rights.
I don't want anonymous to get the file without the key.

This almost works, but the file is returned with the name
'get', instead of 'foo.tar.gz'. Any idea how to get the
file returned under the correct name?

TIA,
-- 
Jean Jordaan
http://www.upfrontsystems.co.za




More information about the Zope mailing list