CSRF Tokens Explained by Breaking a Form First
CSRF is easier to understand as an attack than as a defence. Build the attack page first — it is nine lines — then the token makes obvious sense, and so does why SameSite cookies are not the whole answer.
Read article






