Skip to main content

Extra security for your sensitive pages

Project description

https://travis-ci.org/justinmayer/django-elevate.svg?branch=master https://coveralls.io/repos/github/justinmayer/django-elevate/badge.svg?branch=master
Elevate mode offers 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?

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django_elevate-1.0.0-py2.py3-none-any.whl (11.3 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Jun 25, 2018
django-elevate-1.0.0.tar.gz (7.4 kB) Copy SHA256 hash SHA256 Source None Jun 25, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page