flask-security
Quick and simple security for Flask applications (by Flask-Middleware)
flask-principal
Identity management for Flask applications (by mattupstate)
flask-security | flask-principal | |
---|---|---|
4 | 2 | |
611 | 488 | |
1.0% | - | |
8.5 | 10.0 | |
14 days ago | almost 4 years ago | |
Python | Python | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
flask-security
Posts with mentions or reviews of flask-security.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-28.
-
What are the options in Flask for handling user access based on their role?
Have a look at Flask-Security-Too. Just starting to dive into this for a project myself so I don't have much experience yet but it is actively maintained and appears to be fairly robust.
-
ROLE BASED AUTHENTICATION IN FLASK
There's the Flask-Security extension for example. Or the Flask-Appbuilder framework, which does a whole lot more.
- Fastest way to build simple responsive web app with authentication for someone coming from Python + plain HTML/JS?
-
Flask Security
Look at flask-security which is maintained https://github.com/Flask-Middleware/flask-security/
flask-principal
Posts with mentions or reviews of flask-principal.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-28.
-
How to implement role based access control in Flask?
Flask-Login needs Flask-Security, which is unmaintained, but there is Flask-Security-Too. The latter implements authorization via Flask-Principal, which last release was in 2013 - looks pretty dead to me ( https://github.com/mattupstate/flask-principal/issues/50 ).
-
What are the options in Flask for handling user access based on their role?
The Flask-Principal project appears to be dead.
What are some alternatives?
When comparing flask-security and flask-principal you can also consider the following projects:
flask-admin - Simple and extensible administrative interface framework for Flask
flask_for_startups - Flask boilerplate using a services oriented structure
Flask-AppBuilder - Simple and rapid application development framework, built on top of Flask. includes detailed security, auto CRUD generation for your models, google charts and much more. Demo (login with guest/welcome) - http://flaskappbuilder.pythonanywhere.com/
pyt - A Static Analysis Tool for Detecting Security Vulnerabilities in Python Web Applications
trape - People tracker on the Internet: OSINT analysis and research tool by Jose Pino