Re: Request-Off-The-Record Mode header

Shivan Kaul Sahib <shivankaulsahib@gmail.com> Mon, 12 June 2023 06:44 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 50F91C151546 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 11 Jun 2023 23:44:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.744
X-Spam-Level:
X-Spam-Status: No, score=-2.744 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_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 5BHFvF7uynV3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 11 Jun 2023 23:44:34 -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 2D0E1C151081 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 11 Jun 2023 23:44:33 -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 1q8bFp-00DuFg-0q for ietf-http-wg-dist@listhub.w3.org; Mon, 12 Jun 2023 06:42:17 +0000
Resent-Date: Mon, 12 Jun 2023 06:42:17 +0000
Resent-Message-Id: <E1q8bFp-00DuFg-0q@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 1q8bFk-00DuEo-BQ; Mon, 12 Jun 2023 06:42:12 +0000
Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) 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 1q8bFi-00Fur1-MU; Mon, 12 Jun 2023 06:42:12 +0000
Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-30fb7be435dso760958f8f.1; Sun, 11 Jun 2023 23:42:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686552126; x=1689144126; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=p7L5XSwavJvkU0vGhdJbepyZyQmwUtHsBDTOe5FIYNs=; b=OyNFwybGiuhrofvo1wiFdc+bPQbz9KWnzfemYH3hKdmZKlQo1hSMdaNqi+zm8Cvvbh 81CrWoBGUslnCS/ZlbtAI2ZE6nm03Etj97BRv93Au2Hvf9TwPorMZtVexL1QpWnd8CTY G/gkgIvpFoPKcNjdDOun/Ou07pQzgkZCOaiYRqI0BbAXQ+VBMgu35zjakpL/O4cB3tIj 5QpiTxAk/6g38xar31p0SqXAaMDooKQOuv2rw7L+qDC9mLI0vpH9SGsngj8W9CV8DmHa 41B8yJKLn42+lNRPDVTrqIzQSpqaVgL7gFkfJZdp4eH1sFcssHZNtELDaol/XV1zSBc9 KxHw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686552126; x=1689144126; 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=p7L5XSwavJvkU0vGhdJbepyZyQmwUtHsBDTOe5FIYNs=; b=XxLJJAG7GUColuN0f8NlQNXR8TMZxaBHrklVUiKK1o7qlhyA+gmwx69Q0UQvSYBDn+ DSIfu+9Ar27U5BdQ7P5AMsECJ7ATodoKVXkjop7p1LfZL+ydsxd5M/emHzJE1eLUs6oM iUS/V70kif0qyPTPWk6whszLmw6G/fRruru2M63qjVPjHTWUftUoX6LRKXJ8bQ/f8OAN MrXMt/fidw4RKoGoxfPjTfXQWKOf9NIcXbBH4gZG9B1fLFmsGUPkuYMCwvfGhSEOy0QU mZ8UD1Mx9yEhjCKJN4euJXulhaKUv9rdmE1+ORfxSdI8NmL816kpx2hQP5U/xqedxy1h KsTQ==
X-Gm-Message-State: AC+VfDw0O5Q9Ng/K6DnYNLq1m/0dVx7as/yGnleOu039DNIcyLIhfxhF fEfMcD0uNIYaJw0JObxactzkOs+Z6k7O/Bm3V7w=
X-Google-Smtp-Source: ACHHUZ41VoRQut92KC0h4InN1Kso75GfpR38buRxbnzOItK4kpI9UeW63tX4nGQ+iliDNWJIIEaT5O2xkcfk3k5xkFQ=
X-Received: by 2002:adf:ee84:0:b0:306:36ef:2e3b with SMTP id b4-20020adfee84000000b0030636ef2e3bmr2971532wro.70.1686552125756; Sun, 11 Jun 2023 23:42:05 -0700 (PDT)
MIME-Version: 1.0
References: <CAG3f7Mi=QVLNdxL5LWxzf-2uAT8KO9B-NWFoaM_HHOvpiPzbRA@mail.gmail.com> <SA1PR00MB1461642051E1C9091088F2D8F750A@SA1PR00MB1461.namprd00.prod.outlook.com>
In-Reply-To: <SA1PR00MB1461642051E1C9091088F2D8F750A@SA1PR00MB1461.namprd00.prod.outlook.com>
From: Shivan Kaul Sahib <shivankaulsahib@gmail.com>
Date: Sun, 11 Jun 2023 23:41:29 -0700
Message-ID: <CAG3f7MjeO8nFF74bct9iuwa2q8eFAsA=a4=ZF=W1OHrVtvbjJA@mail.gmail.com>
To: Eric Lawrence <Eric.Lawrence@microsoft.com>
Cc: "public-webappsec@w3.org" <public-webappsec@w3.org>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="00000000000059d82b05fde90481"
Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=shivankaul.1993@gmail.com; helo=mail-wr1-x42c.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 1q8bFi-00Fur1-MU 0facceb9d54f1617766ebf54948ddf9e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Request-Off-The-Record Mode header
Archived-At: <https://www.w3.org/mid/CAG3f7MjeO8nFF74bct9iuwa2q8eFAsA=a4=ZF=W1OHrVtvbjJA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/51156
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>

Hi Eric,

On Thu, 8 Jun 2023 at 14:40, 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?
>

That was the original plan (we were also considering only enabling those
extensions in OTR mode which a user opts-in to seeing in private windows),
but we ran into implementation issues, because extensions are per-profile
in Chromium, not per-tab/WebContents. We would like to disable/selectively
enable extensions for off-the-record websites.


>
>
> *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.
>
>
>
>
>