Re: HTTP Unprompted Authentication

Ryan Hamilton <rch@google.com> Tue, 18 October 2022 16:19 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 7EC13C14F73F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 18 Oct 2022 09:19:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.259
X-Spam-Level:
X-Spam-Status: No, score=-10.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_MESSAGE=0.001, MAILING_LIST_MULTI=-1, 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_BLOCKED=0.001, 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 oXt22ClFTPRm for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 18 Oct 2022 09:19:18 -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 8E801C14CE28 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 18 Oct 2022 09:19:17 -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 1okpGn-000upf-54 for ietf-http-wg-dist@listhub.w3.org; Tue, 18 Oct 2022 16:16:45 +0000
Resent-Date: Tue, 18 Oct 2022 16:16:45 +0000
Resent-Message-Id: <E1okpGn-000upf-54@lyra.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by lyra.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <rch@google.com>) id 1okpGm-000uos-JX for ietf-http-wg@listhub.w3.org; Tue, 18 Oct 2022 16:16:44 +0000
Received: from mail-yw1-x1129.google.com ([2607:f8b0:4864:20::1129]) by mimas.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from <rch@google.com>) id 1okpGl-00FDDj-51 for ietf-http-wg@w3.org; Tue, 18 Oct 2022 16:16:44 +0000
Received: by mail-yw1-x1129.google.com with SMTP id 00721157ae682-35befab86a4so141774197b3.8 for <ietf-http-wg@w3.org>; Tue, 18 Oct 2022 09:16:41 -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=3w2ij7+Sz/EKaqqjyyPbhL0dVgs/ZdJoo1HEnudh6mI=; b=CIZGuKatPU3JBPBPx9QW+J7FSWoFC2fpV5thGu3EQwYnw7WBj7AMz1//hwMz+xgZ8H blkIWa+rS9qi+5lh/5AKHblJdKdg1BQIT67raQ4UDaJwUpBzs/r54RFpmKYh+20IHd6a b/Hzsot/wSlofQ+eKT2dvxer4jmcIOGhhuzZd+8Lz2B2oNxXNoPWV73tFzNnOgZSqrMl rrXk4cJBp+/bk756fZTUt4oCTtiSkOQf1Cl+9rcSIadrrifbeCx8XhtXC3R6OgVm+Mp7 3XMrOidnk2PeTi//850jEA63dv51V708GpFbGlJILBxXnsYPQ7tOmybVgZY4WyvkRyWt 6Rvg==
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=3w2ij7+Sz/EKaqqjyyPbhL0dVgs/ZdJoo1HEnudh6mI=; b=iWq99PsR3++H/7oUHLEuhoAWfrEnDO/fVQxWNUeL3vYWRz8OIBqAiCeasfWaYzFjPe skaruQx6ErRNrQIvQMEhYdU+bdcXsrgT9wr1RtdQfbp0YWtwMeZMSjrxHcSxiO2RaXeQ rnuYqyfAfEuIP3NqZpIhVISpa+gqumeGyfdJX8MDDsZqaHWpWtdiEqGF+RO+wKWEuvrx 7Jm008GRNDQqh0C8MGLWz3KKvAz9Lycq30ugvXCPy1WkHkOSGeu3Wg11QsQDz9nlfYd7 IS0kqCQIvzKdvgF10HvJCp9CU0zTobWXytHS6n7Z1eNUlDh06CE6ky5ob5EpfZ840ohg aixg==
X-Gm-Message-State: ACrzQf3JKsJDH82LFwY8wGa5xCMVCxN0H3AzZEtKewmdHc9ysDGWk7Aa VLgij7wScVI6UJ5aAle4LhRyglyypGYe+4V3hwWBxD7yGw6C0g==
X-Google-Smtp-Source: AMsMyM71Q5YGoVbFAtaAK2E3Nz0Us0JQKWttP3M0L4JsGW+/ttmnCwLNdH7fOYwKnVNF3wvQrG+10zb3CeujR0cOpI4=
X-Received: by 2002:a81:7d42:0:b0:35c:12db:ac4c with SMTP id y63-20020a817d42000000b0035c12dbac4cmr3092394ywc.313.1666109791218; Tue, 18 Oct 2022 09:16:31 -0700 (PDT)
MIME-Version: 1.0
References: <CAHbrMsCWsLsaNXi4J+DbOvpvjxx8m11F0NpgEeZUY34n89hYtQ@mail.gmail.com>
In-Reply-To: <CAHbrMsCWsLsaNXi4J+DbOvpvjxx8m11F0NpgEeZUY34n89hYtQ@mail.gmail.com>
From: Ryan Hamilton <rch@google.com>
Date: Tue, 18 Oct 2022 09:16:19 -0700
Message-ID: <CAJ_4DfRNCUFcz8kD557kN5aoENyzRS=FPsgVO7tc6YcqHK7-bQ@mail.gmail.com>
To: Ben Schwartz <bemasc@google.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="000000000000437fa205eb516a4c"
Received-SPF: pass client-ip=2607:f8b0:4864:20::1129; envelope-from=rch@google.com; helo=mail-yw1-x1129.google.com
X-W3C-Hub-DKIM-Status: validation passed: (address=rch@google.com domain=google.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-19.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_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_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1okpGl-00FDDj-51 473ce670fc94300926b3323ef1941af2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP Unprompted Authentication
Archived-At: <https://www.w3.org/mid/CAJ_4DfRNCUFcz8kD557kN5aoENyzRS=FPsgVO7tc6YcqHK7-bQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/40463
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>

I think [1] should perhaps be
https://www.ietf.org/id/draft-schwartz-modern-http-proxies-00.html?

On Tue, Oct 18, 2022 at 9:14 AM Ben Schwartz <bemasc@google.com> wrote:

> I support the goals of the Unprompted Authentication draft.  In fact, I'm
> so supportive that I recently posted a draft that happens to solve an
> overlapping problem in a very different way: "Modernizing HTTP Forward
> Proxy Functionality" [1].
>
> To step back: confidential HTTP _resources_ are arguably a solved
> problem.  We can simply place the resource at an unguessable path (e.g.
> "capability URLs" [2]).  The problem mentioned by this draft occurs when
> the HTTP service is origin-scoped (e.g. it is not a resource).  The only
> non-resource HTTP service that I'm aware of is forward proxy
> functionality.  Thus, one way to improve confidentiality of proxies is to
> make them path-scoped, and this is what the "Modernizing" draft does.
>
> These proposals are not mutually exclusive.  Path-scoped proxies have
> other benefits, and unprompted authentication could be useful for other
> services with inflexible paths (e.g. .well-known/ resources).  However,
> given the overlapping use cases, these drafts should probably be discussed
> together.
>
> --Ben
>
> [1]
> https://datatracker.ietf.org/doc/draft-schwartz-modern-http-proxies/Modernizing
> HTTP Forward Proxy Functionality
> [2] https://www.w3.org/TR/capability-urls/
>