~/talk

Securing PostgreSQL From External Attack

Talkat PGConf NYC 2022 · 2022-09-22..09-23· [security]
slides:none on file

Explains why md5 4‑byte salt is insecure (birthday-style collisions ~16k–32k tries), why Postgres moves to SCRAM+channel binding (Postgres 10 and channel binding in 13) to stop replay and MITM attacks, and why plain SSL without CA verification fails. Covers operational fixes: enforce HBA SSL/verify flags, run a self-signed CA and CRL or intermediates for server/client identity, rotate certs, and encrypt data at rest or per-column with PGCrypto + hardware keys (YubiKey/PIV) and key‑backup practices.

AI-written summary · about

  1. 0:00Introduction to PostgreSQL security
  2. 4:21Authentication security basics
  3. 12:51SCRAM authentication explained
  4. 16:43SSL and data encryption limits
  5. 20:56Spoofing and man-in-the-middle attacks
  6. 23:21Certificate Authority setup for SSL
  7. 30:30Certificate rotation and management
  8. 37:59Channel binding and password alternatives
  9. 43:38Data encryption and key management
  10. 47:30Hardware security devices for keys
  11. 50:01Summary and Q&A
~/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.