敏感页的额外安全性

django-sudo的Python项目详细描述


django sudo
==


…图片::https://travis-ci.org/mattrobenolt/django-sudo.svg?branch=master
:目标:https://travis ci.org/mattrobenolt/django sudo

…图片::https://covertalls.io/repos/mattrobenolt/django-sudo/badge.png?branch=master
:目标:https://coveralls.io/r/mattrobenolt/django-sudo?branch=master

..

sudo模式是对最敏感页面的额外安全层。
这是github的“sudo模式”的实现
<;https://github.com/blog/1513为“django”介绍github sudo模式>;``uhttps://www.djangoproject.com/>;``ubr/>

~~~~~~~~~~~~~~~~~~~~~~~~
``django sudo``在用户已经登录后提供额外的安全层。视图可以用`@sudo_required``修饰,然后用户必须重新输入密码才能查看该页。验证密码后,该用户在“sudo cookie age”期间拥有
提升的权限。此持续时间与
正常会话持续时间无关,允许较短的提升权限持续时间,但保留较长的用户会话。

代码块:console







兼容性
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~sudo.readthedocs.io/en/latest/security/index.html>;`
*`changelog<;https://django sudo.readthedocs.io/en/latest/changelog/index.html>;。`_

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java如何在try块中抛出异常并终止程序   java通过spring boot创建可重用模块   testng上组的java交集。xml   用junit检查Java   netbeans针对Java 5编译web应用程序,但不支持字符串。isEmpty()仍然被允许吗?   使用java显示文件夹中的图像   java如何在输入非数字时修复用户输入错误。下一个双倍?   java Hibernate Hibernate完成saveOrUpdate Vs saveOrUpdateAll   java为什么使用netty循环writeAndFlush发送数据包必须让线程休眠一段时间?   java如何使用onResponse json函数更改安卓片段中的公共字符串值   java DateTimeFormatter严格与宽松的意外行为   java访问neo4jogm的映射上下文   Java使用多个堆栈允许“撤消”方法   java单击图像并对其应用seekbar resize