Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net/http: add the SameSite cookie attribute #24390

agnivade opened this issue Mar 14, 2018 · 1 comment


None yet
2 participants
Copy link

commented Mar 14, 2018

SameSite prevents the browser from sending this cookie along with cross-site requests. The main goal is mitigate the risk of cross-origin information leakage. It also provides some protection against cross-site request forgery attacks. Possible values for the flag are lax or strict.


The RFC does say that Updates: 6265 (if approved). I'm not sure about the policy if we follow. Do we not make changes until 6265 gets updated ?


As of November 2017 the SameSite attribute is implemented in Chrome, Firefox, and Opera. still shows a bit of red in places. But I guess it will be a good addition to applications which are security focused.


This comment has been minimized.

Copy link
Member Author

commented Mar 14, 2018

Oops. Duplicate. Closing.

@agnivade agnivade closed this Mar 14, 2018

@golang golang locked and limited conversation to collaborators Mar 14, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.