Return-Path: <wmills@yahoo-inc.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix)
 with ESMTP id 1109621F85BD for <oauth@ietfa.amsl.com>;
 Fri,  6 Jan 2012 10:24:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.241
X-Spam-Level: 
X-Spam-Status: No, score=-17.241 tagged_above=-999 required=5 tests=[AWL=0.357,
 BAYES_00=-2.599, HTML_MESSAGE=0.001, USER_IN_DEF_WHITELIST=-15]
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 Nt56CsRtnnyb for
 <oauth@ietfa.amsl.com>; Fri,  6 Jan 2012 10:24:28 -0800 (PST)
Received: from nm15.bullet.mail.sp2.yahoo.com (nm15.bullet.mail.sp2.yahoo.com
 [98.139.91.85]) by ietfa.amsl.com (Postfix) with SMTP id CE99621F84EB for
 <oauth@ietf.org>; Fri,  6 Jan 2012 10:24:28 -0800 (PST)
Received: from [98.139.91.69] by nm15.bullet.mail.sp2.yahoo.com with NNFMP;
 06 Jan 2012 18:24:28 -0000
Received: from [98.139.91.42] by tm9.bullet.mail.sp2.yahoo.com with NNFMP;
 06 Jan 2012 18:24:28 -0000
Received: from [127.0.0.1] by omp1042.mail.sp2.yahoo.com with NNFMP;
 06 Jan 2012 18:24:28 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 745492.83603.bm@omp1042.mail.sp2.yahoo.com
Received: (qmail 25561 invoked by uid 60001); 6 Jan 2012 18:24:28 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo-inc.com;
 s=ginc1024; t=1325874268; bh=XCBK3h2GpU4ZQgkETPzvttYTIi2qYITcd1V+2Ptkgos=;
 h=X-YMail-OSG:Received:X-RocketYMMF:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type;
 b=W74WlPG2fkOlC7FRu0KHX8ProRO6JMuLZdBxQOKHwC9ag1H4UQExVNxY73Ewv0pXEtaz0CyYl+2REpVmYsDoXvTKuYIwfYVdhgyYbtxG5LYRL6HUbwmSolo4YavmWJjlClTvZW+6GBDlv/6+x9bL5QjLlciWq5m/9YoGE0QASA8=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=ginc1024; d=yahoo-inc.com;
 h=X-YMail-OSG:Received:X-RocketYMMF:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type;
 b=ZsrBBxMGw/TKnwwOjMXPvu1X6QiwDRUbnz7SBeABMhqlIoelevVHgi2ptKM+e5cWZGIsGap1In7kPD+zgyi3zTCCf0UI5nrVF8v1JtRJuCMtMIDfKe4bnQ010zejGu0cVSDPHX2A1KcJkOOOdLdgpcbDddHc1EqhAkQD7AU9rYM=;
X-YMail-OSG: lkrKetAVM1lOPHzCDY36NMRrFGivRFWfizIs30iZ_WkjFhp
 lRZQVmnLIDQED4BHT4Pu_YNKSr04A2pztU8xCEfesHUrE4QgF_JJDI0OY1fM
 c7JtOshlbt.8Ves2D5JDMTPef3Cb9xSZbkK6sJFC0xdQMrtycRSJe.h2MJeA
 9JQhcEWnIo2oj4t0mCP8WNIBNy0jR6wQix.BqYGC0w_bLGK_720LPJL0jOqi
 Hso0Zqm7B_l.nKrBWXRv.rAKYS36Ps6XxHwcQIpHYnmFi6_hGkvrD73RODHG
 4UGJzI21t1JOXLWFSbR5Zfsy5g.QF2.Y942xsDzVkpDmT3nCoorIKSmVrdrK
 GH22dV94h361oxesPpknBFMDKQ6kvJiHcw31T1uvZ7X5imWi8zNGaUTwoOSP
 JaIDja7gtpEdGXURngU6QN3vGKK2O2SMV8IsS2g--
Received: from [209.131.62.115] by web31807.mail.mud.yahoo.com via HTTP;
 Fri, 06 Jan 2012 10:24:28 PST
X-RocketYMMF: william_john_mills
X-Mailer: YahooMailWebService/0.8.116.331537
References: <CACHRFsBNqUgXPxgFth-zHL=tvkVHy=OCXK2tcQ6hC273eoJ9EQ@mail.gmail.com>
 <0f4aff4b-9fcc-4077-9fca-a068ebf97dd4@email.android.com>
 <1325871268.64118.YahooMailNeo@web31809.mail.mud.yahoo.com>
 <4F0733E6.2000308@gmail.com>
Message-ID: <1325874268.38071.YahooMailNeo@web31807.mail.mud.yahoo.com>
Date: Fri, 6 Jan 2012 10:24:28 -0800 (PST)
From: William Mills <wmills@yahoo-inc.com>
To: Paul Madsen <paul.madsen@gmail.com>
In-Reply-To: <4F0733E6.2000308@gmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="-125733401-1557728781-1325874268=:38071"
Cc: "oauth@ietf.org" <oauth@ietf.org>
Subject: Re: [OAUTH-WG] OAuth2 security considerations for client_id
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
Reply-To: William Mills <wmills@yahoo-inc.com>
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/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: Fri, 06 Jan 2012 18:24:30 -0000

---125733401-1557728781-1325874268=:38071
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Yeah, I sure did.=A0 Client ID being the moral equivalent of user agent str=
ing in a browser.=0A=0A=0A=0A________________________________=0A From: Paul=
 Madsen <paul.madsen@gmail.com>=0ATo: William Mills <wmills@yahoo-inc.com> =
=0ACc: Torsten Lodderstedt <torsten@lodderstedt.net>; Karim <medkarim.esska=
lli@gmail.com>; "oauth@ietf.org" <oauth@ietf.org> =0ASent: Friday, January =
6, 2012 9:48 AM=0ASubject: Re: [OAUTH-WG] OAuth2 security considerations fo=
r client_id=0A =0A=0AWilliam, presumably you meant 'client_secret'?=0A=0AAn=
d is it fair to say that this reflects the current reality (of app=0A    di=
stribution channels & OS protections) more so than any=0A    inherent mobil=
e client limitation?=0A=0Apaul=0A=0AOn 1/6/12 12:34 PM, William Mills wrote=
: =0AYeah, certainly for Mobile clients this is true.=A0 There are classes =
of clients (server to server implementations notably) where clientID can be=
 a proper secret and be usefule for client validation.=0A>=0A>=0A>=0A>=0A>_=
_______________________________=0A> From: Torsten Lodderstedt <torsten@lodd=
erstedt.net>=0A>To: Karim <medkarim.esskalli@gmail.com>; oauth@ietf.org =0A=
>Sent: Friday, January 6, 2012 5:21 AM=0A>Subject: Re: [OAUTH-WG] OAuth2 se=
curity considerations for client_id=0A> =0A>=0A>Hi,=0A>=0A>your observation=
 is correct. OAuth security considerations=0A              recommend not to=
 rely on secrets for authenticating mobile=0A              apps (aka native=
 apps) but to manage them as so-called=0A              public clients. Plea=
se take a look onto section 10 of the=0A              core spec for further=
 details.=0A>=0A>regards,=0A>Torsten.=0A>=0A>=0A>=0A>=0A>Karim <medkarim.es=
skalli@gmail.com> schrieb: =0A>Hello,=0A>>=0A>>=0A>>When using User-agent f=
low with OAuth2 for mobile platform, there is no way for Authorization serv=
er to authenticate the client_id of the application.=0A>>=0A>>=0A>>So, anyo=
ne can impersonate my app by copying the client_id (and so get all access t=
okens on my behalf), and this is applicable to Facebook, Foursquare,...=0A>=
>=0A>>=0A>>This is not managed by OAuth2 ? Or I missed something ?=0A>>=0A>=
>=0A>>For Web applications (Web server flow), access token is stored on the=
 server side, and the client is authenticated using secret key.=0A>>=0A>>=
=0A-- =0A>>Karim=0A>>=0A>>=0A>_____________________________________________=
__=0A>OAuth mailing list=0A>OAuth@ietf.org=0A>https://www.ietf.org/mailman/=
listinfo/oauth=0A>=0A>=0A>=0A>=0A>=0A>_____________________________________=
__________=0AOAuth mailing list OAuth@ietf.org https://www.ietf.org/mailman=
/listinfo/oauth 
---125733401-1557728781-1325874268=:38071
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

<html><body><div style=3D"color:#000; background-color:#fff; font-family:Co=
urier New, courier, monaco, monospace, sans-serif;font-size:14pt"><div><spa=
n>Yeah, I sure did.&nbsp; Client ID being the moral equivalent of user agen=
t string in a browser.<br></span></div><div><br></div>  <div style=3D"font-=
family: Courier New, courier, monaco, monospace, sans-serif; font-size: 14p=
t;"> <div style=3D"font-family: times new roman, new york, times, serif; fo=
nt-size: 12pt;"> <font face=3D"Arial" size=3D"2"> <hr size=3D"1">  <b><span=
 style=3D"font-weight:bold;">From:</span></b> Paul Madsen &lt;paul.madsen@g=
mail.com&gt;<br> <b><span style=3D"font-weight: bold;">To:</span></b> Willi=
am Mills &lt;wmills@yahoo-inc.com&gt; <br><b><span style=3D"font-weight: bo=
ld;">Cc:</span></b> Torsten Lodderstedt &lt;torsten@lodderstedt.net&gt;; Ka=
rim &lt;medkarim.esskalli@gmail.com&gt;; "oauth@ietf.org" &lt;oauth@ietf.or=
g&gt; <br> <b><span style=3D"font-weight: bold;">Sent:</span></b> Friday, J=
anuary 6,
 2012 9:48 AM<br> <b><span style=3D"font-weight: bold;">Subject:</span></b>=
 Re: [OAUTH-WG] OAuth2 security considerations for client_id<br> </font> <b=
r>=0A<div id=3D"yiv369099307">=0A  =0A=0A    =0A  =0A  <div>=0A    <font fa=
ce=3D"Arial">William, presumably you meant 'client</font>_secret'?<br>=0A  =
  <br>=0A    And is it fair to say that this reflects the current reality (=
of app=0A    distribution channels &amp; OS protections) more so than any=
=0A    inherent mobile client limitation?<br>=0A    <br>=0A    paul<br>=0A =
   <br>=0A    On 1/6/12 12:34 PM, William Mills wrote:=0A    <blockquote ty=
pe=3D"cite">=0A      <div style=3D"color:#000;background-color:#fff;font-fa=
mily:Courier New, courier, monaco, monospace, sans-serif;font-size:14pt;">=
=0A        <div><span>Yeah, certainly for Mobile clients this is true.&nbsp=
;=0A            There are classes of clients (server to server=0A          =
  implementations notably) where clientID can be a proper=0A            sec=
ret and be usefule for client validation.<br>=0A          </span></div>=0A =
       <div><br>=0A        </div>=0A        <div style=3D"font-family:Couri=
er New, courier, monaco, monospace, sans-serif;font-size:14pt;">=0A        =
  <div style=3D"font-family:times new roman, new york, times, serif;font-si=
ze:12pt;"> <font face=3D"Arial" size=3D"2">=0A              <hr size=3D"1">=
 <b><span style=3D"font-weight:bold;">From:</span></b>=0A              Tors=
ten Lodderstedt <a rel=3D"nofollow" class=3D"yiv369099307moz-txt-link-rfc23=
96E" ymailto=3D"mailto:torsten@lodderstedt.net" target=3D"_blank" href=3D"m=
ailto:torsten@lodderstedt.net">&lt;torsten@lodderstedt.net&gt;</a><br>=0A  =
            <b><span style=3D"font-weight:bold;">To:</span></b> Karim=0A   =
           <a rel=3D"nofollow" class=3D"yiv369099307moz-txt-link-rfc2396E" =
ymailto=3D"mailto:medkarim.esskalli@gmail.com" target=3D"_blank" href=3D"ma=
ilto:medkarim.esskalli@gmail.com">&lt;medkarim.esskalli@gmail.com&gt;</a>; =
<a rel=3D"nofollow" class=3D"yiv369099307moz-txt-link-abbreviated" ymailto=
=3D"mailto:oauth@ietf.org" target=3D"_blank" href=3D"mailto:oauth@ietf.org"=
>oauth@ietf.org</a> <br>=0A              <b><span style=3D"font-weight:bold=
;">Sent:</span></b>=0A              Friday, January 6, 2012 5:21 AM<br>=0A =
             <b><span style=3D"font-weight:bold;">Subject:</span></b>=0A   =
           Re: [OAUTH-WG] OAuth2 security considerations for=0A            =
  client_id<br>=0A            </font> <br>=0A            <div id=3D"yiv3690=
99307"> Hi,<br>=0A              <br>=0A              your observation is co=
rrect. OAuth security considerations=0A              recommend not to rely =
on secrets for authenticating mobile=0A              apps (aka native apps)=
 but to manage them as so-called=0A              public clients. Please tak=
e a look onto section 10 of the=0A              core spec for further detai=
ls.<br>=0A              <br>=0A              regards,<br>=0A              T=
orsten.<br>=0A              <br>=0A              <div class=3D"yiv369099307=
gmail_quote"><br>=0A                <br>=0A                Karim <a rel=3D"=
nofollow" class=3D"yiv369099307moz-txt-link-rfc2396E" ymailto=3D"mailto:med=
karim.esskalli@gmail.com" target=3D"_blank" href=3D"mailto:medkarim.esskall=
i@gmail.com">&lt;medkarim.esskalli@gmail.com&gt;</a> schrieb:=0A           =
     <blockquote class=3D"yiv369099307gmail_quote" style=3D"margin:0pt 0pt =
0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex;">=0A  =
                <div>Hello,</div>=0A                  <div><br>=0A         =
         </div>=0A                  <div>When using User-agent flow with OA=
uth2 for mobile=0A                    platform, there is no way for Authori=
zation server=0A                    to authenticate the client_id of the ap=
plication.</div>=0A                  <div><br>=0A                  </div>=
=0A                  <div>So, anyone can impersonate my app by copying the=
=0A                    client_id (and so get all access tokens on my=0A    =
                behalf), and this is applicable to Facebook,=0A            =
        Foursquare,...</div>=0A                  <div><br>=0A              =
    </div>=0A                  <div>This is not managed by OAuth2 ? Or I mi=
ssed=0A                    something ?</div>=0A                  <div><br>=
=0A                  </div>=0A                  <div>For Web applications (=
Web server flow), access=0A                    token is stored on the serve=
r side, and the client=0A                    is authenticated using secret =
key.</div>=0A                  <div><br>=0A                  </div>=0A     =
             -- <br>=0A                  Karim<br>=0A                  <br>=
=0A                </blockquote>=0A              </div>=0A            </div=
>=0A            <br>=0A            ________________________________________=
_______<br>=0A            OAuth mailing list<br>=0A            <a rel=3D"no=
follow" ymailto=3D"mailto:OAuth@ietf.org" target=3D"_blank" href=3D"mailto:=
OAuth@ietf.org">OAuth@ietf.org</a><br>=0A            <a rel=3D"nofollow" ta=
rget=3D"_blank" href=3D"https://www.ietf.org/mailman/listinfo/oauth">https:=
//www.ietf.org/mailman/listinfo/oauth</a><br>=0A            <br>=0A        =
    <br>=0A          </div>=0A        </div>=0A      </div>=0A      <br>=0A=
      <fieldset class=3D"yiv369099307mimeAttachmentHeader"></fieldset>=0A  =
    <br>=0A      <pre>_______________________________________________=0AOAu=
th mailing list=0A<a rel=3D"nofollow" class=3D"yiv369099307moz-txt-link-abb=
reviated" ymailto=3D"mailto:OAuth@ietf.org" target=3D"_blank" href=3D"mailt=
o:OAuth@ietf.org">OAuth@ietf.org</a>=0A<a rel=3D"nofollow" class=3D"yiv3690=
99307moz-txt-link-freetext" target=3D"_blank" href=3D"https://www.ietf.org/=
mailman/listinfo/oauth">https://www.ietf.org/mailman/listinfo/oauth</a>=0A<=
/pre>=0A    </blockquote>=0A  </div>=0A=0A</div><br><br> </div> </div>  </d=
iv></body></html>
---125733401-1557728781-1325874268=:38071--
