Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Module 01 · Security · Think Like an Attacker · about 18 min to read

Play it as a journeyTutor comes with a plan

One login for the whole company: SSO, SAML and Kerberos

Authorization and Identity
Authorization and Identity · Open board

Showing the same request asked twice: first whether you are really you, then whether the thing you ask for is yours. This lesson moves the first question to one place for the whole company.

Before you start. Authentication showed how one app checks a password and then hands the browser a session or a token, so the password is not sent again. Authorization & Identity gave you OIDC, a signed note that says who the user is, and the rule that an app must check what a user may touch after it knows who they are. Cryptography Foundations gave you the signature: only the holder of a private key can make it, and anyone with the public key can check it. This lesson uses all three.

Lesson 5 of 39 in Security

The rest of this lesson is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

In this lesson

  • December 2020: a forged login that no password check could see
  • Single sign-on: one trusted place checks the password
  • SAML: a signed note carried by the browser
  • Kerberos: a ticket you ask for, not a note you carry
  • SCIM: switching accounts on and off from one place
  • A directory: the list of people everyone reads
  • The four SAML checks, run
  • The Kerberos flow, run
  • LDAP in one query
  • SCIM, in one message
  • Trade-offs and real systems

Terms it explains: single sign-on, identity provider, service provider, SAML, assertion, Kerberos, ticket, ticket-granting ticket, SCIM, directory, LDAP, Active Directory, Common mistakes, assertion consumer service, golden ticket, distinguished name, binds, searches, ABAC, access token, ACL, authorization (authZ), complete mediation, confused deputy, ID token, IDOR, OAuth 2.0, OIDC, RBAC, ReBAC, scope.

Related paper

Review Security