[websec] Well-known URIs

Mark Nottingham <mnot@mnot.net> Thu, 08 August 2013 12:36 UTC

Return-Path: <mnot@mnot.net>
X-Original-To: websec@ietfa.amsl.com
Delivered-To: websec@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C914621F9EA8 for <websec@ietfa.amsl.com>; Thu, 8 Aug 2013 05:36:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level:
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lmlonTAO109N for <websec@ietfa.amsl.com>; Thu, 8 Aug 2013 05:35:56 -0700 (PDT)
Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) by ietfa.amsl.com (Postfix) with ESMTP id 5CC9721F9EB5 for <websec@ietf.org>; Thu, 8 Aug 2013 05:35:56 -0700 (PDT)
Received: from [192.168.2.194] (unknown [84.176.44.224]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 9565150A85 for <websec@ietf.org>; Thu, 8 Aug 2013 08:35:52 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: quoted-printable
Message-Id: <4CF90F65-62CE-4AE0-9113-932F93A98782@mnot.net>
Date: Thu, 08 Aug 2013 14:35:46 +0200
To: "<websec@ietf.org>" <websec@ietf.org>
Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\))
X-Mailer: Apple Mail (2.1508)
X-Mailman-Approved-At: Thu, 08 Aug 2013 09:54:40 -0700
Subject: [websec] Well-known URIs
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/websec>, <mailto:websec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/websec>
List-Post: <mailto:websec@ietf.org>
List-Help: <mailto:websec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/websec>, <mailto:websec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 08 Aug 2013 12:36:00 -0000

Hi,

I see there's discussion of well-known URIs for Websec over here.

Just a few points that may help… or not.

1. Well-known URIs are designed for cases where the client wants to get a bunch of *related* data together; as such, a general framework is encouraged, as long as the use cases are similar. 

This is why I don't like hostmeta; it's a bucket for anything you want to throw in there, which means that over time, the client will be getting a lot of information they don't want, which will necessitate a query language, which is just nasty overkill. At the other end of the spectrum, having a single-use well-known URI in the critical path (or even not) for a browser is similarly Not A Good Idea.

2. Discovering whether a well-known URI is present on a given host without much overhead is the use case for browser hints: <http://tools.ietf.org/html/draft-nottingham-http-browser-hints-05>.  Looking for a better name for that one…

3. Alternatively, if browsers are pre connecting, they could use the conn to fetch a well-known URI, as long as it was cheap to fetch. That policy file could even control how aggressively the browser pre-connects (two birds, one stone…).

Hope this helps,


--
Mark Nottingham   http://www.mnot.net/