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.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

django_sudo-1.1.0-py2.py3-none-any.whl (9.2 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for django-sudo-1.1.0.tar.gz
Algorithm Hash digest
SHA256 42e765b22b5b14bb2c999d0879f9804372959464a4dc445932753b5fdb3293b2
MD5 ca37053b9bb06b378e1ff4041b273f5d
BLAKE2b-256 450b5fec40b14dd80f0f2edd49b515281cebbd07088b0aab11d148b086f73e53

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_sudo-1.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 41ef139a5f68f06925f9d6c0cd95263ede3e47f25aa3a7b934df213d1d611f28
MD5 27085e9c08064fa8ed658a7dbe19353e
BLAKE2b-256 35f43c75259ee1d8ce645a838a50991831146e5d241f9b4efabe83919664c21a

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