On 6 Feb 2009, at 08:32, Armin Ronacher wrote:

> I stronly recommend against serving static files from Python for
> production sites.  Configuring Apache to serve static files in a  
> folder
> is a one-liner and it shouldn't be much harder for other servers.

Out of interest, do you have a recommendation for applying aplication  
security to file downloads when serving through Apache?  For example  
making sure that only a certain user or group of users can download a  
file?

I agree with the general principle of serving static content through  
Apache, but I haven't found a good solution for when you have  
application security set up (users in a database etc) and need to  
restrict files.

Thanks

Ed



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pocoo-libs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to