Google Groups Home
Help | Sign in
Message from discussion Sending encoded login details to API
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Ed Finkler  
View profile
 More options May 7, 8:58 pm
From: "Ed Finkler" <funkat...@gmail.com>
Date: Wed, 7 May 2008 20:58:56 -0400
Local: Wed, May 7 2008 8:58 pm
Subject: Re: Sending encoded login details to API

On Wed, May 7, 2008 at 6:16 PM, Benjamin Tucker <btuc...@gmail.com> wrote:

>  Hey Dean,

>  I'm the guy that wrote http://stream.btucker.org/post/33710515
>  Sorry to miss your post on the list or I would have responded
>  sooner.

>  Your solution sounds like an improvement, but not ideal.  Now if your
>  server is compromised, with it will go all your users twitter
>  credentials (correct me if I'm misunderstand your solution).

If *any* server is rooted, the attacker can do *whatever they want.*
Stealing data out of session caches is the least of your problems.

SSL is a good idea, yes, but you should *not* be storing this data in
a cookie, period. Dean's current approach has significantly fewer
attack vectors. In addition, if the server is rooted, the attacker
will be able to pull data out of cookies just as easily as cached
session data, as it can simply be examined at the point of decryption
in the web app. No amount of SSL or app-level encryption will mitigate
this.

I'll repeat what I stated before: authentication data should *never*
be stored in cookies.

--
Ed Finkler
http://funkatron.com
AIM: funka7ron
ICQ: 3922133
Skype: funka7ron


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google