Skip to content
This repository was archived by the owner on Jan 24, 2024. It is now read-only.
This repository was archived by the owner on Jan 24, 2024. It is now read-only.

U - [HTTP] Docs requirements for SameSite=Lax by default #2152

@chrisdavidmills

Description

@chrisdavidmills

User story

As a web developer, I want to reads docs about the new default SameSite setting, so I can find out how this affects my work.

This contributes to MDN's completeness, and the KR "Increase traffic 5% y/y". MDN users need this information to be able to do their jobs effectively going forward.

Background

Same site cookies were shipped a few versions ago. Browser are now agreeing on a proposed change to treat all new cookies as SameSite=lax by default

This is interesting for 2 reasons:

  1. We need to do this to avoid compat issues if other browsers all do it
  2. It is an opportunity to work with other vendors to eliminate entire class of security vulnerabilities (CSFR)

We are trying to line up changes to coincide with other browser vendors, and this includes documentation. Chrome are aiming for about Chrome 78, available behind pref since 76. We are not yet 100% sure what Firefox version it will be enabled in, but it'll probably be Fx 71, or maybe even 70.

Docs updates needed on

New page needed

We may also do with a hacks post to explain the story (how we fixed CSRF forever! google drove it, we thought of it) and what difference this wil make for web devs. This would also coincide with a more technical write up on the Moz sec blog. If these happen, the engineers will write them and we can help edit them.

Mark Goodwin was the engineering contact for this, now it's being implemented by Andrea Marchesini (baku). Ask him for help if needed.

Acceptance criteria

    • MDN docs written as described above.
    • hacks and sec blog content reviewed/edited (not sure if this is still needed, will ask)

Enable sameSite=lax by default tracks the release of these changes in final release Fx. Bear in mind that we want to get this done by Fx 76 beta, so we will need to delay communicating that this is enabled in release till a later sprint).

Metadata

Metadata

Assignees

Labels

Cf:HighConfidence: HighContent:HTTPThis is related to HTTP content

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions