Skip to main content

Tests Version Supported Python Versions

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)

Source distribution for Flask-SeaSurf 2.0.0
File Size Uploaded
Flask-SeaSurf-2.0.0.tar.gz 8.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Flask-SeaSurf 2.0.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.22

1 release file

0.1.21

1 release file

0.1.20

1 release file

0.1.19

1 release file

0.1.18

1 release file

0.1.17

1 release file

0.1.16

1 release file

0.1.15

1 release file

0.1.14

1 release file

0.1.13

1 release file

0.1.12

1 release file

0.1.11

1 release file

0.1.9

1 release file

0.1.8

1 release file

0.1.7

1 release file

0.1.6

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page