skip to navigation
skip to content

django-sudo 2.1.0

Extra security for your sensitive pages


.. image::

.. image::


| Sudo mode is an extra layer of security for your most sensitive pages.
This is an implementation of GitHub's `Sudo Mode
<https:"" blog="" 1513-introducing-github-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.


.. code-block:: console

$ pip install django-sudo

* Django 1.4-1.9
* Python 2.6-3.5
* pypy

* `Documentation <https:""/>`_
* `Security <https:"" en="" latest="" security="" index.html="">`_
* `Changelog <https:"" en="" latest="" changelog="" index.html="">`_  
File Type Py Version Uploaded on Size
django-sudo-2.1.0.tar.gz (md5, pgp) Source 2016-07-26 7KB
django_sudo-2.1.0-py2.py3-none-any.whl (md5, pgp) Python Wheel py2.py3 2016-07-26 11KB