~/talk

Cracking the Code to Secure Software

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

Shows concrete design moves that stop real bugs: replacing loose strings with domain primitives (phone numbers that reject script tags, quantities that forbid -1), modeling mutable records as immutable entity snapshots with separate read/write paths to improve integrity and availability, and wrapping sensitive values in a read-once wrapper that explodes if accidentally serialized or logged. Examples include a minus‑one shopping bug eliminated by a Quantity primitive and discovery of Tomcat session dumps via the read‑once detector; patterns are applied in code and shown to work.

AI-written summary · about

  1. 0:00Intro
  2. 0:59What's Cracking the Code... all about?
  3. 2:28What we'll cover today
  4. 3:25Case 1: Cross Site Scripting (XSS)
  5. 3:59Stored XSS
  6. 4:32Reflective XSS
  7. 6:37Technical Analysis
  8. 6:57Technical Solution
  9. 7:10Case 2: Buying-1 books
  10. 9:44But Quantity isn't an integer...
  11. 12:34Quantity as a Domain Primitive
  12. 13:40Invalid quantities are rejected
  13. 14:24tighten your design
  14. 16:13Use a Domain Primitive Instead
  15. 16:53Domain Primitives prevent XSS
  16. 18:08Security in Depth
  17. 24:12Availability and Mutable State
  18. 24:51Design Stereotypes in DDD
  19. 25:46How should we represent en Order?
  20. 26:51Entity Snapshots
  21. 29:06Order as an Entity Snapshot
  22. 30:11Updating an Order
  23. 34:27Accidental Leakage
  24. 35:45Evolving domain model
  25. 37:25Read once Object
~/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.