Django - serving and managing permissions for static content

Posted by kRON on Stack Overflow See other posts from Stack Overflow or by kRON
Published on 2010-04-25T09:03:30Z Indexed on 2010/04/25 9:13 UTC
Read the original article Hit count: 298

Filed under:
|
|

I have certain documents that I want to limit access to through Django to authorized users with permissions only.

If I'm going to use Django as a proxy to serve static files in a view, what are the implications? I'm used to serving static files in Apache and configuring that my media is served without any handlers, but what happens if someone starts downloading 500mb through my Django proxy? Will my Django thread be locked for that user until he recieves the 500mb response?

© Stack Overflow or respective owner

Related posts about django

Related posts about static