~/talk

Secure Coding Back to Basics

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

Argues that shifting validation into small, typed domain primitives and using DTOs/contract objects avoids bugs that become vulnerabilities, shows Kotlin/TypeScript code patterns (Either, immutable value objects), demonstrates using DOMPurify and browser Trusted Types to stop XSS, recommends parameterized queries to prevent SQLi, describes preventing mass assignment via anti-corruption layer/DTOs, reports using the approach on a three‑year project where it caught many logic bugs though schema changes and memory tradeoffs require migration effort.

AI-written summary · about

  1. 0:00Start
  2. 0:11Secure Coding Back to Basics
  3. 1:52Complexity Is the Enemy of Security
  4. 4:37Standard Runtime Bug
  5. 7:50Anti-Corruption Layer
  6. 13:37Product Id
  7. 15:39Normalize Input
  8. 27:39User Registration
  9. 29:28Apis
  10. 31:10Mass Assignment Attack
  11. 38:51Input Validation
  12. 39:57Cross-Site Scripting in Sql Injection
  13. 41:50Process Scripting
  14. 45:21Trusted Html
  15. 46:17Default Policy
  16. 47:05Typescript
  17. 49:35Input Validation of Json Data
  18. 50:18Registration Parser
  19. 56:24Input Validation and Encoding
~/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.