~/talk

REST security essentials

Talkat Heapcon 2019 · 2019-10-03..10-04· [security]
links:none on file
slides:none on file

Covers concrete tradeoffs: use HTTPS; avoid Basic auth; session IDs force server-side storage and sticky sessions; prefer authorization code grant for confidential clients and short-lived access tokens with server-checked refresh tokens; use signed JWTs (HMAC or RSA/ECDSA) to make services stateless but plan for token revocation via blacklist or very short expiry; mitigate XSS/CSRF by using HttpOnly cookies for refresh tokens and keeping access tokens in memory; explores HTTP signatures (digest + signature header + keyId) to prove key possession.

AI-written summary · about

  1. 0:00Intro
  2. 1:46BASIC AUTH
  3. 7:44OAUTH2 ROLES
  4. 9:22OAUTH 2 PROTOCOL FLOW
  5. 9:56OAUTH2 GRANTS
  6. 13:06OAUTH2 TOKENS
  7. 18:38JWT STRUCTURE
  8. 20:07JWT BENEFITS
  9. 23:10DRAWBACKS
  10. 23:57SECURITY CONSIDERATIONS OF JWT
  11. 25:19JWT SECURITY CONSIDERATIONS
  12. 27:05HTTP SIGNATURES
  13. 30:26CONCLUSION
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.