Skip to main content

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

  1. Add “protected_media” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        'protected_media',
    ]
  2. Include the URLconf in your project urls.py like this:

    url(r'^protected/', include('protected_media.urls')),
  3. 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

django-protected-media-0.0.1.tar.gz (6.4 kB view details)

Uploaded Source

File details

Details for the file django-protected-media-0.0.1.tar.gz.

File metadata

File hashes

Hashes for django-protected-media-0.0.1.tar.gz
Algorithm Hash digest
SHA256 8d7ce7879fcc9b3c64fe13de165f907fbd59778003e04946c83217a8892f6ba6
MD5 d7f75655e08657a96b1ffb67f709e928
BLAKE2b-256 e23a7286f5680863dde0bf4f224544ea1dce4b76ef717864361f21968e34149c

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page