Skip to main content

Puts your staging site behind a basic auth layer.

Project description

Latest PyPI version Latest Travis CI build status

A very basic Basic Auth middleware that uses a username/password defined in your environment variable or settings.py to protect whole of your site. Does not use Django auth.

Handy for quickly securing an entire site during development, for example.

Note: Environment variables is preferred over settings.py.

Usage

Installation

Warning

Please make sure that you use SSL/TLS (HTTPS) to encrypt the connection between the client and the server, when using basic access authentication. In basic access authentication username and password are sent in cleartext, and if SSL/TLS is not used, the credentials could be easily intercepted.

Compatibility

  • Django 1.5+

Licence

MIT

Authors

django-auth-wall was written by Saurabh Kumar.

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-auth-wall-0.1.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

django_auth_wall-0.1.1-py2.py3-none-any.whl (5.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-auth-wall-0.1.1.tar.gz.

File metadata

File hashes

Hashes for django-auth-wall-0.1.1.tar.gz
Algorithm Hash digest
SHA256 66865523a3162cbefeedf7ad038d9e348fce78fa6aabc8e5dc5cb4347b78bec7
MD5 0315932235659055ad611dab30d5d3b1
BLAKE2b-256 fec846679dc99057cd69d136714c6d581e5363ad502d9ccafde5674d80aa986c

See more details on using hashes here.

File details

Details for the file django_auth_wall-0.1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_auth_wall-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 78823bef09ff91f1529d5a3f8a06c333842a6987698eab966d9a3ddbb5322955
MD5 099e4d7153f317500f47920b9d9e0963
BLAKE2b-256 5d08130971ecb01176141b47e18bb42a39855bbf602f5162e0c0b987dcabcbdc

See more details on using hashes here.

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