{"id":16314427,"url":"https://github.com/theskumar/django-auth-wall","last_synced_at":"2025-07-12T00:06:53.410Z","repository":{"id":2044085,"uuid":"45613156","full_name":"theskumar/django-auth-wall","owner":"theskumar","description":"Easily put your django site behind a layer of Basic Authentication, for protecting the staging/testing servers","archived":false,"fork":false,"pushed_at":"2022-04-26T20:56:28.000Z","size":13,"stargazers_count":13,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-11T21:53:59.740Z","etag":null,"topics":["authentication","django"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/theskumar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-05T13:33:01.000Z","updated_at":"2024-04-24T07:27:17.000Z","dependencies_parsed_at":"2022-07-21T13:02:31.022Z","dependency_job_id":null,"html_url":"https://github.com/theskumar/django-auth-wall","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/theskumar/django-auth-wall","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theskumar%2Fdjango-auth-wall","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theskumar%2Fdjango-auth-wall/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theskumar%2Fdjango-auth-wall/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theskumar%2Fdjango-auth-wall/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theskumar","download_url":"https://codeload.github.com/theskumar/django-auth-wall/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theskumar%2Fdjango-auth-wall/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264916028,"owners_count":23682957,"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":["authentication","django"],"created_at":"2024-10-10T21:53:56.067Z","updated_at":"2025-07-12T00:06:51.478Z","avatar_url":"https://github.com/theskumar.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# django-auth-wall\n\n[![Latest PyPI version](https://img.shields.io/pypi/v/django-auth-wall.svg)](https://pypi.python.org/pypi/django-auth-wall)\n\nA very basic Basic Auth middleware that uses a username/password defined\nin your environment variable or settings.py to protect whole of your\nsite. Does not use Django auth.\n\nHandy for quickly securing an entire site during development, for\nexample.\n\n**Note**: Environment variables is preferred over `settings.py`.\n\n# Usage\n\n```\n# In settings.py:\n\nMIDDLEWARE = [\n    'django_auth_wall.middleware.BasicAuthMiddleware',\n\n    # all other middleware here\n]\n\n# Optionally, set it here if not setting as environment variable\n# Requires both variable to be set, else site won't be protected.\nAUTH_WALL_USERNAME = 'user'\nAUTH_WALL_PASSWORD = 'pass'\n```\n\n# Installation\n\n\n```shell\npip install django-auth-wall\n```\n\n**Warning**\n\nPlease make sure that you use SSL/TLS (HTTPS) to encrypt the connection\nbetween the client and the server, when using basic access\nauthentication. In basic access authentication username and password are\nsent in cleartext, and if SSL/TLS is not used, the credentials could be\neasily intercepted.\n\n# Compatibility\n\n-   Django 1.5+\n\n# Licence\n\nMIT\n\n# Authors\n\n[django-auth-wall] was written by [Saurabh Kumar](https://github.com/theskumar).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheskumar%2Fdjango-auth-wall","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheskumar%2Fdjango-auth-wall","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheskumar%2Fdjango-auth-wall/lists"}