Extra security for your sensitive pages
Project description
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.4-1.8
Python 2.6-3.4
pypy
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-1.1.3.tar.gz
(7.2 kB
view hashes)
Built Distribution
Close
Hashes for django_sudo-1.1.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9ea6b55a748a228ce0bbd039e6eb97e219b663ab9eefeb88a43abc95664e0fe |
|
MD5 | efbbbb8a35857313fdafc4b6a5a3882d |
|
BLAKE2b-256 | e78ce07d5ef8d707c6453595360ce5f0755694d7d38726d51d85801f9fc95de0 |