Django, Apache, and X-SendFile in Debian
The idea for this post is to allow downloading files only to restricted users. The only constraint for now is that users are logged in. As I add more code to the Django app, I plan to include the ability to specify which users should have access to which files. More here
This post assumes that you have a working Apache server with VirtualHost file setup for a Django project. I also assume that you would want to access files using a URL scheme such as http://example.com/download/filename.ext where filename.ext represents the file you want to download.
Debian News RSS Feed
No Response to “Django, Apache, and X-SendFile in Debian” »
No comments yet.
RSS feed for comments on this post. TrackBack URI
Leave a comment