On Dec 17, 2005, at 12:10 PM, Mark H. wrote:
If you want to do this one way I can think of is the use the
ezcrypto lib you found and with a few other steps you could make it
work. What you could do is once the file is uploaded, read it into a
string and Base64 encode it before it goes in the db or on the
filesystem. Then when it comes time to send the file down to a user
again, you can read it in and unencode it form base64 and then
decrypt it and use send_file or send_data to get it to the browser.
There might be a much better way to do this with less overhead but
this is one way.
Yakima Herald-Republic Newspaper