~/talk

Secure by Design, Revisited - Insights & Pitfalls

Talkat Jfokus 2022 · 2022-05-02..05-04· [security, software-architecture]
github:deogun
slides:none on file

Argues that validated domain primitives (example: Swedish tax id class that encapsulates format, checksum and birthdate logic) stop injection by making invalid values unrepresentable and expose a bug fix (handling people turning 18 on election day) when interpretation moves inside the object. Reframes validation as five steps — origin, size, lexicon, syntax, semantic/state — and recommends APIs enforce state checks with 422/405 rather than blind 200s. Advises to fetch secrets on demand (use a vault) to enable live DB password rotation instead of startup-only injection.

AI-written summary · about

  1. 0:00Start
  2. 4:44Software bugs
  3. 10:34Secure by Design - Overview
  4. 13:50Let's consider a Swedish Tax ID Structure of an ID How does this get represented in code? Which data type is used? 1 control digt
  5. 15:36Common Representation in Code
  6. 18:32The misconception Explicit and validated types with domain logic outside of the object
  7. 29:50The misconception: "validation" = "input argument validation"
  8. 31:15Book Order object example
  9. 38:23Externalized Secrets
  10. 39:43Misconception: config injection at startup
~/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.