Skip to main content

#Flask-SeaSurf

![build status](https://secure.travis-ci.org/maxcountryman/flask-seasurf.png?branch=master)

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/

Metadata

Release files for Flask-SeaSurf 0.1.12

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 0.1.12
File Size Uploaded Provenance Actions
Flask-SeaSurf-0.1.12.tar.gz 4.9 kB Without provenance Details for Flask-SeaSurf-0.1.12.tar.gz

Release files / Flask-SeaSurf-0.1.12.tar.gz

Download URL Flask-SeaSurf-0.1.12.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
52a0e118e74f6f527b7a11fdf2ea3f85232e4d009f8ace5c0d2c2b4e52503004
BLAKE2b-256 checksum
How to use checksums
ea2b1ed684b075269d12d83085d9ea0525a775ac075a7f3b73a315d368548b0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for Flask-SeaSurf 0.1.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

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