Extra security for your sensitive pages
Project description
What is this for?
Elevate provides an extra layer of security beyond initial user authentication. Views can be decorated with @elevate_required, and then users must re-authenticate to access that resource. This might be useful for deleting objects, canceling subscriptions, and other sensitive operations. After re-authentication, the user has elevated permissions for the duration of ELEVATE_COOKIE_AGE. This duration is independent of the normal session duration, allowing for short elevated permission durations while still retaining long user sessions.
Installation
$ pip install django-elevate
Compatibility
Django 1.8 - 2.0
Python 2.7 - 3.6
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-elevate-1.0.0.tar.gz
(7.4 kB
view hashes)
Built Distribution
Close
Hashes for django_elevate-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3c303ac825f6ca03bd95b781a0981ac1f93a98671722d7656060cf4c273bb6e |
|
MD5 | 13bb824a12923307ec25efa9615b21ab |
|
BLAKE2b-256 | f5ce9635166182cd896a2e504f63624a794be57c1cd1ce553ebc426bfa40b5fe |