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.8

  • 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.3.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

django_sudo-1.1.3-py2.py3-none-any.whl (10.3 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for django-sudo-1.1.3.tar.gz
Algorithm Hash digest
SHA256 25713ab6310d13913fd89d9b9945bd1f6a785b400a2fbbd6112b50612969f8e0
MD5 90e2b75f51d1a9e5fdbdd4873207e11b
BLAKE2b-256 c4ad59218283fe4d2014bd01c7a1dfe1833f2f35ef8432587195750250f7745f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_sudo-1.1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b9ea6b55a748a228ce0bbd039e6eb97e219b663ab9eefeb88a43abc95664e0fe
MD5 efbbbb8a35857313fdafc4b6a5a3882d
BLAKE2b-256 e78ce07d5ef8d707c6453595360ce5f0755694d7d38726d51d85801f9fc95de0

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