Skip to main content

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.

Authors

imacat
2022/11/23

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

Flask-DigestAuth-0.7.0.tar.gz (20.5 kB view details)

Uploaded Source

Built Distribution

Flask_DigestAuth-0.7.0-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

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

Hashes for Flask-DigestAuth-0.7.0.tar.gz
Algorithm Hash digest
SHA256 bc077d0c682107460e04fbc7b8d99e8d9b815fd3834dadc5c753c2f8fad5747c
MD5 37fec5343c8288accc92fa126c3aa80e
BLAKE2b-256 7e290f6523a88cc27c4cd3399aa72b926c91a253fb7df7b1b31c40a1ee122e1b

See more details on using hashes here.

File details

Details for the file Flask_DigestAuth-0.7.0-py3-none-any.whl.

File metadata

File hashes

Hashes for Flask_DigestAuth-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e4117d7906853e6337bcbad8bee4f4511d2fa2d0e8b1edc86373969239aefdd0
MD5 3477df8058bd0300a4ba852a80b05895
BLAKE2b-256 9994c74e947f70726263b62e827910c1a321f6903f3da44de307270184c4be07

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page