Wiki › Project

Flask security demo

Article
From Chaipat's knowledge graph

Flask security demo is a study project exploring Flask-Security, the extension that adds user accounts and roles to a Flask app. In a few files it sets up:

  • users and roles stored with SQLAlchemy;
  • registration and email confirmation, with mail sent through Flask-Mailman;
  • password hashing with a salt, and pages protected behind login.

Secrets and mail settings come from environment variables. He used the same library later in Research OS.

See also