Re: Request-Off-The-Record Mode header

Greg Wilkins <gregw@webtide.com> Mon, 12 June 2023 06:52 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 BD686C151546 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 11 Jun 2023 23:52:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.644
X-Spam-Level:
X-Spam-Status: No, score=-2.644 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-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=webtide-com.20221208.gappssmtp.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 03A80NWL-YhN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 11 Jun 2023 23:52: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 7D3D5C151545 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 11 Jun 2023 23:52:11 -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 1q8bPE-00DwPf-Bo for ietf-http-wg-dist@listhub.w3.org; Mon, 12 Jun 2023 06:52:00 +0000
Resent-Date: Mon, 12 Jun 2023 06:52:00 +0000
Resent-Message-Id: <E1q8bPE-00DwPf-Bo@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 <gregw@webtide.com>) id 1q8bPD-00DwOL-18 for ietf-http-wg@listhub.w3.org; Mon, 12 Jun 2023 06:51:59 +0000
Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]) by titan.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from <gregw@webtide.com>) id 1q8bPB-00Fv30-5Q for ietf-http-wg@w3.org; Mon, 12 Jun 2023 06:51:58 +0000
Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-4f65779894eso3786413e87.1 for <ietf-http-wg@w3.org>; Sun, 11 Jun 2023 23:51:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=webtide-com.20221208.gappssmtp.com; s=20221208; t=1686552712; x=1689144712; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ZfC41T13l9pYT+CEJDVI0KX5XUbQCIbH94H6C+gvHtM=; b=MtAJlACpQvOkP9sXaEBKuuISICZzcuC3SPdaX2sBm+54RiY1XRNcZfWNcsIXy9G74l IqVQ3vBYDfjO3vMoc6kkZZguSYd4NvHZl+7jiIK9jqV9zuQDVwR7V5wAUQJfaf317KMz 0nGgHg1gPyRcV4ZL2H4qX6Uky83ls6mm4n3A1XueE0a43x8fdwRTf1DS4OxbXm8sXLf5 J6T7/tz6Cj20q/vCdbmSxrmcntqQjCtfYN+vFGGNdzBPYSJyYoCki7/3d+EnidmPzFrh Mg4Qn9QgywraA4H3orPEhv9LMpDOzES5CKrg2zOrRN5mo3viJC/UM8ugxfMV53rowF04 NcPg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686552712; x=1689144712; 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=ZfC41T13l9pYT+CEJDVI0KX5XUbQCIbH94H6C+gvHtM=; b=hN+DfRJERwqyzxKjbodmLdHuFg9kiBO5VqRYAuX6tMS5uB63pgZUdyNzHp7o28NfDR pxKGZPMaKwZH/9k9DJDb/7y0+TFy2LVod4EqmDI9ZG/mmCAIhEWiMDHWuIwvrN8/2gPD C+BGQXLhkRc4umF1bK3GtbIXzOm8BKEWUBm0HxKcVoqwVTAfxbu7K7DNZHviDyMk4jNe UqKZ6+8L9jgkKwIzPugC4J3zDcBhuRQR0abudJz81YmD5e519MHyzh3UC8Ja6Ii4U8vj nL/CRqZb9l4/eldIWGsyjB2vZEc4vF2BWrB9BAyzNtaXL/zcwWMaJcxMuPtVHteVdnmh MAUg==
X-Gm-Message-State: AC+VfDwwCNfZUreHWAKhnG6p9mZXAv2dNPN/AliW0Kgv/Z8J5KNRpqyr cnuXO5QujbzPsES2c+waTpzNRZuNZlgelOHoRtVIQg==
X-Google-Smtp-Source: ACHHUZ6d76CXck1IwZWx7LaFJFSAurxqW2SC9K/tG8c8LAYS+0jiDd8sfXSa5ViCXs8GylVjsmJlGGi/0LAjTS+k1a8=
X-Received: by 2002:a2e:b4b2:0:b0:2b2:83:b7e6 with SMTP id q18-20020a2eb4b2000000b002b20083b7e6mr1752635ljm.24.1686552712269; Sun, 11 Jun 2023 23:51:52 -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> <68e96464d03b5f9ee48548e73ca7b184c32192e2.camel@16bits.net> <CAG3f7MjoAPvqdP3Xe_6H5G80pTmzgnSDg9FF8ViY8Q8=yNrkiw@mail.gmail.com>
In-Reply-To: <CAG3f7MjoAPvqdP3Xe_6H5G80pTmzgnSDg9FF8ViY8Q8=yNrkiw@mail.gmail.com>
From: Greg Wilkins <gregw@webtide.com>
Date: Mon, 12 Jun 2023 08:51:41 +0200
Message-ID: <CAAPGdfHJDbLRAyOqqz80xgVCNziWfaVjrn3Pn=T1rcUnnN0r2w@mail.gmail.com>
To: Shivan Kaul Sahib <shivankaulsahib@gmail.com>
Cc: Ángel <angel@16bits.net>, public-webappsec@w3.org, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary="0000000000004f685f05fde927b3"
Received-SPF: softfail client-ip=2a00:1450:4864:20::130; envelope-from=gregw@webtide.com; helo=mail-lf1-x130.google.com
X-W3C-Hub-DKIM-Status: validation passed: (address=gregw@webtide.com domain=webtide-com.20221208.gappssmtp.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-3.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, T_SCC_BODY_TEXT_LINE=-0.01, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1q8bPB-00Fv30-5Q c62aea390c9da12bd651d69b60e13921
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Request-Off-The-Record Mode header
Archived-At: <https://www.w3.org/mid/CAAPGdfHJDbLRAyOqqz80xgVCNziWfaVjrn3Pn=T1rcUnnN0r2w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/51158
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>

What would be the requirements on a Proxy?

I'm assuming an origin server would log the requests as normal, but a proxy
might be in a different administrative domain.  Proxies have no user to ask.

Should this header only be used with end-to-end secure connections?








On Mon, 12 Jun 2023 at 08:46, Shivan Kaul Sahib <shivankaulsahib@gmail.com>
wrote:

>
>
> On Sun, 11 Jun 2023 at 17:04, Ángel <angel@16bits.net> wrote:
>
>> On 2023-06-08 at 14:51 -0700, David Schinazi 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
>>
>> You shouldn't be able to *store* such user content (as that would spoil
>> the intent), but I like the idea of an origin popping up a browser
>> request asking whether to treat it as an Incognito/Private, rather than
>> the website "knowing better than the user" and bypassing the browser
>> features by its own volition.
>>
>> While not mentioned explicitly in the initial message, this already
>> seems to be the way the feature works in Brave.
>>
>
> Right! The default mode is Ask, which means the user will get prompted for
> consent if the website requests Off-The-Record mode. The user can also set
> it to be Allow or Deny in settings or from the prompt.
>
>>
>>
>> Shivan, it would be interesting if you could share a website or test
>> domain for which that feature is enabled in your browser.
>>
>
> It would be any of the websites at
> https://github.com/brave/adblock-lists/blob/master/brave-lists/request-otr.json,
> one example is https://www.loveisrespect.org/. These should work on Brave
> Nightly.
>


-- 
Greg Wilkins <gregw@webtide.com> CTO http://webtide.com