Re: #322: Origin

"Roy T. Fielding" <fielding@gbiv.com> Wed, 14 December 2011 18:59 UTC

Return-Path: <ietf-http-wg-request@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 2D3081F0C40 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 14 Dec 2011 10:59:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.266
X-Spam-Level:
X-Spam-Status: No, score=-9.266 tagged_above=-999 required=5 tests=[AWL=1.333, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
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 Ky5ubMwz7Gc7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 14 Dec 2011 10:59:06 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 49A9721F84B1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 14 Dec 2011 10:59:06 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Rau2U-0002LK-1X for ietf-http-wg-dist@listhub.w3.org; Wed, 14 Dec 2011 18:58:50 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <fielding@gbiv.com>) id 1Rau2K-0002JR-2Q for ietf-http-wg@listhub.w3.org; Wed, 14 Dec 2011 18:58:40 +0000
Received: from caiajhbdcbbj.dreamhost.com ([208.97.132.119] helo=homiemail-a74.g.dreamhost.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <fielding@gbiv.com>) id 1Rau2H-0007SV-Af for ietf-http-wg@w3.org; Wed, 14 Dec 2011 18:58:39 +0000
Received: from homiemail-a74.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a74.g.dreamhost.com (Postfix) with ESMTP id 59E6567C06E; Wed, 14 Dec 2011 10:55:44 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gbiv.com; h=subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to; q=dns; s=gbiv.com; b=Okl2lL9xmmBb4Wea Rt9CIVIY/JeMIOs8kAv/OgRzgN8r5v8TjQkEVx9z44Ai0yaYNp+52PtD2XrRQgzr v7ne51iQPRCI6LYH6H70Q0JHMJLDyeymwrZad9DbAxct0hD0K949yyDcyl5zi92/ AQE0O7J5ZCt5JGHJ8xK9czRzuvc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gbiv.com; h=subject :mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=gbiv.com; bh=DGjFDfWrwl1W8tIZPI3tSUOZLN4=; b=KrhGAT5jVKSV1DnVuamIqR2Q29eQ SSS9ZNb68q4qqTVMQ3+Z2dpJvT6Hhw82gZGhv3jIiee+kHLyIrytJfHBjm0bCWSP MV44Ppd3KLAOJ5AGzl5EldUPEx07O4ozNoQaittsdW857LMKTRltt0AJXqXpxBYS hZE35P9DvQClmT8=
Received: from [192.168.1.84] (99-21-208-82.lightspeed.irvnca.sbcglobal.net [99.21.208.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: fielding@gbiv.com) by homiemail-a74.g.dreamhost.com (Postfix) with ESMTPSA id CA3FD67C072; Wed, 14 Dec 2011 10:55:28 -0800 (PST)
Mime-Version: 1.0 (Apple Message framework v1251.1)
Content-Type: text/plain; charset="us-ascii"
From: "Roy T. Fielding" <fielding@gbiv.com>
In-Reply-To: <DDF6EEB5-8482-4B60-BBA3-16E07AC7E003@mnot.net>
Date: Wed, 14 Dec 2011 10:55:29 -0800
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <FA0C9982-9745-45E2-8E33-CF9D9E80B3F0@gbiv.com>
References: <DDF6EEB5-8482-4B60-BBA3-16E07AC7E003@mnot.net>
To: Mark Nottingham <mnot@mnot.net>
X-Mailer: Apple Mail (2.1251.1)
Received-SPF: none client-ip=208.97.132.119; envelope-from=fielding@gbiv.com; helo=homiemail-a74.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-2.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1
X-W3C-Scan-Sig: maggie.w3.org 1Rau2H-0007SV-Af c2c320e78c2ca42f7776f96f5164026d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #322: Origin
Archived-At: <http://www.w3.org/mid/FA0C9982-9745-45E2-8E33-CF9D9E80B3F0@gbiv.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/11849
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: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Rau2U-0002LK-1X@frink.w3.org>
Resent-Date: Wed, 14 Dec 2011 18:58:50 +0000

No, the notion in Origin is an exception to DNS authorities for broadening
security constraints on javascript, etc.  HTTP caching must not allow a
non-matching-authority (including a different port) define what can be
invalidated or replaced.

....Roy

On Dec 13, 2011, at 7:27 PM, Mark Nottingham wrote:

> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/322>
> 
> Since we now have a definition of an Origin, it'd be good to use it where appropriate.
> 
> Proposal for p7 2.2:
> 
> """A protection space is defined by the origin [ref to origin rfc], combined with the realm value (if present)."""
> 
> Proposal for p6 2.5:
> 
> """However, a cache MUST NOT invalidate a URI from a Location or Content-Location header field if that URI does not have the same origin as that of the effective request URI (section 4.3 of [Part1]), as specified in [ref to origin rfc]."""
> 
> Comments?
> 
> 
> --
> Mark Nottingham   http://www.mnot.net/
> 
> 
> 
>