Building and using web services with OAuth

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

1 comments

Comments 1 - 1 of 1 previous next Post a comment

  • + rabble Rabble . 7 months ago
    Really nice presentation, pretty, clearly communicated.
Post a comment
Embed Video
Edit your comment Cancel

1 Group

Building and using web services with OAuth - Presentation Transcript

  1. BUILDING AND USING SECURE WEB SERVICES WITH OAUTH Skillswap Goes Portable, November 25, 2008 Bruce Boughton [email_address] http://bruceboughton.me.uk http://lab.madgex.com/
  2. web services are about data let’s think about data...
  3. DATA SHOULD BE PORTABLE (even your private data)
    • The Internet is awash with data
    • (put there by our users)
  4. why?
  5. CONTROL YOUR DATA Don't get locked into one vendor
  6. Mash|ups < data > MORE INTERESTING http://pipes.yahoo.com/bruceboughton/skillswapmashup
  7. RE-PURPOSE YOUR DATA in different contexts
  8. INTERPRET IT ACCESS IT
    • Data is portable if you can easily
     
  9. Data should be available in STANDARD DATA FORMATS <xml/> POSH  JSON μ f
  10. How can users let third parties ACCESS THEIR PRIVATE DATA?
    • User data is moving to the cloud
  11.  
  12.  
  13. 40-60% OF TWEETS VIA API* Blaine Cook co-authored OAuth
    • Why pick on Twitter?
  14.  
  15. http://kecute.wordpress.com/2007/11/05/cat-computer-geek/
  16. we need an easy , user-friendly standard for third party api security
  17.  
  18. GOOGLE CONTACTS DEMO
    • http://lab.madgex.com/oauth-net/googlecontacts/
  19. YOU CHOOSE who you share YOUR DATA with
    • OAuth puts the user back in control
  20. NO NEED to give out your PASSWORD
    • OAuth is secure
  21. FIRE EAGLE LOCATION DEMO
    • http://whereami.lab.madgex.com/
  22. Supports FINE-GRAINED privacy controls
    • Lightweight and open for extension
  23. Google Yahoo OpenSocial Netflix MySpace Pownce Ma.gnolia SmugMug GetSatisfaction and more...
    • Big name adoption
  24. one thing: OAuth != OpenID (but they do play nicely)
  25. OpenID is authentication OAUTH IS ACCESS CONTROL
  26. let’s get technical
  27. Protected resources are exposed by service providers and used by consumer applications on behalf of users
  28. e.g. My physical location is exposed by the Fire Eagle API and used by the Madgex Lab demo on my behalf
  29. Consumer identity asserted using CONSUMER KEY and SECRET
  30. Consumer gets an ACCESS TOKEN (tied to a user, usually re-usable)
    • To fetch a protected resource
  31. Consumer asks USER TO LOG IN and AUTHORIZE request
    • To get an access token
  32. Requests are SIGNED and include a TIMESTAMP and NONCE
  33. This is just PLAIN OLD HTTP with added super powers
  34. don’t worry, there are plenty of open source libraries
  35. Ruby .NET Python PHP Java JavaScript Objective-C and more... http://oauth.net/code
  36. do we have time for some code? OAuth.net library http://lab.madgex.com/oauth-net
    • Configuring the Fire Eagle service
    • (without discovery)
    • Requesting the user’s location
    • Handling authorization
    • (if we didn’t already have an access token)
    • Using the protected resource
  37. QUESTIONS? OR BEER. Bruce Boughton [email_address] http://bruceboughton.me.uk http://lab.madgex.com/

+ bruceboughtonbruceboughton, 11 months ago

custom

1050 views, 0 favs, 2 embeds more stats

My talk from Skillswap goes Portable, giving an int more

More info about this document

CC Attribution-NonCommercial LicenseCC Attribution-NonCommercial License

Go to text version

  • Total Views 1050
    • 1043 on SlideShare
    • 7 from embeds
  • Comments 1
  • Favorites 0
  • Downloads 24
Most viewed embeds
  • 6 views on http://siliconbea.ch
  • 1 views on http://jane.dallaway.com

more

All embeds
  • 6 views on http://siliconbea.ch
  • 1 views on http://jane.dallaway.com

less

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel
File a copyright complaint
Having problems? Go to our helpdesk?

Categories

Groups / Events