~/talk

Common API Security Pitfalls

Talkat sec4dev 2019 · 2019-02-25..02-27· [security]
slides:none on file

Sets a practical baseline with the Gator smartwatch breach and then lists concrete pitfalls: allow only HTTPS and HSTS on API-only endpoints, implement rate limiting per-user and global throttles to prevent mass account resets, enforce per-object authorization to stop insecure direct object reference leaks, avoid sharing a single HMAC secret for JWTs—use JWTs with asymmetric keys and key rotation, treat cookies vs Authorization header as a transport choice, validate inputs, and split admin functionality into a separate admin API.

AI-written summary · about

  1. 0:00Introduction to API security
  2. 6:25HTTPS and HTTP pitfalls
  3. 9:34Rate limiting necessity
  4. 12:03Insecure direct object references
  5. 13:48Authentication vs authorization
  6. 17:19Stateless vs stateful backends
  7. 18:42JSON Web Token security
  8. 26:45Key management challenges
  9. 29:35Token transport mechanisms
  10. 33:58Input validation limits
  11. 36:51Compartmentalizing APIs
  12. 38:55Conclusion and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.