Re: [OAUTH-WG] best practices for storing access token for implicit clients

Larry Suto <larry.suto@gmail.com> Mon, 11 July 2011 23:06 UTC

Return-Path: <larry.suto@gmail.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 EF78321F8D22 for <oauth@ietfa.amsl.com>; Mon, 11 Jul 2011 16:06:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.598
X-Spam-Level:
X-Spam-Status: No, score=-3.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W40swqCuKg9i for <oauth@ietfa.amsl.com>; Mon, 11 Jul 2011 16:06:54 -0700 (PDT)
Received: from mail-pv0-f172.google.com (mail-pv0-f172.google.com [74.125.83.172]) by ietfa.amsl.com (Postfix) with ESMTP id B36BD11E81FF for <oauth@ietf.org>; Mon, 11 Jul 2011 16:06:48 -0700 (PDT)
Received: by pvh18 with SMTP id 18so4617685pvh.31 for <oauth@ietf.org>; Mon, 11 Jul 2011 16:06:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=CWUWe/G9E9bwri/W1WxMAA9giAUmAK4fgX5VvggLnfo=; b=hLLaPP++0WOIsuy9dVH3g8S5nEDqVnM0xyyKQjAu76IpmDdblHstfAoUumRSbq97QG b3r5oy99c9Sflq2FCWETyqZGaUc9m9xDGov+fDAt7QUbsPksslJM2NjM9KB03UNSC3Kc jYv3g6hKarJRGjbhi3dvcEdzMiILDOx1fq+Fk=
MIME-Version: 1.0
Received: by 10.142.177.19 with SMTP id z19mr2331006wfe.7.1310425608235; Mon, 11 Jul 2011 16:06:48 -0700 (PDT)
Received: by 10.142.173.4 with HTTP; Mon, 11 Jul 2011 16:06:48 -0700 (PDT)
In-Reply-To: <90C41DD21FB7C64BB94121FBBC2E7234501D4A042D@P3PW5EX1MB01.EX1.SECURESERVER.NET>
References: <BANLkTimU=RGHpHJTb97xvnpaqxqbc_qLhw@mail.gmail.com> <CAGdjJpLBg7-998tZm1uYQ2brsgfc7kyEr7VdF4Rd6ns+CAQGmA@mail.gmail.com> <90C41DD21FB7C64BB94121FBBC2E7234501D4A042D@P3PW5EX1MB01.EX1.SECURESERVER.NET>
Date: Mon, 11 Jul 2011 16:06:48 -0700
Message-ID: <CAKJ-YRbXQrTDRRsPbo+O3EVJH8CJAj1Cfn8ArT+qboEHC_GuFw@mail.gmail.com>
From: Larry Suto <larry.suto@gmail.com>
To: Eran Hammer-Lahav <eran@hueniverse.com>
Content-Type: multipart/alternative; boundary="000e0cd1736ce22b0704a7d33c72"
Cc: "oauth@ietf.org" <oauth@ietf.org>
Subject: Re: [OAUTH-WG] best practices for storing access token for implicit clients
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
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: Mon, 11 Jul 2011 23:06:55 -0000

Cookies can be stolen by directed XSS attacks.

Larry

On Mon, Jul 11, 2011 at 3:46 PM, Eran Hammer-Lahav <eran@hueniverse.com>wrote:

> Any cookie? What about a Secure cookie limited to a specific sub-domain?
> What are the concerns about cookies? I think this would be helpful to
> discuss.
>
> EHL
>
> > -----Original Message-----
> > From: oauth-bounces@ietf.org [mailto:oauth-bounces@ietf.org] On Behalf
> > Of Marius Scurtescu
> > Sent: Monday, July 11, 2011 3:15 PM
> > To: Doug Tangren
> > Cc: oauth@ietf.org
> > Subject: Re: [OAUTH-WG] best practices for storing access token for
> implicit
> > clients
> >
> > On Thu, Jun 30, 2011 at 12:45 PM, Doug Tangren <d.tangren@gmail.com>
> > wrote:
> > > What is the current recommended practice of storing an implicit
> > > client's access_tokens? LocalStorage, im mem and re-request auth on
> > > every browser refresh?
> >
> > Both sound reasonable. I think most important is how NOT to store it, in
> a
> > cookie.
> >
> > Marius
> > _______________________________________________
> > OAuth mailing list
> > OAuth@ietf.org
> > https://www.ietf.org/mailman/listinfo/oauth
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>