~/talk

Cracking the code to secure software

Talkat GeeCON Prague 2017 · 2017-05-17..05-19· [security, software-architecture]
links:none on file
github:deogun
slides:none on file

Explains three concrete design patterns that remove classes of security bugs: use Domain Primitives (e.g. a PhoneNumber type) to reject XSS payloads, use Entity Snapshots to make mutable orders immutable for reads and scale availability, and use a one-time subject to detect accidental leaks by throwing when sensitive values are reused. Illustrates with a real retailer bug where sending quantity = -1 became a long‑running fraud vector, and shows these patterns tighten invariants and reduce attack surface.

AI-written summary · about

  1. 0:00Start
  2. 1:04What's Cracking the Code... all about?
  3. 3:53Case 1: Cross Site Scripting (XSS)
  4. 4:23Stored XSS
  5. 4:48Reflective XSS
  6. 5:37Technical Analysis
  7. 6:11Technical Solution
  8. 7:09Case 2: Buying -1 books
  9. 9:32But Quantity isn't an integer....
  10. 12:27Quantity as a Domain Primitive
  11. 13:45Invalid quantities are rejected
  12. 14:11Domain Primitives tighten your design
  13. 14:59We want to prevent invalid phone numbers...
  14. 16:36Use a Domain Primitive Instead
  15. 17:45Domain Primitives prevent XSS
  16. 21:47What we'll cover today
  17. 22:58CIA
  18. 24:50Availability and Mutable State
  19. 25:52Design Stereotypes in DDD
  20. 27:40How should we represent an Order?
  21. 28:51Entity Snapshots
  22. 30:26Order as an Entity Snapshot
  23. 34:10Accidental Leakage
  24. 35:28Evolving domain model
  25. 37:23Read-once Object
  26. 40:05Summary
  27. 42:12QA
~/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.