~/talk

Getting API Security Right

Talkat NDC Security 2022 · 2022-04-06..04-07· [security, api-design]
slides:none on file

A study of 30 UK healthcare apps finds 77% hard-coded API keys and 7% with embedded usernames/passwords, and every tested API shows authorization flaws; common, concrete failures include BOLA (broken object level authorization), mass assignment and sensitive data exposure (e.g., password reset tokens leaking in JSON). Practical fixes: use DTOs to avoid auto-marshalling bugs, enforce application and per-user rate limits, publish an OpenAPI contract to drive tests and API firewalls, centralize authorization (or use Open Policy Agent), choose reference tokens vs short-lived JWTs appropriately, and compartmentalize services.

AI-written summary · about

  1. 0:00Intro
  2. 2:17The cowboy years are over
  3. 7:24Enforce sensible limits
  4. 13:27The client is irrelevant
  5. 14:52Client controls are useless
  6. 18:34Sensitive Data Exposure
  7. 22:30Mass Assignment
  8. 25:03Test Your API
  9. 27:24API Firewalls
  10. 31:21Rest API
  11. 34:04Implement Function Level Authorization
  12. 36:42Auditability
  13. 42:28Cookies
  14. 44:21Tokens
  15. 47:48Understand your requirements
  16. 50:09Follow Jot Security
  17. 50:37What happens when API goes wrong
  18. 51:52Outro
~/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.