Re: Request-Off-The-Record Mode header

Shivan Kaul Sahib <shivankaulsahib@gmail.com> Mon, 12 June 2023 06:56 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 30EEEC151545 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 11 Jun 2023 23:56:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.044
X-Spam-Level:
X-Spam-Status: No, score=-5.044 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 NFw-6ykOgi3l for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 11 Jun 2023 23:56:11 -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 0CF92C151081 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 11 Jun 2023 23:56:10 -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 1q8bT5-00DxRk-5Z for ietf-http-wg-dist@listhub.w3.org; Mon, 12 Jun 2023 06:55:59 +0000
Resent-Date: Mon, 12 Jun 2023 06:55:59 +0000
Resent-Message-Id: <E1q8bT5-00DxRk-5Z@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 <shivankaul.1993@gmail.com>) id 1q8bT3-00DxQn-Vc; Mon, 12 Jun 2023 06:55:57 +0000
Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by titan.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from <shivankaul.1993@gmail.com>) id 1q8bT2-00Fv7Q-6p; Mon, 12 Jun 2023 06:55:57 +0000
Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-30fb4b3e62fso822109f8f.2; Sun, 11 Jun 2023 23:55:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686552952; x=1689144952; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Q5bSDHfH8QQZQrChPagq8+ewgJukKeJfMKmevtT5iXc=; b=QaZzEK2yYRVPszYhXel3XIAcVME8LKwfj8cUaiSdV+ZhxVapxJYbBpqB+zXlbOE5Rn SoL9A0Y7cIxgPX7meQAMp3z0OnJ4tnqju/4S3qdMynI6oYQBpUZwWYKMN/II5PVpTIq7 rUkDwnMRHMOdb4fQAx2Jal2aDEqcvaNipHtCDNS8/p143OrDmYfhjXXMwK912BqpCcQP j0N235pFJQuHGjcfz785l8nELkgmJQ2kMLvcNyiG+4Egcx5OwU+oIA+lN9TzaYaeFw6j oUbhqnrQEkyPhDFj7yhmgKUJGTb8t9suv2pBavtsXxIRN8Cm/yPpKA0qK68Qy+QZTFOD CdPg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686552952; x=1689144952; 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=Q5bSDHfH8QQZQrChPagq8+ewgJukKeJfMKmevtT5iXc=; b=F0nXBOrJWPosuLUaKiqKRwY/9Vf1m3wu18Lz+VVRVJY3F3TVPh1m7lUNTvIvCv/jx4 eWk0XFGGMPRgGDF5iEyG+ioHn0lnfWMrvZyZldM9jAsNgJycSyPgZCHUw+o7mi3plLjG uX/KXObdcRJhV8erZKBZNDSq6IUZMztnTcON9WM4PuIaQuNAqzfrCf1CTk++0lQg6TYw l2SwSPqHche9/ytL3FqZWaDazygz0M9gWG8F8qseaJfgqwCzU7hdxkKp/mdS/QjkKvex WrLA9eGy8VOgfYpscdhOuLxEcUU1VuUVKKTbjNUJDnTr1xowCRNFmovzNSwin5+m8Uzm m3SQ==
X-Gm-Message-State: AC+VfDy7aMf1VZYlAHkwpAM2z8aY3YOVWCfpjy+8nmpAnllnuq97MUlX FZl3du4ClVEMTucYGrr4sW48q53VskIWqP81jNo=
X-Google-Smtp-Source: ACHHUZ6M3J90B/eMirYLJO7yIVPiXIlWdhyJtnS6uwQYfhsFVwI5pASU026dsfKZ8oy7qPwOIlllflCaG+YJo8HOkFY=
X-Received: by 2002:adf:f689:0:b0:30a:aeb0:910d with SMTP id v9-20020adff689000000b0030aaeb0910dmr4046099wrp.44.1686552951381; Sun, 11 Jun 2023 23:55:51 -0700 (PDT)
MIME-Version: 1.0
References: <CAG3f7Mi=QVLNdxL5LWxzf-2uAT8KO9B-NWFoaM_HHOvpiPzbRA@mail.gmail.com> <SA1PR00MB1461642051E1C9091088F2D8F750A@SA1PR00MB1461.namprd00.prod.outlook.com> <CAPDSy+4dXuF1YTWAC+v0dAVF5E=+D45v35vL69od718KzAWKqQ@mail.gmail.com> <CAEnXMMp-jQSqJx6kc9rxUJCVQ5LFxLu6RPWcLCpnKcc8p2iF6g@mail.gmail.com>
In-Reply-To: <CAEnXMMp-jQSqJx6kc9rxUJCVQ5LFxLu6RPWcLCpnKcc8p2iF6g@mail.gmail.com>
From: Shivan Kaul Sahib <shivankaulsahib@gmail.com>
Date: Sun, 11 Jun 2023 23:55:15 -0700
Message-ID: <CAG3f7MhOFfhsW_86fS8dgipMDZ8B8Ft7bD6kZ_ftK9ny0iea0w@mail.gmail.com>
To: Caleb Queern <cqueern@gmail.com>
Cc: "public-webappsec@w3.org" <public-webappsec@w3.org>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="0000000000008fe13505fde93526"
Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=shivankaul.1993@gmail.com; helo=mail-wr1-x430.google.com
X-W3C-Hub-DKIM-Status: validation passed: (address=shivankaul.1993@gmail.com domain=gmail.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-5.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1q8bT2-00Fv7Q-6p a421d9b77b09452ec922f2b90024d4a4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Request-Off-The-Record Mode header
Archived-At: <https://www.w3.org/mid/CAG3f7MhOFfhsW_86fS8dgipMDZ8B8Ft7bD6kZ_ftK9ny0iea0w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/51160
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 Caleb,

On Thu, 8 Jun 2023 at 14:58, Caleb Queern <cqueern@gmail.com> wrote:

> This feels very similar to what <ahem> some have said about the
> Clear-Site-Data header both in its utility and risks.
>

I think one big difference between Off-The-Record and Clear-Site-Data is
that Off-The-Record is preventative, while Clear-Site-Data is sent after
the fact. Also, in the case of Clear-Site-Data, the website specifies
what to clear, while with Off-The-Record the website leaves it up to the
user agent.

>
> On Thu, Jun 8, 2023 at 4:52 PM David Schinazi <dschinazi.ietf@gmail.com>
> wrote:
>
>> This sounds very useful for the domestic violence resources use case, but
>> at the same time I could imagine malware websites abusing it to erase
>> traces of how a machine got infected. Would it be possible to get user
>> consent per origin for this?
>> David
>>
>> On Thu, Jun 8, 2023 at 2:42 PM Eric Lawrence <Eric.Lawrence@microsoft.com>
>> wrote:
>>
>>> This generally seems useful.
>>>
>>>
>>>
>>> I can foresee some user confusion if a user encountered the interstitial
>>> page when visiting the target site in InPrivate/Incognito mode, but I also
>>> wouldn’t want to skip the interstitial page in those privacy modes (because
>>> it could be abused as an oracle that would reveal to the site whether a
>>> visitor is using a Private Mode already).
>>>
>>> In Chromium-based browsers, browser extensions are disabled by default
>>> while in Private Mode. It does not look like you propose to disable
>>> extensions from interacting with “Off-the-record” sites?
>>>
>>>
>>>
>>> *From:* Shivan Kaul Sahib <shivankaulsahib@gmail.com>
>>> *Sent:* Thursday, June 8, 2023 2:14 PM
>>> *To:* public-webappsec@w3.org; HTTP Working Group <ietf-http-wg@w3.org>
>>> *Subject:* Request-Off-The-Record Mode header
>>>
>>>
>>>
>>> You don't often get email from shivankaulsahib@gmail.com. Learn why
>>> this is important <https://aka.ms/LearnAboutSenderIdentification>
>>>
>>> Hi folks, this is a head's up and early request for feedback:
>>>
>>>
>>>
>>> Brave is shipping support for an HTTP response header sent by a website
>>> that wants the client to treat the website as "off-the-record" i.e. not
>>> store anything in storage, not record the site visit in history etc. Kind
>>> of like incognito/private browsing mode but site-initiated and only for a
>>> specific website. The header is simple: it would look like `Request-OTR:
>>> 1`. Some details here:
>>> https://brave.com/privacy-updates/26-request-off-the-record/#request-otr-header. Currently
>>> we bootstrap for websites that have expressed interest in this (mainly
>>> websites that have help resources for domestic violence victims, which was
>>> the driving use-case) by preloading a list of websites into the browser,
>>> but it would be nice to standardize the header. We're considering doing the
>>> work in the HTTP WG at IETF: it's envisioned to be a simple header.
>>>
>>> I see that this idea was previously discussed in W3C WebAppSec:
>>> https://lists.w3.org/Archives/Public/public-webappsec/2015Sep/0016.html,
>>> and there was a draft Mozilla spec:
>>> https://wiki.mozilla.org/Security/Automatic_Private_Browsing_Upgrades,
>>> though as a CSP directive.
>>>
>>>
>>>
>>> Happy to hear what people think.
>>>
>>>
>>>
>>>
>>>
>>