Skip to content
Sections
>> Trisquel >> Packages >> ecne (12.0LTS) >> python >> python3-asgi-csrf
[  ecne  ] [  xolotl  ]
[ Source: asgi-csrf  ]

Package: python3-asgi-csrf (0.9-2)

ASGI middleware for protecting against CSRF attacks

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.

Other Packages Related to python3-asgi-csrf

  • depends
  • recommends
  • suggests
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-itsdangerous
    Various helpers to pass trusted data to untrusted environment - Python 3.x
  • dep: python3-multipart
    streaming multipart parser for Python

Download python3-asgi-csrf

Download for all available architectures
Architecture Package Size Installed Size Files
all 9.9 kB37 kB [list of files]