On Sun, Jan 4, 2009 at 8:55 PM, Jesse Stay <[email protected]> wrote:

> So what do *you* recommend Ed (that goes for everyone that is criticizing
> OAuth, including Alex)? I see a lot of criticism against OAuth, but I see no
> suggestions for a solution.

Perhaps you're mistaking criticism with an attempt to make for
realistic expectations, and temper an artificial urgency.

Generally I think OAuth is a Good Idea, and I think it's probably a
good step for Twitter to take. I think I can say Alex agrees, or he
and the rest of the API team wouldn't be implementing it.

It's not really my job to tell Twitter what to do – first off, I think
they have people with very good security backgrounds in place, and
secondly I'm not on their payroll. But if you actually want to hear a
few things, I'll toss them out. I don't have time or motiviation atm
for a lot of detail (we just lost a family friend tonight to cancer),
but I'm happy to talk about them another day in detail if you want.

- immediately cease the development of any web-based applications that
require user credentials. I generally don't think that you're keeping
your user's best interests in mind when you do this.
- educate users about risk acceptance: what it means to trust a web
application with your credentials (or OAuth permissions), and what the
consequences could be if trust is broken.
- educate users about how to identify phishing attacks
- possibly implement some personal site ID techniques on the Twitter
homepage, like user-chosen identifier images

Even if you do a great job on all of these, though, you will always
have some people who fall for it.

> Right now, I think it's a step in the right
> direction - I see a lot of theories here, but not a lot of urgency to fix
> the problem.  As I said, I don't care what the solution is - I just need
> something, other than requiring my users to enter their plain text usernames
> and passwords.  There's huge urgency here - what's the solution to the
> problem?

There is no solution.

Really. There isn't. People who work in security will tell you this.
The security industry spends millions and millions of dollars on
application trust issues, and there is no solution. There are things
you can do, but you can't "solve" the problem. You can only *mitigate*
risk.

People clamoring for OAuth -- this is the urgency you refer to -- are
participating in security theater. They want it implemented not
because it will make things a little better, but because they have
been whipped up into a frenzy by ye olde Thought Leaders and want
*something* to be done. I was completely serious about my shoe bomb
analogy, because it's a classic security theater – "oh shit, you could
put a bomb in your shoe! better check everyone's shoes!" It's a
temporary PR fix, but it doesn't solve the problem other than making
people feel better -- until the next security flavor of the week comes
around.

If you seriously want to study this kind of thing further, I think
starting off with Schneier's "Beyond Fear: Thinking Sensibly About
Security in an Uncertain World" would be a good idea. As a developer,
you should also dig into all the security info you can, and make
security a first-level concern. If you're a PHP dev (I know a lot of
folks here are), I'd probably start out with Chris Shiflett's
"Essential PHP Security." Rails devs should keep an eye on
http://www.rorsecurity.info/.

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

Reply via email to