Re: [OAUTH-WG] same-origin policy

Marius Scurtescu <mscurtescu@google.com> Sat, 01 May 2010 00:31 UTC

Return-Path: <mscurtescu@google.com>
X-Original-To: oauth@core3.amsl.com
Delivered-To: oauth@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 649503A690B for <oauth@core3.amsl.com>; Fri, 30 Apr 2010 17:31:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.951
X-Spam-Level:
X-Spam-Status: No, score=-105.951 tagged_above=-999 required=5 tests=[AWL=0.026, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_MED=-4, 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 O3iWo8Z4zxtG for <oauth@core3.amsl.com>; Fri, 30 Apr 2010 17:31:33 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [216.239.44.51]) by core3.amsl.com (Postfix) with ESMTP id D3C433A68BC for <oauth@ietf.org>; Fri, 30 Apr 2010 17:31:32 -0700 (PDT)
Received: from hpaq14.eem.corp.google.com (hpaq14.eem.corp.google.com [10.3.21.14]) by smtp-out.google.com with ESMTP id o410VBsa024623 for <oauth@ietf.org>; Fri, 30 Apr 2010 17:31:12 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1272673872; bh=yqmnEyLH7cVIXduOgGKVBqppO2U=; h=MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=azbTBa/bTs5Pk5jwMkKa4Ua7cWIyILEKGOxCg0U0LUkRdFhqmhY/LWV0lqQVLWhaS tfqQJGCcSdTJfa14BymrQ==
DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:from:date:message-id: subject:to:cc:content-type:x-system-of-record; b=fq+zc+qjtpZvPvT4GShhJ15YEi5MWd1Rl9FYZDwN0VDbp9hj7ve3EZFwV9YqzCun9 peEWiVg9bujyKiDQMkQTQ==
Received: from pvg4 (pvg4.prod.google.com [10.241.210.132]) by hpaq14.eem.corp.google.com with ESMTP id o410V9ej006990 for <oauth@ietf.org>; Fri, 30 Apr 2010 17:31:10 -0700
Received: by pvg4 with SMTP id 4so400390pvg.8 for <oauth@ietf.org>; Fri, 30 Apr 2010 17:31:09 -0700 (PDT)
Received: by 10.141.187.29 with SMTP id o29mr1367299rvp.48.1272673869153; Fri, 30 Apr 2010 17:31:09 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.141.14.15 with HTTP; Fri, 30 Apr 2010 17:30:49 -0700 (PDT)
In-Reply-To: <90C41DD21FB7C64BB94121FBBC2E723439321772F8@P3PW5EX1MB01.EX1.SECURESERVER.NET>
References: <u2n74caaad21004291738ua47de12aob707d77e46e47adb@mail.gmail.com> <90C41DD21FB7C64BB94121FBBC2E723439321772F8@P3PW5EX1MB01.EX1.SECURESERVER.NET>
From: Marius Scurtescu <mscurtescu@google.com>
Date: Fri, 30 Apr 2010 17:30:49 -0700
Message-ID: <AANLkTinyMDrAcyU9kbMClycrdvlUyipO2bsMKjY2ZSez@mail.gmail.com>
To: Eran Hammer-Lahav <eran@hueniverse.com>
Content-Type: text/plain; charset="ISO-8859-1"
X-System-Of-Record: true
Cc: OAuth WG <oauth@ietf.org>
Subject: Re: [OAUTH-WG] same-origin policy
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/oauth>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 01 May 2010 00:31:35 -0000

On Fri, Apr 30, 2010 at 8:46 AM, Eran Hammer-Lahav <eran@hueniverse.com> wrote:
> This language was requested by Brian.

And he is right, my bad. I considered only a narrow definition of same-origin.

Marius

>
> EHL
>
>> -----Original Message-----
>> From: oauth-bounces@ietf.org [mailto:oauth-bounces@ietf.org] On Behalf
>> Of Marius Scurtescu
>> Sent: Thursday, April 29, 2010 5:39 PM
>> To: OAuth WG
>> Subject: [OAUTH-WG] same-origin policy
>>
>> Section 3.5.1, version 01, says: "These clients cannot keep client secrets
>> confidential and the authentication of the client is based on the user-agent's
>> same-origin policy."
>>
>> I don't think that the same-origin policy comes into play in this case.
>> Authentication of the client is based only on the end-user validating the
>> redirection URI.
>>
>> Marius
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/oauth
>