KBAlphaZA / kbalphawebsite

0 stars 1 forks source link

[Core] Indicate whether to send a cookie in a cross-site request by specifying its SameSite attribute. #9

Open KhanyiTheGreat opened 4 years ago

KhanyiTheGreat commented 4 years ago

Because a cookie's SameSite attribute was not set or is invalid, it defaults to SameSite=Lax, which prevents the cookie from being sent in a cross-site request. This behavior protects user data from accidentally leaking to third parties and cross-site request forgery.