Transparent server-side session support for flask
Project description
Flask-KVSession is an MIT-licensed server-side session replacement for Flask’s signed client-based session management. Instead of storing data on the client, only a securely generated ID is stored on the client, while the actual session data resides on the server.
This has two major advantages:
Clients no longer see the session information
It is possible to securely destroy sessions to protect against replay attacks.
Other things are possible with server side session that are impossible with clients side sessions, like inspecting and manipulating data in absence of the client.
Flask-KVSession uses the simplekv-package for storing session data on a variety of backends, including redis, memcached, SQL databases using SQLAlchemy, mongoDB or just flat files.
Integration with Flask is seamless, once the extension is loaded for a Flask application, it transparently replaces Flask’s own Session management. Any application working with sessions should work the same with Flask-KVSession (if it does not, file a bug!).
Documentation and development
Development happens on github, you can find the documentation on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for Flask-KVSession-Invenio-0.6.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe24405403fff9e3ab2c5a34d93362d63ada4c9e5e7afab850ea4f80efb92a85 |
|
MD5 | 1983106732586b121bfc44b3cf6999e8 |
|
BLAKE2b-256 | 627243e708f569a0de0cdb645ef9b9687936233f663e3d03ea45b6851d314e09 |