The Flask HTTP Digest Authentication project.
Project description
Description
Flask-DigestAuth is an HTTP Digest Authentication implementation for Flask applications. It authenticates the user for the protected views.
HTTP Digest Authentication is specified in RFC 2617.
Why HTTP Digest Authentication?
HTTP Digest Authentication has the advantage that it does not send thee actual password to the server, which greatly enhances the security. It uses the challenge-response authentication scheme. The client returns the response calculated from the challenge and the password, but not the original password.
Log in forms has the advantage of freedom, in the senses of both the visual design and the actual implementation. You may implement your own challenge-response log in form, but then you are reinventing the wheels. If a pretty log in form is not critical to your project, HTTP Digest Authentication should be a good choice.
Flask-DigestAuth works with Flask-Login. Log in protection can be separated with the authentication mechanism. You can create protected Flask modules without knowing the actual authentication mechanisms.
Installation
You can install Flask-DigestAuth with pip:
pip install Flask-DigestAuth
You may also install the latest source from the Flask-DigestAuth GitHub repository.
pip install git+https://github.com/imacat/flask-digestauth.git
Documentation
Refer to the documentation on Read the Docs.
Change Log
Refer to the change log.
Copyright
Copyright (c) 2022-2023 imacat.
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file Flask-DigestAuth-0.7.0.tar.gz
.
File metadata
- Download URL: Flask-DigestAuth-0.7.0.tar.gz
- Upload date:
- Size: 20.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc077d0c682107460e04fbc7b8d99e8d9b815fd3834dadc5c753c2f8fad5747c |
|
MD5 | 37fec5343c8288accc92fa126c3aa80e |
|
BLAKE2b-256 | 7e290f6523a88cc27c4cd3399aa72b926c91a253fb7df7b1b31c40a1ee122e1b |
File details
Details for the file Flask_DigestAuth-0.7.0-py3-none-any.whl
.
File metadata
- Download URL: Flask_DigestAuth-0.7.0-py3-none-any.whl
- Upload date:
- Size: 13.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4117d7906853e6337bcbad8bee4f4511d2fa2d0e8b1edc86373969239aefdd0 |
|
MD5 | 3477df8058bd0300a4ba852a80b05895 |
|
BLAKE2b-256 | 9994c74e947f70726263b62e827910c1a321f6903f3da44de307270184c4be07 |