{"id":13491292,"url":"https://github.com/mattrobenolt/django-sudo","last_synced_at":"2025-04-04T23:08:01.338Z","repository":{"id":15133293,"uuid":"17860497","full_name":"mattrobenolt/django-sudo","owner":"mattrobenolt","description":"Extra security for your sensitive pages","archived":false,"fork":false,"pushed_at":"2021-06-18T00:14:19.000Z","size":123,"stargazers_count":281,"open_issues_count":4,"forks_count":27,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-10-12T19:24:30.503Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mattrobenolt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"docs/security/index.rst","support":null}},"created_at":"2014-03-18T09:35:33.000Z","updated_at":"2024-09-29T18:44:11.000Z","dependencies_parsed_at":"2022-09-13T10:51:36.347Z","dependency_job_id":null,"html_url":"https://github.com/mattrobenolt/django-sudo","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattrobenolt%2Fdjango-sudo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattrobenolt%2Fdjango-sudo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattrobenolt%2Fdjango-sudo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattrobenolt%2Fdjango-sudo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattrobenolt","download_url":"https://codeload.github.com/mattrobenolt/django-sudo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247261604,"owners_count":20910108,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T19:00:55.290Z","updated_at":"2025-04-04T23:08:01.319Z","avatar_url":"https://github.com/mattrobenolt.png","language":"Python","funding_links":[],"categories":["Security","Libs","Python","安全性"],"sub_categories":["Other"],"readme":"# django-sudo\n\n[![](https://travis-ci.org/mattrobenolt/django-sudo.svg?branch=master)](https://travis-ci.org/mattrobenolt/django-sudo) [![](https://coveralls.io/repos/mattrobenolt/django-sudo/badge.png?branch=master)](https://coveralls.io/r/mattrobenolt/django-sudo?branch=master)\n\n\u003e Sudo mode is an extra layer of security for your most sensitive pages.\u003cbr\u003e\n\u003e This is an implementation of GitHub's [Sudo Mode](https://github.com/blog/1513-introducing-github-sudo-mode) for [Django](https://www.djangoproject.com/).\n\n## What is this for?\n\n`django-sudo` provides an extra layer of security for after a user is already logged in. Views can\nbe decorated with `@sudo_required`, and then a user\nmust re-enter their password to view that page. After verifying their password, that user has\nelevated permissions for the duration of `SUDO_COOKIE_AGE`. This duration is independent of the\nnormal session duration allowing short elevated permission durations, but retain long user sessions.\n\n## Installation\n\n```console\n$ pip install django-sudo\n```\n\n## Compatibility\n\n* Django 1.9-1.11\n* Python 2.7, 3.6-3.7\n\n## Resources\n\n* [Documentation](https://django-sudo.readthedocs.io/)\n* [Security](https://django-sudo.readthedocs.io/en/latest/security/index.html)\n* [Changelog](https://django-sudo.readthedocs.io/en/latest/changelog/index.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattrobenolt%2Fdjango-sudo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattrobenolt%2Fdjango-sudo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattrobenolt%2Fdjango-sudo/lists"}