python3-asgi-csrf

ASGI middleware for protecting against CSRF attacks

Description

The asgi-csrf package is a Python library that provides Cross-Site Request Forgery (CSRF) protection for ASGI (Asynchronous Server Gateway Interface) applications. It helps secure web applications from CSRF attacks by adding middleware that validates and protects against unauthorized requests.

Features:

  - Adds CSRF protection to ASGI applications.
  - Supports popular ASGI frameworks like FastAPI and Starlette.
  - Integrates seamlessly into existing ASGI application pipelines.
  - Provides configurable settings for token generation and validation.
  - Allows for exclusion of specific routes or URLs from CSRF protection.
  - Ensures stateless and secure CSRF protection in asynchronous web
    environments.

CSRF attacks are a common security concern for web applications, and the asgi-csrf library aims to provide a straightforward solution for adding protection to ASGI-based applications, ensuring that users' interactions are safe and authenticated.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/simonw/asgi-csrf


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install python3-asgi-csrf