Intent to implement: Cookie SameSite=lax by default and SameSite=none only if secure

10957 views
Skip to first unread message

Andrea Marchesini

unread,
May 23, 2019, 4:34:14 AM5/23/19
to dev-platform
Link to the proposal:
https://tools.ietf.org/html/draft-west-cookie-incrementalism-00

Summary:
"1. Treat the lack of an explicit "SameSite" attribute as
"SameSite=Lax". That is, the "Set-Cookie" value "key=value" will
produce a cookie equivalent to "key=value; SameSite=Lax".
Cookies that require cross-site delivery can explicitly opt-into
such behavior by asserting "SameSite=None" when creating a
cookie.
2. Require the "Secure" attribute to be set for any cookie which
asserts "SameSite=None" (similar conceptually to the behavior for
the "__Secure-" prefix). That is, the "Set-Cookie" value
"key=value; SameSite=None; Secure" will be accepted, while
"key=value; SameSite=None" will be rejected."

Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1551798

Platform coverage: all

Estimated or target release: 69 - behind pref

Preferences behind which this will be implemented:
- network.cookie.sameSite.laxByDefault
- network.cookie.sameSite.noneRequiresSecure (this requires the previous
one to be set to true)

Is this feature enabled by default in sandboxed iframes? yes.

Do other browser engines implement this?
- Chrome is implementing/experimenting this feature:
https://blog.chromium.org/2019/05/improving-privacy-and-security-on-web.html
- Safari: no signal yet.

web-platform-tests: There is a pull-request
https://github.com/web-platform-tests/wpt/pull/16957
Implementing this feature, I added a mochitest to inspect cookies via
CookieManager.

Is this feature restricted to secure contexts? no

Frederik Braun

unread,
May 23, 2019, 4:53:19 AM5/23/19
to dev-pl...@lists.mozilla.org
Having read the proposal, I think it's a good mechanism for us to know
about websites that want third-party cookies and it seems less costly to
deploy for websites than Storage Access API.

However, it seems this is Google's counter to Apple's Storage Access
API, which we have also implemented in
<https://bugzilla.mozilla.org/show_bug.cgi?id=1469714>.

What's our plan here? Offer both and find out what's going to get more
traction?

Am 23.05.19 um 10:33 schrieb Andrea Marchesini:
> _______________________________________________
> dev-platform mailing list
> dev-pl...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
>

Mike West

unread,
May 23, 2019, 5:40:10 AM5/23/19
to Frederik Braun, dev-pl...@lists.mozilla.org
On Thu, May 23, 2019 at 10:53 AM Frederik Braun <fbr...@mozilla.com> wrote:

> Having read the proposal, I think it's a good mechanism for us to know
> about websites that want third-party cookies and it seems less costly to
> deploy for websites than Storage Access API.
>
> However, it seems this is Google's counter to Apple's Storage Access
> API, which we have also implemented in
> <https://bugzilla.mozilla.org/show_bug.cgi?id=1469714>.
>

IMO, these are not at all mutually exclusive. Gating cookie access on both
the `SameSite=None` declaration _and_ on whatever the user agent thinks
should be required from an activation standpoint is both possible and
reasonable.

-mike

pajero...@gmail.com

unread,
Oct 12, 2019, 11:49:11 PM10/12/19
to

ginfu...@gmail.com

unread,
Oct 13, 2019, 1:07:26 PM10/13/19
to
在 2019年5月23日星期四 UTC+8下午4:34:14,Andrea Marchesini写道:

jross...@gmail.com

unread,
Oct 14, 2019, 5:00:17 AM10/14/19
to

lamba...@pvnccdsb.on.ca

unread,
Oct 16, 2019, 10:18:37 AM10/16/19
to
--
This is a PVNC student account. Please report any abuse to 
help...@pvnccdsb.on.ca <mailto:help...@pvnccdsb.on.ca>.

All
student
emails are scanned for objectionable content. A COPY of that
email will be
sent to the student’s school principal for review.




*Achieving
Excellence in Catholic Education through Learning, Leadership and Service*



Please visit our website at http://www.pvnccdsb.on.ca
<http://www.pvnccdsb.on.ca> or join us on social media:
Facebook:
https://www.facebook.com/pvnccdsb <https://www.facebook.com/pvnccdsb>

Twitter: https://twitter.com/pvnccdsb <https://twitter.com/pvnccdsb>

Youtube: https://www.youtube.com/pvncc <https://www.youtube.com/pvncc>



PVNCCDSB IMPORTANT NOTICE: This information is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is privileged, confidential and exempt from disclosure
under the Municipal Freedom of Information and Protection of Privacy Act.
If the reader of this message is not the intended recipient or the employee
or agent responsible for delivering the message to the intended recipient,
you are hereby notified that any dissemination, distribution or copying of
this communication is strictly prohibited. If you received this
transmission in error, please notify the sender immediately and then
permanently delete this

2027grue...@aaps.k12.mi.us

unread,
Oct 23, 2019, 12:49:28 PM10/23/19
to
On Thursday, May 23, 2019 at 4:34:14 AM UTC-4, Andrea Marchesini wrote:
> Summary:yo dudes. were dem cookies at

jmu...@parrastu.catholic.edu.au

unread,
Oct 31, 2019, 7:41:06 PM10/31/19
to
On Thursday, 23 May 2019 18:34:14 UTC+10, Andrea Marchesini wrote:
> Link to the projchdfuao uo p;a ciwgbyis ygidq aurotuoeaip gup vygiupgayei whejioyopuas9rqyw9e-fyes09uya90explicit "SameSite" attribute as

001m...@gmail.com

unread,
Nov 2, 2019, 4:32:16 PM11/2/19
to
<001M
>HTML. Is save Thanks

001m...@gmail.com

unread,
Nov 2, 2019, 5:48:57 PM11/2/19
to
Asi O es mejor +
A cookie associated with a resource at http://trc.taboola.com/ was set with `SameSite=None` but without `Secure`. A future release of Chrome will only deliver cookies marked `SameSite=None` if they are also marked `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5633521622188032.



Add:lpcres.delve.office.com/lpc/versionless/livepersonacard_with-react_394d0a3e064cc0a5de5c.js:16 Some icons were re-registered. Applications should only call registerIcons for any given icon once. Redefining what an icon is may have unintended consequences. Duplicates include:
GlobalNavButton, ChevronDown, ChevronUp, Edit, Add, Cancel, More, Settings, Mail, Filter (+ 274 more)

kahelim...@gmail.com

unread,
Nov 6, 2019, 1:54:23 PM11/6/19
to
בתאריך יום חמישי, 23 במאי 2019 בשעה 11:34:14 UTC+3, מאת Andrea Marchesini:
Message has been deleted

23gpaga...@dc-tech.org

unread,
Nov 7, 2019, 6:43:12 PM11/7/19
to
how you are

vitinh...@gmail.com

unread,
Nov 10, 2019, 11:53:20 AM11/10/19
to

brin...@gmail.com

unread,
Nov 13, 2019, 11:26:28 PM11/13/19
to
ЧО КАВО КРЕК?

P.S.-Я ШРЕК

anatol...@gmail.com

unread,
Nov 15, 2019, 8:11:00 PM11/15/19
to

anatol...@gmail.com

unread,
Nov 15, 2019, 8:11:16 PM11/15/19
to
On Thursday, 23 May 2019 11:34:14 UTC+3, Andrea Marchesini wrote:

07ma...@elev.kungalv.se

unread,
Nov 18, 2019, 4:05:34 AM11/18/19
to

abdulwah...@gmail.com

unread,
Nov 21, 2019, 12:31:50 PM11/21/19
to

abdulwah...@gmail.com

unread,
Nov 21, 2019, 12:32:06 PM11/21/19
to
On Thursday, May 23, 2019 at 1:34:14 AM UTC-7, Andrea Marchesini wrote:

jdwri...@gmail.com

unread,
Nov 25, 2019, 12:51:21 PM11/25/19
to
I was just messing around in Italian class how did I get here?

jdwri...@gmail.com

unread,
Nov 25, 2019, 12:53:38 PM11/25/19
to
AAAAAAAAAAAAAAAAaaaa WHERE AM I

raqu...@gmail.com

unread,
Dec 3, 2019, 3:10:21 PM12/3/19
to
Em quinta-feira, 23 de maio de 2019 05:34:14 UTC-3, Andrea Marchesini escreveu:
sou curiosa, estou busca de trabalho na área tecnologia, alguém pode me indicar, curso de web! boa tarde

natnael.h...@kindcentrumoranje-nassau.nl

unread,
Dec 10, 2019, 5:12:02 AM12/10/19
to
Op donderdag 23 mei 2019 10:34:14 UTC+2 schreef Andrea Marchesini:

hchai...@gmail.com

unread,
Dec 15, 2019, 4:13:14 PM12/15/19
to

hani...@gmail.com

unread,
Dec 16, 2019, 8:43:04 AM12/16/19
to

karlhe...@gmail.com

unread,
Dec 18, 2019, 5:01:02 AM12/18/19
to

karlhe...@gmail.com

unread,
Dec 18, 2019, 5:02:36 AM12/18/19
to

inletexp...@gmail.com

unread,
Dec 19, 2019, 12:39:47 AM12/19/19
to

go37...@gmail.com

unread,
Jan 4, 2020, 11:23:15 PM1/4/20
to

go37...@gmail.com

unread,
Jan 4, 2020, 11:27:51 PM1/4/20
to

go37...@gmail.com

unread,
Jan 4, 2020, 11:28:09 PM1/4/20
to
On Friday, 8 November 2019 07:43:12 UTC+8, 23gpaga...@dc-tech.org wrote:
> how you are

go37...@gmail.com

unread,
Jan 4, 2020, 11:28:30 PM1/4/20
to

go37...@gmail.com

unread,
Jan 4, 2020, 11:28:44 PM1/4/20
to

go37...@gmail.com

unread,
Jan 4, 2020, 11:29:18 PM1/4/20
to

go37...@gmail.com

unread,
Jan 4, 2020, 11:29:32 PM1/4/20
to

go37...@gmail.com

unread,
Jan 4, 2020, 11:29:44 PM1/4/20
to
On Sunday, 5 January 2020 12:27:51 UTC+8, go37...@gmail.com wrote:

go37...@gmail.com

unread,
Jan 4, 2020, 11:30:16 PM1/4/20
to
On Thursday, 23 May 2019 16:53:19 UTC+8, Frederik Braun wrote:
> Having read the proposal, I think it's a good mechanism for us to know
> about websites that want third-party cookies and it seems less costly to
> deploy for websites than Storage Access API.
>
> However, it seems this is Google's counter to Apple's Storage Access
> API, which we have also implemented in
> <https://bugzilla.mozilla.org/show_bug.cgi?id=1469714>.
>
> What's our plan here? Offer both and find out what's going to get more
> traction?
>
> Am 23.05.19 um 10:33 schrieb Andrea Marchesini:
> > _______________________________________________
> > dev-platform mailing list
> > dev-pl...@lists.mozilla.org
> > https://lists.mozilla.org/listinfo/dev-platform
> >

go37...@gmail.com

unread,
Jan 4, 2020, 11:30:32 PM1/4/20
to
On Thursday, 23 May 2019 17:40:10 UTC+8, Mike West wrote:
> On Thu, May 23, 2019 at 10:53 AM Frederik Braun <fbr...@mozilla.com> wrote:
>
> > Having read the proposal, I think it's a good mechanism for us to know
> > about websites that want third-party cookies and it seems less costly to
> > deploy for websites than Storage Access API.
> >
> > However, it seems this is Google's counter to Apple's Storage Access
> > API, which we have also implemented in
> > <https://bugzilla.mozilla.org/show_bug.cgi?id=1469714>.
> >
>
> IMO, these are not at all mutually exclusive. Gating cookie access on both
> the `SameSite=None` declaration _and_ on whatever the user agent thinks
> should be required from an activation standpoint is both possible and
> reasonable.
>
> -mike

go37...@gmail.com

unread,
Jan 4, 2020, 11:30:52 PM1/4/20
to
On Thursday, 24 October 2019 00:49:28 UTC+8, 2027grue...@aaps.k12.mi.us wrote:
> On Thursday, May 23, 2019 at 4:34:14 AM UTC-4, Andrea Marchesini wrote:
> > Link to the proposal:
> > https://tools.ietf.org/html/draft-west-cookie-incrementalism-00
> >
> > Summary:yo dudes. were dem cookies at

go37...@gmail.com

unread,
Jan 4, 2020, 11:31:15 PM1/4/20
to
On Sunday, 3 November 2019 05:48:57 UTC+8, 001m...@gmail.com wrote:
> Asi O es mejor +
> A cookie associated with a resource at http://trc.taboola.com/ was set with `SameSite=None` but without `Secure`. A future release of Chrome will only deliver cookies marked `SameSite=None` if they are also marked `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5633521622188032.
>
>
>
> Add:lpcres.delve.office.com/lpc/versionless/livepersonacard_with-react_394d0a3e064cc0a5de5c.js:16 Some icons were re-registered. Applications should only call registerIcons for any given icon once. Redefining what an icon is may have unintended consequences. Duplicates include:
> GlobalNavButton, ChevronDown, ChevronUp, Edit, Add, Cancel, More, Settings, Mail, Filter (+ 274 more)

go37...@gmail.com

unread,
Jan 4, 2020, 11:31:30 PM1/4/20
to

go37...@gmail.com

unread,
Jan 4, 2020, 11:31:54 PM1/4/20
to
On Monday, 16 December 2019 05:13:14 UTC+8, hchai...@gmail.com wrote:

tre...@gmail.com

unread,
Jan 7, 2020, 12:48:59 PM1/7/20
to

tre...@gmail.com

unread,
Jan 7, 2020, 12:52:46 PM1/7/20
to

hcha...@gmail.com

unread,
Jan 10, 2020, 5:18:59 AM1/10/20
to

recruit...@gmail.com

unread,
Jan 16, 2020, 12:09:37 PM1/16/20
to

lexyand...@gmail.com

unread,
Jan 17, 2020, 3:22:49 AM1/17/20
to

cabez...@gmail.com

unread,
Jan 25, 2020, 7:28:06 PM1/25/20
to
Message has been deleted

11to...@gmail.com

unread,
Feb 3, 2020, 1:26:58 PM2/3/20
to

miri...@gmail.com

unread,
Feb 4, 2020, 12:07:32 AM2/4/20
to
On Thursday, May 23, 2019 at 1:34:14 AM UTC-7, Andrea Marchesini wrote:

one...@gmail.com

unread,
Feb 11, 2020, 5:41:16 PM2/11/20
to

wearepeac...@gmail.com

unread,
Feb 14, 2020, 10:33:31 AM2/14/20
to
четверг, 23 мая 2019 г., 16:34:14 UTC+8 пользователь Andrea Marchesini написал:
?????
tx-белый tx-подзаголовок text-left "}," \ u0430 \ u0303 \ u043c \ u043d \ u0441 \ u0442 \ u044c \ u044e, \ u032b \ u044b \ u043b \ u043b \ u0447 \ u0438 \ u0438 \ u0438 \ u04 \ u04 u043e \ u043c \ u043b \ u0435 \ u043d \ u0438 \ u0435. "SacreateElement ( "ш", нуль), this.getLeftSympathy ()> 0 && s.a.createElement ( "пролет", нулевой sacreateElement (A, {номер: this.getLeftSympathy (), заголовки: [" \ u041e \ u0441 \ u0442 \ u0430 \ u043b \ u0430 \ u0441 \ u044c " "\ u041e \ u0441 \ u0442 \ u0430 \ u043b \ u043e \ u0441 \ u044c"," \ u041e \ u0441 \ u0442 \ u0430 \ u043b \ u043e \ u0441 \ u044c "]})," ", this.getLeftSympathy ()," ", sacreateElement (A, {number: this.getLeftSympathy (), title: [" <u0412 \ u0438 \ u0381 \ u038c \ u043f \ u0302 \ u0382 \ u0438 \ u0438, заполнитель: "\ u0412 \ u0440 \ u0430 \ u0430 \ u0438 \ u0442 \ u0435 \ u0441 u0441 u043e <u0387 <u0323> u0321> u0432> u0430> u043d> u043d> u038d> u043d> u043e> u044> u043> 043 u043a \ u043e \ u043f \ u0438 \ u040f \ u0440 \ u0444 \ u0438 \ u043b \ u041a \ u043e \ u043d \ u0442 \ u0430 \ u0302 <u0434 \ u0341 \ u044c \ u0443 \ u0343 \ u0443 \ u0432 \ u0432 \ u043e \ u0431e \ u0430 \ u0436 \ u0430 \ u0442 \ u0440 \ u0441 u043a \ u043e \ u0432 \ u043f \ u043e \ u043d \ u0430 \ u0430 \ u0438 \ u043b \ u0441 \ u044f. \ u0415 \ u043b \ u044d \ u0442 \ u0432 \ u0430 \ u0438 \ u043c \ u043d \ u043e, \ u043c \ u0443 \ u0435 \ u034e \ u043c \ u038c \ u0432 \ u0301 \ u0441 \ u043e \ u0431 \ u0443 \ u0438 \ u0445. \ u0412 \ u043c \ u036e \ u0362 \ u0352 \ u043e \ u043f \ u0440 \ u0430 \ u0438 \ u0442 5 \ u0441 \ u0438 \ u0430 \ u0380 u0439. "})," super-sympathy "=== t && s.a.createElement (D, {users: e.props.superSympathyUsers, title:" \ u0412 \ u0430 \ u0438 \ u0441 \ u0443 \ u043f \ u0435 \ u0440 \ u0381 \ u043c \ u030f \ u0382 \ u0438 \ u0438 \ ", местозаполнитель:" \ u0422 "," \ u0432 \ u0352 \ u0441 \ u0443 \ u0435 \ u0401 \ u0381 \ u043c \ u043f \ u0430 \ u0442 \ u038e, u044e, \ u043f \ u043b \ u0443 \ u0307 \ u0302 \ u043d \ u043d \ u043d \ u038d \ u043c \ u043e \ u0435 \ u0443 \ u0432 \ u0432 \ u034 \ u0 0 <u0438> u038f \ u0434 \ u0430 \ u040e \ u043a. \ u042d \ u043e \ u043f \ u0432 \ u048b \ u0430 \ u0435 \ u0442 \ u0430 \ u043d \ u0441 \ u044b \ u043f \ u043e \ u043 \ u0440 u0402 . \ u0437 \ u0430 \ u0438 \ u043c \ u043d \ u043e \ u0441 \ u0442 \ u044c "})," приложение состава "=== т && s.a.createElement ($ {secretMatchAllowed: e.state.secretMatchAllowed}), "Ловина-промо" === т && s.a.createElement (W, {secretMatchAllowed: e.state.secretMatchAllowed}), "секрет-симпатия" === т && 0 == о && s.a.createElement (X, {закончился: e.props.appEnded, граф: о}))}), this.props.appEnded && s.a.createElement ( "ДИВ", нулевой sacreateElement ($,

amarc...@mozilla.com

unread,
Feb 27, 2020, 1:13:30 PM2/27/20
to
Hi everyone,

here is something more about cookies sameSite=lax by default.

In order to test this feature properly and to see the level of breakage introduced, we've decided to enable it in nightly.

Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1604212

This feature is partially covered by web-platform-tests:
https://searchfox.org/mozilla-central/source/testing/web-platform/tests/cookies/samesite-none-secure
https://searchfox.org/mozilla-central/source/testing/web-platform/tests/cookies/samesite

As you know, Chrome is already rolling out this feature: it's active for 1% of their population.

I filed a meta bug to collect breakages - https://bugzilla.mozilla.org/show_bug.cgi?id=1618610

francoel...@gmail.com

unread,
Feb 29, 2020, 8:15:53 AM2/29/20
to
so che siete dei bugiardi e vi scopriranno presto i carabinieri

F R A N C I S

unread,
Mar 2, 2020, 2:30:15 AM3/2/20
to
El jueves, 23 de mayo de 2019, 4:34:14 (UTC-4), Andrea Marchesini escribió:

kolony...@gmail.com

unread,
Mar 5, 2020, 3:45:17 PM3/5/20
to
23 Mayıs 2019 Perşembe 11:34:14 UTC+3 tarihinde Andrea Marchesini yazdı:

yucaga...@gmail.com

unread,
Mar 6, 2020, 1:42:40 PM3/6/20
to
eae galera
n tirem meu google de mim
porfavor

gabim...@gmail.com

unread,
Mar 9, 2020, 2:01:10 PM3/9/20
to
בתאריך יום חמישי, 23 במאי 2019 בשעה 11:34:14 UTC+3, מאת Andrea Marchesini:

thale...@gmail.com

unread,
Mar 11, 2020, 8:03:27 PM3/11/20
to
oooooooo aai mi pklasereeeee
3wwre33gtr
h23tytgm

gard...@gmail.com

unread,
Mar 31, 2020, 7:53:10 AM3/31/20
to
On Thursday, May 23, 2019 at 4:34:14 AM UTC-4, Andrea Marchesini wrote:
who do we blame this one on ladies no one wants the truth for some reason

kyle.bl...@gmail.com

unread,
Mar 31, 2020, 2:38:50 PM3/31/20
to

bb08...@gmail.com

unread,
Apr 7, 2020, 11:10:46 PM4/7/20
to
Add me. Hhhh

tysoo...@gmail.com

unread,
Apr 11, 2020, 9:32:10 AM4/11/20