Skip to main content
Back to course
Log in
Get started
Someone wanted to learn this too, so Grasp built them a personal learning path.
Create your own
Migrate React to HTMX
·
Module 9
Application Security
1
CSRF Protection for HTMX & Express
Implement CSRF protection for HTMX requests in an Express app and configure HTMX to send the token automatically.
Implement CSRF protection for HTMX requests in an Express app and configure HTMX to send the token automatically.
2
Preventing XSS in Server-Rendered HTML
Sanitize server-rendered HTML fragments to prevent Cross-Site Scripting (XSS) when displaying user-generated content.
Sanitize server-rendered HTML fragments to prevent Cross-Site Scripting (XSS) when displaying user-generated content.
3
HTMX and CSP: Inline Safety
Apply a Content Security Policy (CSP) compatible with HTMX's inline attributes and event handlers.
Apply a Content Security Policy (CSP) compatible with HTMX's inline attributes and event handlers.
Previous module
State Management and Incremental Migration
Next module
Performance, Testing, and Deployment