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

Uploaded Source

Built Distribution

django_sudo-1.1.1-py2.py3-none-any.whl (10.0 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for django-sudo-1.1.1.tar.gz
Algorithm Hash digest
SHA256 864583536edb73dbf4c59e54c0ff569fd2b8145cc356b1bcea4b8b219efd2af8
MD5 1eea5cd6a88033b5259758d847e6ae31
BLAKE2b-256 224d51b8eb158efec9b96ea0944c2b1b69f0dc75b607ae48b9f7e0cf9f9b5053

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_sudo-1.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c9b794401a7f302f74ea04eb88054820cc61e129500c97fda03474f1c3d72519
MD5 c915d0cd9752389c9c6cac81c26c943a
BLAKE2b-256 abc6693924ec6989dbe92097adf804843f60227af883dfe372e678d6e2506ff4

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