Skip to main content

Extra security for your sensitive pages

Project description

https://travis-ci.org/mattrobenolt/django-sudo.svg?branch=master https://coveralls.io/repos/mattrobenolt/django-sudo/badge.png?branch=master

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.4-1.7

  • Python 2.6-3.4

  • pypy

Resources

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-sudo-1.1.2.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

django_sudo-1.1.2-py2.py3-none-any.whl (10.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-sudo-1.1.2.tar.gz.

File metadata

  • Download URL: django-sudo-1.1.2.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-sudo-1.1.2.tar.gz
Algorithm Hash digest
SHA256 d8da5bf8684afc012f5deebd286f11e4063195cf82917e0c1a0929bd849a1037
MD5 8767a37f358fc2f157f14d40bba27017
BLAKE2b-256 e1e3587dd09cd2b0ebc56ff1c8f260ed4f8d4c0f638f4a84da90a64652df86e7

See more details on using hashes here.

File details

Details for the file django_sudo-1.1.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_sudo-1.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 079ee266e054ce0193c6119cca7791aa5e8786316461e5b128128dc96bdc2fe6
MD5 b25dc7f024314cb98725ed290528743c
BLAKE2b-256 2cda91d4027c095c068404547d83fc4dafa2eb117f7525e46f3f782a02d74d7b

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