r/tech.unpacked01 · u/tech.unpacked01 ·

How a CSRF attack works, and how SameSite cookies stop it

How a CSRF attack works, and how SameSite cookies stop it

A page you never trusted can make your browser talk to your bank.

Browsers attach your bank's cookie to every request sent to the bank, even one another site starts. A SameSite cookie stays home, and a token lets the bank check who really sent it.

Send this to the person who builds your login.

#csrf #cybersecurity #webdev #websecurity #coding #technology