Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Microservices? Mit Sicherheit! (W-Jax16)

Claus Straube
November 08, 2016

Microservices? Mit Sicherheit! (W-Jax16)

Slides to my microservices security talk on w-jax 2016

Claus Straube

November 08, 2016
Tweet

More Decks by Claus Straube

Other Decks in Technology

Transcript

  1. Proxy WAF HTTPS OAuth MS MS MS MS Resource Owner

    Client Authorization Server Protected Resource OAuth2 Terms
  2. Proxy WAF HTTPS OAuth MS MS MS MS Access Token

    OAuth2 Terms 1e89e206­5845­49b5­9172­5674c7faf4cd
  3. Client redirects user agent to authorization endpoint User agend loads

    authorization endpoint Resource owner authenticates to authorization server Resource owner authorizes client Authorization server redirects user agent to client with authorization code User agent loads redirect URI at client with authorization code Authorization endpoint
  4. Client sends authorization code and its own credentials to token

    endpoint Authorization server sends access token to client Token endpoint Client sends access token to protected resource Protected resource returns resource to client
  5. Cross Domain Authorization Domain „Customer Care“ Domain „Billing“ Domain „Time

    Tracking“ „Official“ „Sen. Official“ „Admin“ „Official“ „Admin“ „Staff“ „Viewer“ „Staff“ „Staff“
  6. Roles Permissions User „Sen. Official“ „Viewer“ „Staff“ „Perm A“ „Perm

    B“ „Perm C“ „Perm B“ „Perm C“ „Perm B“
  7. Cross Domain Authorization Domain „Customer Care“ Domain „Billing“ Domain „Time

    Tracking“ „Official“ „Sen. Official“ „Admin“ „Official“ „Admin“ „Staff“ „Viewer“ „Staff“ „Staff“ OAuth Server User Endpoint
  8. Client MS1 MS2 Demo Setup Http request User Endpoint OAuth

    Server Token Endpoint Auth. Endpoint Http request
  9. Requests for token with basic authentication UE TE MS1 MS2

    Requests /hello with OAuth token Request for principal with Oauth token Requests /hello with OAuth token Response /hello Request for principal with Oauth token Response /hello
  10. Claus Straube Landeshauptstadt München it@M Agnes-Pockels-Bogen 21 80992 München claus.straube(at)muenchen.de

    https://plus.google.com/u/0/+ClausStraube https://mobile.twitter.com/clausstraube Herzlichen Dank für die Aufmerksamkeit!