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 flask_seasurf import SeaSurf
csrf = SeaSurf(app)
Documentation
The Sphinx-compiled documentation is available here: https://flask-seasurf.readthedocs.io/
Metadata
Release files for Flask-SeaSurf 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Flask-SeaSurf-2.0.0.tar.gz | 8.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Flask_SeaSurf-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.8 kB
Release files / Flask-SeaSurf-2.0.0.tar.gz
| Download URL | Flask-SeaSurf-2.0.0.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8e4003be1580ea8663d6bd3adf272f549ca4d735848895192618ed1945d5ad3c
|
|
BLAKE2b-256 checksum How to use checksums |
2e9cbc48ee775453ba3540da5986012f9640bac1261ba7d23f3da45cc3d2b58a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.8.19
|
Release files / Flask_SeaSurf-2.0.0-py3-none-any.whl
| Download URL | Flask_SeaSurf-2.0.0-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
024605511bdd1a61038e1369386c01fcd24b4adcb449bb62e1d32dbb5fe043b2
|
|
BLAKE2b-256 checksum How to use checksums |
47d457860c1e549d34435ee6c018e489c15424067edf954f04f085fc3d12da39
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.8.19
|