RaspberryPi-Samples / py-my-key

Access control with RaspberryPi and NFC card reader
ISC License
1 stars 1 forks source link

Secure admin interface #1

Open scls19fr opened 8 years ago

scls19fr commented 8 years ago

Many web frameworks can provide CRUD (Create Read Update Delete) web interface by scaffolding from models of an ORM (object-relational mapping) such as SQLAlchemy.

Some possible frameworks to use could be

Flask http://flask.pocoo.org/ -> Flask-Admin https://flask-admin.readthedocs.org/ Flask-SuperAdmin https://github.com/syrusakbary/Flask-SuperAdmin Flask-Scaffold https://github.com/Leo-G/Flask-Scaffold see http://techarena51.com/index.php/flask-sqlalchemy-tutorial/

or

Pyramid (The Pylons Project) http://docs.pylonsproject.org/projects/pyramid-cookbook/en/latest/database/sqlalchemy.html -> Pyramid-Admin https://github.com/ztane/pyramid-admin

It can also be possible to use a desktop app for admin interface http://www.python-camelot.com/ (is it still maintained ?)

lwalter86 commented 8 years ago

secure web admin

scls19fr commented 8 years ago

Securing web admin can be achieved using: http://flask.pocoo.org/snippets/category/authentication/ https://flask-login.readthedocs.org/en/latest/ https://pythonhosted.org/Flask-Security/ https://pythonhosted.org/Flask-Auth/