This commit is contained in:
Ilya Kantor 2019-06-29 09:23:01 +03:00
parent f018012168
commit 899ae4f292
2 changed files with 22 additions and 40 deletions

View file

@ -181,9 +181,9 @@ document.cookie = "user=John; secure";
## samesite
That's another security option, to protect from so-called XSRF (cross-site request forgery) attacks.
That's another security attribute `somesite`. It's designed to protect from so-called XSRF (cross-site request forgery) attacks.
To understand when it's useful, let's introduce the following attack scenario.
To understand how it works and when it's useful, let's take a look at XSRF attacks.
### XSRF attack