Skip to main content

Quickly add security features to your Flask application.

Project description

https://github.com/pallets-eco/flask-security/actions/workflows/tests.yml/badge.svg?branch=main&event=push Coverage! https://img.shields.io/github/tag/pallets-eco/flask-security.svg Downloads Downloads License Documentation Status https://img.shields.io/badge/code%20style-black-000000.svg pre-commit

Quickly add security features to your Flask application.

Notes on this repo

As of 7/30/2024, the independent fork Flask-Security-Too replaced the archived Flask-Security repo (now called Flask-Security-3.0). This repo is published at PyPI at both Flask-Security and Flask-Security-Too. Please consider changing your requirements file to point to flask-security.

Flask-Security-Too was a fork from the 3.0.0 version of the Original

Pallets Community Ecosystem

This project is part of the Pallets Community Ecosystem. Pallets is the open source organization that maintains Flask; Pallets-Eco enables community maintenance of related projects. If you are interested in helping maintain this project, please reach out on the Pallets Discord server <https://discord.gg/pallets>.

Goals

  • Use OWASP to guide best practice and default configurations.

  • Be more opinionated and ‘batteries’ included by reducing reliance on abandoned projects and bundling in support for common use cases.

  • Follow the Pallets lead on supported versions, documentation standards and any other guidelines for extensions that they come up with.

  • Continue to add newer authentication/authorization standards:
    • ‘Social Auth’ integrated (using authlib) (5.1)

    • WebAuthn/Passkey support (5.0)

    • Two-Factor recovery codes (5.0)

    • First-class support for username as identity (4.1)

    • Support for freshness decorator to ensure sensitive operations have new authentication (4.0)

    • Support for email normalization and validation (4.0)

    • Unified signin (username, phone, passwordless) feature (3.4)

    • Two/Multi-Factor authentication supporting SMS, email, authenticator apps (4.0)

Contributing

Issues and pull requests are welcome. Other maintainers are also welcome. Please consult these contributing guidelines.

Installing

Install and update using pip:

pip install -U Flask-Security

Resources

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_security-5.7.1.tar.gz (717.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flask_security-5.7.1-py3-none-any.whl (459.1 kB view details)

Uploaded Python 3

File details

Details for the file flask_security-5.7.1.tar.gz.

File metadata

  • Download URL: flask_security-5.7.1.tar.gz
  • Upload date:
  • Size: 717.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for flask_security-5.7.1.tar.gz
Algorithm Hash digest
SHA256 3131289c5466c6c39ebe7414d03e1a3028388ee844de13a59d2e9dd4bd58e676
MD5 7110a1ec7f6dc0ca2178bf69773e0e7c
BLAKE2b-256 364626e032a1e24ad6e3f16112c94432a7ce6b41b2d50a46a89381f0a4c6bdb6

See more details on using hashes here.

Provenance

The following attestation bundles were made for flask_security-5.7.1.tar.gz:

Publisher: publish.yaml on pallets-eco/flask-security

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file flask_security-5.7.1-py3-none-any.whl.

File metadata

  • Download URL: flask_security-5.7.1-py3-none-any.whl
  • Upload date:
  • Size: 459.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for flask_security-5.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 62cccbb057b87f04236037576f7c17475ce8e643c75dbafa7b2067a58b2fee5b
MD5 5105e981f44104682788bce562ae399a
BLAKE2b-256 6b595efddbaaedd4b3b625e9050ea62a324d27e752896ceb17d474c168da8ae1

See more details on using hashes here.

Provenance

The following attestation bundles were made for flask_security-5.7.1-py3-none-any.whl:

Publisher: publish.yaml on pallets-eco/flask-security

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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