Browser Support for the Open Authoriza4on (OAuth) Protocol - - PowerPoint PPT Presentation

browser support for the open authoriza4on oauth protocol
SMART_READER_LITE
LIVE PREVIEW

Browser Support for the Open Authoriza4on (OAuth) Protocol - - PowerPoint PPT Presentation

Browser Support for the Open Authoriza4on (OAuth) Protocol hGp://www.w3.org/2011/iden4ty-ws/papers/idbrowser2011_submission_32.pdf Hannes Tschofenig, Barry Leiba, Blaine Cook,


slide-1
SLIDE 1

Browser ¡Support ¡for ¡the ¡Open ¡ Authoriza4on ¡(OAuth) ¡Protocol ¡

Hannes ¡Tschofenig, ¡Barry ¡Leiba, ¡ Blaine ¡Cook, ¡Rob ¡Van ¡Eijk ¡

hGp://www.w3.org/2011/iden4ty-­‑ws/papers/idbrowser2011_submission_32.pdf ¡ ¡

slide-2
SLIDE 2

Agenda ¡

  • Authen4ca4on ¡Mechanisms ¡
  • JavaScript ¡Crypto ¡Library ¡Support ¡
  • Authoriza4on ¡Interface ¡
  • Moving ¡Crypto ¡Into ¡the ¡Browser ¡
slide-3
SLIDE 3

Authen4ca4on ¡Mechanisms ¡

  • Many ¡iden4ty ¡management ¡protocols ¡treat ¡the ¡

authen4ca4on ¡exchange ¡out ¡of ¡scope ¡

– So ¡does ¡OAuth ¡

  • Problems: ¡ ¡

– Authen4ca4on ¡creden4als ¡being ¡used ¡are ¡of ¡poor ¡quality ¡(low ¡ entropy ¡secrets) ¡ – Enrollment ¡of ¡strong ¡creden4als ¡not ¡implemented ¡in ¡browsers ¡ (e.g. ¡enrollment ¡of ¡OTP ¡mechanisms) ¡ ¡ – Authen4ca4on ¡mechanisms ¡being ¡used ¡on ¡the ¡Web ¡today ¡are ¡ preGy ¡weak. ¡ – There ¡is ¡no ¡authen4ca4on ¡framework ¡that ¡allows ¡for ¡easily ¡ exchangeable ¡authen4ca4on ¡methods. ¡ ¡ – Other ¡problem ¡(but ¡not ¡related ¡to ¡lack ¡of ¡standardiza4on): ¡weak ¡ iden4ty ¡proofing ¡

  • Examples ¡to ¡look ¡at: ¡GSS-­‑API, ¡SASL, ¡EAP, ¡PSKC ¡

¡ ¡

What ¡mechanisms ¡should ¡browser ¡support? ¡ ¡

slide-4
SLIDE 4

Authoriza4on ¡Interface ¡

slide-5
SLIDE 5

Authoriza4on ¡Interface, ¡cont. ¡

slide-6
SLIDE 6

Authoriza4on ¡Interface, ¡cont. ¡

What ¡guidance ¡can ¡we ¡provide ¡to ¡developers ¡for ¡a ¡ consistent ¡permission ¡dialog ¡experience? ¡ ¡ What ¡is ¡the ¡role ¡of ¡the ¡browser ¡in ¡this ¡exchange? ¡

slide-7
SLIDE 7

JavaScript ¡Crypto ¡Library ¡Support ¡

  • JavaScript ¡is ¡an ¡essen4al ¡language ¡for ¡the ¡Web ¡

eco-­‑system. ¡Increasingly ¡popular ¡also ¡on ¡the ¡ server-­‑side. ¡ ¡

  • Problem: ¡No ¡standardized ¡APIs ¡for ¡access ¡to ¡

cryptographic ¡func4ons ¡and ¡key ¡storage. ¡

  • One ¡consequence: ¡Cryptographic ¡material ¡cannot ¡

be ¡kept ¡confiden4al ¡with ¡JavaScript-­‑based ¡

  • clients. ¡ ¡
  • Example: ¡

hGps://developer.mozilla.org/en/JavaScript_crypto ¡ ¡

Would ¡it ¡be ¡useful ¡to ¡standardize ¡a ¡ JavaScript ¡crypto ¡API? ¡ ¡

slide-8
SLIDE 8

Moving ¡Crypto ¡Into ¡the ¡Browser ¡

  • OAuth ¡protocol ¡design ¡is ¡impacted ¡by ¡the ¡capabili4es ¡
  • ffered ¡by ¡browsers. ¡
  • The ¡security ¡considera4ons ¡capture ¡this ¡quite ¡well: ¡

hGp://datatracker.ie_.org/doc/dra`-­‑ie_-­‑oauth-­‑v2/ ¡ hGp://tools.ie_.org/html/dra`-­‑lodderstedt-­‑oauth-­‑security ¡

  • For ¡example, ¡

hGp://datatracker.ie_.org/doc/dra`-­‑ie_-­‑oauth-­‑v2-­‑ hGp-­‑mac/ ¡suggests ¡a ¡MAC ¡based ¡authen4ca4on ¡ mechanism ¡that ¡can ¡also ¡be ¡used ¡to ¡implement ¡a ¡more ¡ secure ¡cookie/HTTP ¡state ¡management ¡mechanism. ¡ ¡

What ¡func@onality ¡can ¡we ¡put ¡into ¡ the ¡browser ¡plaAorm? ¡ ¡