Re: [websec] Principles of the Same-Origin Policy

Peter Saint-Andre <stpeter@stpeter.im> Thu, 24 February 2011 21:40 UTC

Return-Path: <stpeter@stpeter.im>
X-Original-To: websec@core3.amsl.com
Delivered-To: websec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3147D3A680E for <websec@core3.amsl.com>; Thu, 24 Feb 2011 13:40:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.639
X-Spam-Level:
X-Spam-Status: No, score=-102.639 tagged_above=-999 required=5 tests=[AWL=-0.040, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Rc2KUNe-RyVo for <websec@core3.amsl.com>; Thu, 24 Feb 2011 13:40:49 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 2C12D3A6807 for <websec@ietf.org>; Thu, 24 Feb 2011 13:40:49 -0800 (PST)
Received: from dhcp-64-101-72-185.cisco.com (dhcp-64-101-72-185.cisco.com [64.101.72.185]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 589074011B; Thu, 24 Feb 2011 15:00:31 -0700 (MST)
Message-ID: <4D66D091.8070104@stpeter.im>
Date: Thu, 24 Feb 2011 14:41:37 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7
MIME-Version: 1.0
To: Adam Barth <ietf@adambarth.com>
References: <AANLkTi=nCJSC2ZpY6R_NPJUjODAgiYcRSZTaSxWr8+Fz@mail.gmail.com> <4D66CC25.6070202@stpeter.im> <AANLkTi=nQwmMrmA5cY5GRZbTWPVo6uaWfPbupe_e+A+3@mail.gmail.com>
In-Reply-To: <AANLkTi=nQwmMrmA5cY5GRZbTWPVo6uaWfPbupe_e+A+3@mail.gmail.com>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha1"; boundary="------------ms080607090406050302060007"
Cc: websec@ietf.org
Subject: Re: [websec] Principles of the Same-Origin Policy
X-BeenThere: websec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Web Application Security Minus Authentication and Transport <websec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 24 Feb 2011 21:40:50 -0000

On 2/24/11 2:39 PM, Adam Barth wrote:
> On Thu, Feb 24, 2011 at 1:22 PM, Peter Saint-Andre <stpeter@stpeter.im> wrote:
>> On 2/21/11 3:10 PM, Adam Barth wrote:
>>> Pursuant to the charter, I've posted an informational draft that
>>> "describes the same-origin security model overall:"
>>>
>>> http://www.ietf.org/id/draft-abarth-principles-of-origin-00.txt
>>>
>>> I don't expect this document to be very controversial.  I'm sure folks
>>> will nitpick me over renaming URL to URI and MIME types to media
>>> types, however.  :)
>>
>> Adam, what do you see as the relationship or division of work between
>> draft-ietf-websec-origin and draft-abarth-principles-of-origin?
> 
> Just what it says in the charter:
> 
> [[
>   The
>   working group may split draft-abarth-origin into separate informative
>   and standards track specifications, the former describing same-origin
>   security model, and the latter specifying the nuts-and-bolts of working
>   with origins (computing them from URLs, comparing them to each other,
>   etc).
> ]]
> 
> Principles-of-origin is an informative document that explains the
> underlying concepts of the security model.  Draft-ietf-websec-origin
> is a normative document that explains the low-level details of how to
> construct, compare, and serialize origins.  I don't feel strongly
> about whether they're separate documents or the same document.  I just
> thought it would be better to gather feedback in an individual draft
> first in either case.

Thanks for the explanation, that's quite helpful. I'm going to read them
with that distinction in mind...

Peter

-- 
Peter Saint-Andre
https://stpeter.im/