~/talk

Common API security pitfalls

Talkat Infoshare 2019 · 2019-05-08..05-09· [security, api-design]
slides:none on file

APIs fail most often for concrete mistakes: missing authorization checks leading to IDORs, decoding but not verify JWT signature, sharing HMAC secrets between services instead of use RSA/JWKS with kid and key rotation, and misconfigured CORS that returns the Origin header back. Practical fixes: audit every endpoint for auth, enforce strict CORS and application/json preflight checks, store session state correctly (cookies for browser features, auth header when appropriate), use parameterized queries and output encoding, and split public and private surfaces via origin isolation.

AI-written summary · about

  1. 0:00Introduction to API security
  2. 2:57Baseline security with smartwatches
  3. 5:02Unsecure direct object references
  4. 7:50Lack of proper authorization
  5. 10:14Stateless API session management
  6. 13:26Misusing JWT decode function
  7. 16:39JWT signature verification
  8. 19:30Key rotation in JWT
  9. 21:57Cookies vs authorization headers
  10. 26:11Cross-site request forgery risks
  11. 28:14CORS policy implementation
  12. 31:23Input validation limitations
  13. 33:30Failure to compartmentalize
  14. 34:55Security mindset 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.