Re: Proposal for new `Partitioned` cookie attribute

Dylan Cutler <dylancutler@google.com> Mon, 17 October 2022 21:47 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A8923C1522C0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 17 Oct 2022 14:47:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.259
X-Spam-Level:
X-Spam-Status: No, score=-15.259 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_FONT_LOW_CONTRAST=0.001, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nv3ib-XEhPdW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 17 Oct 2022 14:47:16 -0700 (PDT)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8FFFDC1524A1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 17 Oct 2022 14:47:15 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.94.2) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1okXu7-00G1wh-I8 for ietf-http-wg-dist@listhub.w3.org; Mon, 17 Oct 2022 21:44:11 +0000
Resent-Date: Mon, 17 Oct 2022 21:44:11 +0000
Resent-Message-Id: <E1okXu7-00G1wh-I8@lyra.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by lyra.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <dylancutler@google.com>) id 1okXu5-00G1vc-PZ for ietf-http-wg@listhub.w3.org; Mon, 17 Oct 2022 21:44:09 +0000
Received: from mail-vs1-xe35.google.com ([2607:f8b0:4864:20::e35]) by titan.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from <dylancutler@google.com>) id 1okXu3-00EhEF-PY for ietf-http-wg@w3.org; Mon, 17 Oct 2022 21:44:09 +0000
Received: by mail-vs1-xe35.google.com with SMTP id 128so12862894vsz.12 for <ietf-http-wg@w3.org>; Mon, 17 Oct 2022 14:44:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=GuIwhebUpIF+j+X1n14SLrZLKAGFhP0LMC3ZU3hwA4Q=; b=XtRjgz3okgF3Zlk6Ueb7dIC4j1tdVFyYem3UVHPUs/ulO2t1noyZoX/nnEM0V7gOwO HTUK2WrRjo7qi2NbddwMmPtVluj9GB961fVc02GHFpaqiWdJEObEOX1lVMqGvNw72crb ENNug5n8yUL2dwbPctWtL+6G2wkbePP5RT9CeWcOWW4JAj/pXJlPWA2EQY0xWkIOCPQa hrDj34ORMNMha9IsvHTtlQXrCrpJVEqIQiENyuEZWFPM+OWfKPjKO4CDAwkVsppUzdw+ BpjwoXkW+J0Z2vjWjhQzF3ChkviFH6J40DX5WL0XTvw/lO12duYummdLZcq7QBdgpNW8 tvcQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=GuIwhebUpIF+j+X1n14SLrZLKAGFhP0LMC3ZU3hwA4Q=; b=YQoPaWNGbzqVlqhVvRvBPkYIxSDNdPXXwuEta4ig4nk4j+hdpPhPEFJzixX4TUJkgs S/H+Eh4YxLc2iqMwyl4M5pYoc8q50QqM0s6jtr0HSLwCunv0FA+S+aDpom5bHDogAlLv GrI7vkAc897z+1cpAxaCnNeyo/qAf/TdANJskeW9oboT27QdEM/Jka2gASZ1Q5uRKldx 7mHj2mOdC3SRPO3arjpU6m0ciL2AHYVvJ61INtifnjSotIG/KO7hWejO67CC924jthCt tiOJJzMUB/KO55VEgcNftujJNHfwuCAvRl8iOfae3r1qz+MD52CNpD3x1qmE24sB44M5 jMBQ==
X-Gm-Message-State: ACrzQf0NPFatkSnIaXe3483HiRAtcQ8ISBywUUYO7o4IbSYbTIxBwSxh nSRnQ9PFu59J6LepLzH0gve+0B1q2HC9OKhFKzsjzQ==
X-Google-Smtp-Source: AMsMyM6ZSj+sLhWpxXf8tk/1U9hRm4IJB/Qo8H2HDjtshAiWk7zIq0ijDd+phCAeiOZoZGq1n4fMWmIlODaThwBpNgs=
X-Received: by 2002:a67:d79b:0:b0:3a6:ed58:5cd0 with SMTP id q27-20020a67d79b000000b003a6ed585cd0mr6244638vsj.69.1666043035680; Mon, 17 Oct 2022 14:43:55 -0700 (PDT)
MIME-Version: 1.0
References: <CAHTnisTDyOwKGg-p7_UypeumVfoFsS-0SbnHvxbQF9tutFfWwg@mail.gmail.com> <E1D9DB34-88AA-4DCE-AD81-9345CC53C159@mnot.net>
In-Reply-To: <E1D9DB34-88AA-4DCE-AD81-9345CC53C159@mnot.net>
From: Dylan Cutler <dylancutler@google.com>
Date: Mon, 17 Oct 2022 17:43:44 -0400
Message-ID: <CAMCNMFR1G3dbCshCbgjiNm-fbckPMG0ZwqquzK7Z3-nmtzS5bQ@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: Kaustubha Govind <kaustubhag@google.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="00000000000052e10605eb41df7a"
Received-SPF: pass client-ip=2607:f8b0:4864:20::e35; envelope-from=dylancutler@google.com; helo=mail-vs1-xe35.google.com
X-W3C-Hub-DKIM-Status: validation passed: (address=dylancutler@google.com domain=google.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-24.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_FONT_LOW_CONTRAST=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1okXu3-00EhEF-PY f3f3a803a8b3968c8683337d1b29410c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Proposal for new `Partitioned` cookie attribute
Archived-At: <https://www.w3.org/mid/CAMCNMFR1G3dbCshCbgjiNm-fbckPMG0ZwqquzK7Z3-nmtzS5bQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/40459
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Hey all,

We think we're now ready to start building consensus in this group to add
the Partitioned attribute into RFC6265bis (or RFC6265ter if appropriate).
Here's an I-D to get the discussion started:
https://datatracker.ietf.org/doc/draft-cutler-httpbis-partitioned-cookies/00/

Thanks,
Dylan

On Sun, May 9, 2021 at 10:08 PM Mark Nottingham <mnot@mnot.net> wrote:

> Hi Kaustubha,
>
> Thanks for bringing up a proposal. It doesn't appear that you're currently
> asking for adoption in RFC6265bis (which would be required to standardise
> it, since cookies don't allow independent extension), but FYI for when
> you're ready:
>
> The process that we've agreed to for RFC6265bis is that all proposals for
> new features and substantial changes need to go through a
> consensus-building process before they can be incorporated into the
> document.[1]
>
> For it to be considered, you'll need to write it up as an Internet-Draft
> (so that it has the appropriate IPR declarations, among other reasons). If
> necessary, we can get someone to help you with that.
>
> Then, we'll discuss it on-list, and optionally you can present something
> in one of our meetings. Provided that initial feedback is positive, we'll
> do a Call for Adoption; if the bar described in [1] is met, we'll take it
> on and the editors will start incorporating it into the document.
>
> Note that we don't recognise the WICG as having any weight in this process.
>
> Feel free to ask if you have any questions about the process, and if/when
> you're ready to move forward, please tell us.
>
> Cheers,
>
>
> 1. https://lists.w3.org/Archives/Public/ietf-http-wg/2015OctDec/0165.html
>
>
> > On 1 May 2021, at 2:31 am, Kaustubha Govind <kaustubhag@google.com>
> wrote:
> >
> > Hi all,
> >
> > I am part of the Chrome team working to phase-out third-party cookies;
> and would like to invite your feedback on our proposal to introduce a new
> `Partitioned` cookie attribute: https://github.com/DCtheTall/CHIPS
> >
> > While third-party (cross-domain) cookies enable tracking across the web,
> there are also use cases on the web today where cross-domain subresources
> require some notion of session or persistent state. In these scenarios, the
> intention for the cookies is not to track across sites, but to provide a
> notion of session (or state) to embedders for a user's activity within a
> single top-level context.
> >
> > Our proposal is to introduce a new opt-in cookie attribute,
> `Partitioned`, which servers can use to indicate they’d wish to set a
> cross-site cookie which is partitioned by top-level site.
> >
> > I should also point out that Firefox recently started partitioning all
> third-party cookies by default in the ETP Strict mode [1]. We prefer an
> opt-in approach to ensure that developers fully understand what semantics
> to expect, and avoid potential confusion and site compatibility issues. In
> addition, the WebKit team also recently proposed using the Storage Access
> API to allow embeds to optionally request access to partitioned cookies
> [2]. We think using a cookie attribute will be more efficient than a
> JavaScript-based approach.
> >
> > The motivation for this work is that when major browsers no longer
> support unpartitioned third-party cookies, these Partitioned cookies should
> not be subject to the same cross-site cookie restrictions as unpartitioned
> third-party cookies. This would allow third parties to continue to use
> cookies without giving them the capability of storing cross-site
> identifiers on users’ machines.
> >
> > We understand that this attribute will likely not be applicable to all
> HTTP clients. At this time, we would like to incubate the idea in the WICG
> and are asking for feedback/support here:
> https://discourse.wicg.io/t/proposal-cookies-having-independent-partitioned-state-chips/5290
> >
> > Thank you,
> > Kaustubha Govind
> > Engineering Manager, Chrome
> >
> > [1] https://hacks.mozilla.org/2021/02/introducing-state-partitioning/
> > [2] https://github.com/privacycg/storage-access/issues/75
>
> --
> Mark Nottingham   https://www.mnot.net/
>
>