<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Csrf-Protection on Scholion</title><link>https://scholion.thluiz.com/tags/csrf-protection/</link><description>Recent content in Csrf-Protection on Scholion</description><generator>Hugo -- gohugo.io</generator><language>pt-BR</language><copyright>© 2026</copyright><lastBuildDate>Mon, 16 Nov 2026 15:09:12 +0000</lastBuildDate><atom:link href="https://scholion.thluiz.com/tags/csrf-protection/index.xml" rel="self" type="application/rss+xml"/><item><title>Today's rabbit hole: securing JWTs for authentication, httpOnly cookies, CSRF tokens, secrets &amp; more</title><link>https://scholion.thluiz.com/notes/securing-jwts-for-authentication-httponly-cookies-csrf/</link><pubDate>Wed, 26 Aug 2020 19:31:12 +0000</pubDate><guid>https://scholion.thluiz.com/notes/securing-jwts-for-authentication-httponly-cookies-csrf/</guid><description>The post walks through storing JWTs in httpOnly cookies, protecting routes with a separate login flag, handling logout server-side, and adding CSRF protection with csurf, CORS, SameSite, and headers.</description></item><item><title>Phoenix CSRF protection in HTML forms, React forms, and APIs</title><link>https://scholion.thluiz.com/notes/phoenix-csrf-protection-in-html-forms-react-forms-and-apis/</link><pubDate>Sun, 05 Jul 2020 14:10:34 +0000</pubDate><guid>https://scholion.thluiz.com/notes/phoenix-csrf-protection-in-html-forms-react-forms-and-apis/</guid><description>Explains how Phoenix handles CSRF protection for HTML forms, how to send the token in React AJAX requests, and how to expose it as a cookie for SPA or API-style clients.</description></item></channel></rss>