Skip to main content

Quickly add security features to your Flask application.

Project description

https://github.com/pallets-eco/flask-security/workflows/tests/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.

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 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)

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.5.2.tar.gz (668.3 kB view details)

Uploaded Source

Built Distribution

flask_security-5.5.2-py3-none-any.whl (418.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: flask_security-5.5.2.tar.gz
  • Upload date:
  • Size: 668.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.4

File hashes

Hashes for flask_security-5.5.2.tar.gz
Algorithm Hash digest
SHA256 0139eef4b5a3f44387a96c85cc880b84449156f70882451f781a4dea7ad3ec8a
MD5 9cea5be6ccc5a1a1c9d12fa6f50d1925
BLAKE2b-256 6d8dc22fc43fe9491d85bf80e810b317981002a9df2da6da084027288fdd72cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flask_security-5.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 256958ddb4c146e0f3f2d48b7e0b0ccd222075ef1de42996ae47d725b62479d4
MD5 b14b6b4b2a6c3204f6b643dd43495b89
BLAKE2b-256 01830bf09129b8fab6228093454d6709bdcee2646def556e544bacc112302fac

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