~/talk

Building secure web apps: Python vs the OWASP Top 10

Talkat PyCon Australia 2013 · 2013-07-05..07-07· [security, python]
slides:none on file

Python web frameworks already block most OWASP Top 10 problems when used correctly: use an ORM or bind parameters to prevent SQL injection; template auto-escaping and input validation stop XSS; use bcrypt/passlib for password storage; enforce SSL and HSTS via Flask-SSLify or Django Secure and treat session/CSRF tokens as secrets. Access control and safe redirects require app-level checks. The surprising gap is dependency monitoring — components with vulnerabilities fail and the ecosystem lacks good, automated security-update signaling.

AI-written summary · about

  1. 0:00Intro
  2. 3:03The OWASP Top 10
  3. 14:40Vulnerabilities in sessions/auth
  4. 15:25Man-in-the-middle attacks
  5. 15:54SSL ALL THE THINGS!
  6. 17:12Session security
  7. 21:52Preventing XSS
  8. 26:34Read the docs
  9. 26:49Have a deployment checklist
  10. 27:40Turn off debug mode!
  11. 29:08Password storage
  12. 31:55Handling access control
  13. 36:46Preventing CSRF
  14. 38:47Staying up-to-date
  15. 40:26Validating redirects/forwards
  16. 40:42The Top 10 vs Python
~/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.