Extra security for your sensitive pages
Project description
django-sudo
Sudo mode is an extra layer of security for your most sensitive pages.
This is an implementation of GitHub's Sudo Mode for Django.
What is this for?
django-sudo
provides an extra layer of security for after a user is already logged in. Views can
be decorated with @sudo_required
, and then a user
must re-enter their password to view that page. After verifying their password, that user has
elevated permissions for the duration of SUDO_COOKIE_AGE
. This duration is independent of the
normal session duration allowing short elevated permission durations, but retain long user sessions.
Installation
$ pip install django-sudo
Compatibility
- Django 1.9-1.10
- Python 2.7, 3.6-3.7
Resources
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-sudo-3.0.0.tar.gz
(7.6 kB
view hashes)
Built Distribution
Close
Hashes for django_sudo-3.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 186bb1b4e262e729f3c3aceefca92915df5d06c8401294f3a6feb91ea8605e88 |
|
MD5 | d60990d6dcb24eae7cd2827415895671 |
|
BLAKE2b-256 | 0342d0a1308b8780cfb9b54373dd2757202b17a3f1bf6831369b4d09f29179ef |