~/talk

Test Driven Application Security

Talkat NDC Security 2023 · 2023-01-16..01-19· [security, testing]
links:none on file
links:none on file
slides:none on file

Demonstrates a test-driven approach that turns OWASP Top 10 failure modes into automated checks: system tests (liveness/readiness, TLS 1.3, security headers, invalid-token -> 401) and unit tests (permission service, controller, domain/service). Demos run in ASP.NET Core 6 with C# and code on GitHub; implementation adds a centralized permissions model, domain primitives for input validation, response DTOs to stop excessive data exposure, and routing policies producing a deny-by-default posture. Tests move red failures to green and prevent tenancy, injection, and authorization regressions.

AI-written summary · about

  1. 0:00Test driven app security intro
  2. 1:49Why pen tests keep finding the same vulnerabilities
  3. 3:59TDD for app security
  4. 5:42Secure API requirements
  5. 8:55Six steps to secure APIs
  6. 12:54System tests for API security
  7. 16:31Live demo: system tests
  8. 22:32Unit tests for data security
  9. 25:02Testing API permissions
  10. 29:36Domain tests for boundaries
  11. 34:17Fixing input validation
  12. 37:56Fine-grained authorization
  13. 43:40Routing authorization policies
  14. 45:46Security testing summary
  15. 46:27Simplicity reduces vulnerabilities
  16. 49:18Resources and GitHub
  17. 50:07Testing in production
~/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.