178
The implications of Simon Willison XTech, 18th May 2007

The Implications of OpenID

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: The Implications of OpenID

The implications of

Simon WillisonXTech, 18th May 2007

Page 2: The Implications of OpenID

This talk isnot about

identity

Page 3: The Implications of OpenID

“identity”implies lots of unanswered questions

Page 4: The Implications of OpenID

I’m boredof unanswered

questions

Page 5: The Implications of OpenID

I’m going toanswer

as many questionsas possible

Page 6: The Implications of OpenID

(To keep things easy, I get to ask them)

Page 7: The Implications of OpenID

?Who here has used OpenID?

Page 8: The Implications of OpenID

?Who uses it regularly?

Page 9: The Implications of OpenID
Page 10: The Implications of OpenID

?What is OpenID?

Page 11: The Implications of OpenID

OpenID is a decentralised mechanism

for Single Sign On

Page 12: The Implications of OpenID

?What problemsdoes it solve?

Page 13: The Implications of OpenID

“Too many passwords!”

Page 14: The Implications of OpenID

“Someone else nabbed my username”

Page 15: The Implications of OpenID

“My online profile is scattered across dozens of sites”

(potentially, at least)

Page 16: The Implications of OpenID

?What is an OpenID?

Page 17: The Implications of OpenID

An OpenID is a URL

Page 18: The Implications of OpenID

http://swillison.livejournal.com/

Page 19: The Implications of OpenID

http://simonw.myopenid.com/

Page 20: The Implications of OpenID

http://simonwillison.net/

Page 22: The Implications of OpenID

?What can you do with an OpenID?

Page 23: The Implications of OpenID

You can claim that you own it

Page 24: The Implications of OpenID

You can provethat claim

Page 25: The Implications of OpenID

?Why is that useful?

Page 26: The Implications of OpenID

You can use it for authentication

Page 27: The Implications of OpenID

“Who the heck are you?!”

Page 28: The Implications of OpenID

“I’m simonwillison.net”

Page 29: The Implications of OpenID

“prove it!”

Page 30: The Implications of OpenID

(magic happens)

Page 31: The Implications of OpenID

“OK, you’re in!”

Page 32: The Implications of OpenID

?So it’s a bit like Microsoft Passport,

then?

Page 33: The Implications of OpenID

Yes, but Microsoftdon’t get to own your

credentials

Page 34: The Implications of OpenID

?Who does get toown them, then?

Page 35: The Implications of OpenID

You, the user, decide.

Page 36: The Implications of OpenID

You pick a provider

Page 37: The Implications of OpenID

(just like e-mail)

Page 38: The Implications of OpenID

?So I’m still giving someone the keys to my kingdom?

Page 39: The Implications of OpenID

Yes, but it can be someone you trust

Page 40: The Implications of OpenID

If you have the ability to run your own server

software, you can do it for yourself.

Page 41: The Implications of OpenID

?OK, how do I use it?

Page 42: The Implications of OpenID
Page 43: The Implications of OpenID
Page 44: The Implications of OpenID
Page 45: The Implications of OpenID
Page 46: The Implications of OpenID
Page 47: The Implications of OpenID

?So my users don’thave to sign up for an

account?

Page 48: The Implications of OpenID

Not necessarily

Page 49: The Implications of OpenID

An OpenID tells youvery little about a user

Page 50: The Implications of OpenID

You don’t knowtheir name

Page 51: The Implications of OpenID

You don’t knowtheir e-mail address

Page 52: The Implications of OpenID

You don’t knowif they’re a personor an evil robot

Page 53: The Implications of OpenID

(or a dog)

Page 54: The Implications of OpenID

?Where do I get that information from?

Page 55: The Implications of OpenID

You ask them!

Page 56: The Implications of OpenID

OpenID can even help them answer

Page 57: The Implications of OpenID
Page 58: The Implications of OpenID
Page 59: The Implications of OpenID
Page 60: The Implications of OpenID
Page 61: The Implications of OpenID

?How can I tell if they’rean evil spambot?

Page 62: The Implications of OpenID

Same as usual: challenge them with a CAPTCHA

Page 63: The Implications of OpenID

botbouncer.com can tell you if their OpenID has

passed a CAPTCHA before

Page 64: The Implications of OpenID

(assuming you trust botbouncer.com)

Page 65: The Implications of OpenID

?So how does OpenIDactually work?

Page 66: The Implications of OpenID
Page 67: The Implications of OpenID
Page 68: The Implications of OpenID

<link rel="openid.server" href="http://www.myopenid.com/server" />

Page 69: The Implications of OpenID

“I’m simonwillison.myopenid.com”

Page 70: The Implications of OpenID

Site fetches HTML,discovers identity provider

Page 71: The Implications of OpenID

Establishes shared secretwith identity provider

(Using Diffie-Hellman key exchange)

Page 72: The Implications of OpenID

Redirects you to the identity provider

Page 73: The Implications of OpenID

If you’re logged in there, you get redirected back

Page 74: The Implications of OpenID

?How does my identityprovider know who I am?

Page 75: The Implications of OpenID

OpenID deliberately doesn’t specify

Page 76: The Implications of OpenID

username/passwordis common

Page 77: The Implications of OpenID

But providers can use other methods if

they want to

Page 78: The Implications of OpenID

Client SSL certificates

Page 79: The Implications of OpenID

Out of band authentication via SMS,

e-mail or Jabber

Page 80: The Implications of OpenID

IP based login restrictions

Page 81: The Implications of OpenID

(one guy set that up using DynDNS)

Page 82: The Implications of OpenID

SecurID keyfobs

Page 83: The Implications of OpenID

No authentication at all (just say “Yes”)

Page 84: The Implications of OpenID

?Just say “yes”?

Page 85: The Implications of OpenID

Yup. That’s the OpenID version of bugmenot.com

Page 86: The Implications of OpenID

http://www.jkg.in/openid/

Page 87: The Implications of OpenID

Users can give away their passwords today - this is just the OpenID

equivalent

Page 88: The Implications of OpenID

?What if I decide I hate my provider?

Page 89: The Implications of OpenID

Use your owndomain name

Page 90: The Implications of OpenID

Delegate to a provider you trust

Page 91: The Implications of OpenID
Page 92: The Implications of OpenID
Page 93: The Implications of OpenID

<link rel="openid.server" href="http://www.livejournal.com/openid/server.bml"><link rel="openid.delegate" href="http://swillison.livejournal.com/">

Page 94: The Implications of OpenID

Support for delegation is compulsory

Page 95: The Implications of OpenID

Minimise lock in

Page 96: The Implications of OpenID

?So everyone will end upwith one OpenID that

they use for everything?

Page 97: The Implications of OpenID

Probably not

Page 98: The Implications of OpenID

(I have half a dozen OpenIDs already)

Page 99: The Implications of OpenID

People like maintaining multiple online personas

Page 100: The Implications of OpenID

professionalsocialsecret

...

Page 101: The Implications of OpenID

OpenID makes it easier to manage multiple

online personas

Page 102: The Implications of OpenID

Different OpenIDs can express different things

Page 103: The Implications of OpenID

My AOL OpenID proves my AIM screen name

Page 104: The Implications of OpenID

A last.fm OpenIDcould incorporatemy taste in music

Page 105: The Implications of OpenID

My LiveJournal OpenID tells you where to find

my blog

Page 106: The Implications of OpenID

... and a FOAF filelisting my friends

Page 107: The Implications of OpenID

doxory.com uses this for contact imports

Page 108: The Implications of OpenID

An OpenID from sun.com proves that someone is a current

Sun employee

Page 109: The Implications of OpenID

?Why is OpenID worth implementing over all the other identity standards?

Page 110: The Implications of OpenID

It’s simple

Page 111: The Implications of OpenID

Unix philosophy:It solves one,tiny problem

Page 112: The Implications of OpenID

It’s a dumb network

Page 113: The Implications of OpenID

Many of the competing standards are now on

board

Page 114: The Implications of OpenID

?Isn’t putting all myeggs in one basketa really bad idea?

Page 115: The Implications of OpenID

Bad news: chances are you already do

Page 116: The Implications of OpenID

“I forgot my password” means your e-mail

account is already an SSO mechanism

Page 117: The Implications of OpenID

OpenID just makes this a bit more obvious

Page 118: The Implications of OpenID

?What about phishing?

Page 119: The Implications of OpenID

Phishing is a problem

Page 120: The Implications of OpenID

I can has lolcats!? BETA

Make your own lolcats! lol

Sign in with your OpenID:

OpenID: Sign in

Page 121: The Implications of OpenID

Fake edition

Username and password, please!

Your identity provider

Username:

Password:Log in

Page 122: The Implications of OpenID

Identity theft :(

Page 123: The Implications of OpenID

An untrusted site redirects you to your

trusted provider

Page 124: The Implications of OpenID

Sound familiar?

Page 125: The Implications of OpenID

That’s how Paypal works!

Page 126: The Implications of OpenID

It still sucks though

Page 127: The Implications of OpenID

One solution: don’t let the user log in on the

identity provider “landing page”

Page 128: The Implications of OpenID
Page 129: The Implications of OpenID

Better solutions

Page 130: The Implications of OpenID

CardSpace

Page 131: The Implications of OpenID

Seat belt

Page 132: The Implications of OpenID

Native browser support for OpenID

Page 133: The Implications of OpenID

Competition between providers

Page 134: The Implications of OpenID

?How do I implementOpenID on my site?

Page 135: The Implications of OpenID

As a consumer...

Page 136: The Implications of OpenID

Grab an OpenID library for your chosen

language or platform

Page 137: The Implications of OpenID

www.openidenabled.com

Page 138: The Implications of OpenID

Allow your existing users to associate their accounts with one or

more OpenIDs

Page 139: The Implications of OpenID

(make sure you authenticate the OpenIDs first)

Page 140: The Implications of OpenID

Allow people to kick-start the registration process with their

OpenID

Page 141: The Implications of OpenID

Make passwords optional during signup if an OpenID has already

been confirmed

Page 142: The Implications of OpenID

As a provider...

Page 143: The Implications of OpenID

Figure out your anti-phishing mechanism

Page 144: The Implications of OpenID

Read the spec!

Page 145: The Implications of OpenID

?Why allow multiple OpenIDs per account?

Page 146: The Implications of OpenID

People can still signin if one of their

providers is down

Page 147: The Implications of OpenID

People can un-associate an OpenID without

locking themselves out

Page 148: The Implications of OpenID

You can take advantage of site-specific services

around OpenID

Page 149: The Implications of OpenID

?Any other neat tricks?

Page 150: The Implications of OpenID

Yes, lots!

Page 151: The Implications of OpenID

Lightweight accounts

Page 152: The Implications of OpenID

Pre-approved accounts

Page 153: The Implications of OpenID

Social whitelists

Page 154: The Implications of OpenID

OpenID and hCard

Page 155: The Implications of OpenID

Decentralised social networks?

Page 156: The Implications of OpenID

“People keep asking me to join the LinkedIn network, but I’m already part of a network, it’s

called the Internet.”Gary McGraw, via Jon Udell, via Gavin Bell

Page 157: The Implications of OpenID

?What are the privacy implications?

Page 158: The Implications of OpenID

Cross correlation of accounts

Page 159: The Implications of OpenID

Don’t publish a user’s OpenID without explicit

permission

Page 160: The Implications of OpenID

?The online equivalent of a credit reporting agency?

Page 161: The Implications of OpenID

This could be built today by sites conspiring to share e-mail addresses

Page 162: The Implications of OpenID

IANAL, but legal protections against this

already exist

Page 163: The Implications of OpenID

OpenID 2.0 makes it trivial to use a different OpenID for every site

Page 164: The Implications of OpenID

?Patents?

Page 165: The Implications of OpenID

Sun have pre-announced a “patent covenant”

Page 166: The Implications of OpenID

They won’t clobber OpenID with their

patents

Page 167: The Implications of OpenID

They’ll clobber anyone else who tries to

Page 168: The Implications of OpenID

?Who else is involved?

Page 169: The Implications of OpenID

AOL - provider, full consumer by end of June

Page 170: The Implications of OpenID

Microsoft: Bill Gates expressed their interest

Page 171: The Implications of OpenID

(Mainly as good PR for CardSpace)

Page 172: The Implications of OpenID

Sun: Patent Covenant, 33,000 employees

Page 173: The Implications of OpenID

Six Apart

Page 174: The Implications of OpenID

VeriSign

Page 175: The Implications of OpenID

JanRain

Page 176: The Implications of OpenID

You?

Page 178: The Implications of OpenID

Thank you