mattrobenolt / django-sudo

Extra security for your sensitive pages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

django-sudo

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.9-1.11
  • Python 2.7, 3.6-3.7

Resources

About

Extra security for your sensitive pages

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 100.0%