A simple Django app to serve protected media
Project description
![Build Status](https://www.travis-ci.org/cobusc/protected-media-prototype.svg?branch=master)
Django Protected Media
Django Protected Media is a Django app that manages media that are considered sensitive in a protected fashion.
Not only does the media get stored in a separate filesystem location, but authorisation is also required to access it.
The application allows for setups where Django performs the authorisation, but hands off the serving of the file to a web server, like Nginx.
Quick start
Add “protected_media” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'protected_media', ]
Include the URLconf in your project urls.py like this:
url(r'^protected/', include('protected_media.urls')),
Add the following settings to settings.py:
TODO
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-protected-media-0.0.1.tar.gz
.
File metadata
- Download URL: django-protected-media-0.0.1.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d7ce7879fcc9b3c64fe13de165f907fbd59778003e04946c83217a8892f6ba6 |
|
MD5 | d7f75655e08657a96b1ffb67f709e928 |
|
BLAKE2b-256 | e23a7286f5680863dde0bf4f224544ea1dce4b76ef717864361f21968e34149c |