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.6.1.tar.gz
.
File metadata
- Download URL: Flask-DigestAuth-0.6.1.tar.gz
- Upload date:
- Size: 20.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b0ff0c7c6ecffc561e5293fd75ea6f7205121f453a536cc29b0f017677119cf |
|
MD5 | 840e853603da01f6e64306f4732a7411 |
|
BLAKE2b-256 | acff464a2c74babffa8c1732433c07a3454a5015fed8b71d638eff046755f07b |
File details
Details for the file Flask_DigestAuth-0.6.1-py3-none-any.whl
.
File metadata
- Download URL: Flask_DigestAuth-0.6.1-py3-none-any.whl
- Upload date:
- Size: 15.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a95fd79bc8d23f09b97825d6326f16efa342a533f02dca277facff700638823a |
|
MD5 | 20f72a7d7bffdfaf1c4853c106cbaa78 |
|
BLAKE2b-256 | 249f74f1afcb5ffc9fb7dd6532e681778ee41e46e9686ae2417c4583543fd251 |