~/talk

10 Java Security Practices

Talkat Devoxx Poland 2021 · 2021-08-25..08-27· [security, java]
slides:none on file

Ten concrete Java fixes: use prepared statements with parameters to stop SQL/NoSQL injection; expose only DTOs or annotate fields with @JsonIgnore and scrub toString outputs to avoid leaking PII; treat dependency trees as part of the app (22 lines can pull in ~500k LOC) and scan with Snyk; patch Spring Data Rest to avoid SpEL RCE; encode output with OWASP Encoder to prevent XSS; disable external entities in XML parsers to stop XXE; avoid Java serialization gadget chains (use ysoserial to test, whitelist classes); use Google Tink/AES and Argon2/bcrypt for crypto; centralize logs and alert on suspicious patterns.

AI-written summary · about

  1. 0:00Intro
  2. 0:45Introduction
  3. 7:25SQL Injection
  4. 15:07Sensitive Data
  5. 15:40Least Privileged
  6. 22:27Dependencies
  7. 23:24Example
  8. 24:38Spring Boot
  9. 29:47Rule Zero
  10. 29:59Crosssite scripting
  11. 36:14XML
  12. 40:07Serialization
  13. 48:19Logging
~/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.