Flask-SeaSurf 0.1.11
An updated CSRF extension for Flask.
Downloads ↓ | Package Documentation
Latest Version: 0.1.16
#Flask-SeaSurf

SeaSurf is a Flask extension for preventing cross-site request forgery (CSRF).
CSRF vulnerabilities have been found in large and popular sites such as YouTube. These attacks are problematic because the mechanism they use is relatively easy to exploit. This extension attempts to aid you in securing your application from such attacks.
This extension is based on the excellent Django middleware.
##Installation
Install the extension with one of the following commands:
$ easy_install flask-seasurf
or alternatively if you have pip installed:
$ pip install flask-seasurf
##Usage
Using SeaSurf is fairly straightforward. Begin by importing the extension and then passing your application object back to the extension, like this:
from flaskext.seasurf import SeaSurf csrf = SeaSurf(app)
##Documentation
The Sphinx-compiled documentation is available here: http://packages.python.org/Flask-SeaSurf/
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| Flask-SeaSurf-0.1.11.tar.gz (md5) | Source | 2012-02-03 | 4KB | 270 | |
- Author: Max Countryman
- Documentation: Flask-SeaSurf package documentation
- Home Page: https://github.com/maxcountryman/flask-seasurf/
- License: BSD
- Platform: any
-
Categories
- Development Status :: 4 - Beta
- Environment :: Web Environment
- Intended Audience :: Developers
- License :: OSI Approved :: BSD License
- Operating System :: OS Independent
- Programming Language :: Python
- Topic :: Internet :: WWW/HTTP :: Dynamic Content
- Topic :: Software Development :: Libraries :: Python Modules
- Package Index Owner: doraemon
- DOAP record: Flask-SeaSurf-0.1.11.xml
