#protection #csrf #security

macro rocket_csrf_guard_derive

Ergonomic CSRF protection for Rocket applications

2 releases

0.0.2 Jan 11, 2024
0.0.1 Jan 1, 2024

#15 in #csrf


Used in 2 crates (via rocket_csrf_guard)

MIT/Apache

6KB
82 lines

rocket_csrf_guard

This is a collection of utilities for adding CSRF protection to Rocket powered web applications.

This is a useful building block for secure by default frameworks, as seen in this blogpost

Works with rocket 0.5.0 and above.

Look at the documentation and examples to learn more.

This is provided AS-IS and does not guarantee a secure application by itself. For reporting security issues in this library, please contact me using the information on my github profile.

Dependencies

~1.5MB
~37K SLoC