~/talk

Securing PostgreSQL From External Attack

Talkat PGConf India 2025 · 2025-03-05..03-07· [databases, security]
slides:none on file

Examines concrete external attack vectors and concrete defenses: default pg_hba often grants trust on local sockets, MD5 auth is legacy while SCRAM-SHA-256 is the current default (Postgres 14+), and SSL mode default prefer can silently fall back to unencrypted connections. Recommends certificate authentication or channel binding to prevent pass‑through/mitm, cites U2F hardware tokens and client certs for key rotation, and lists column encryption options (pgcrypto/pg_sodium), OS disk encryption, and vendor TDE solutions.

AI-written summary · about

  1. 0:00Introduction and background
  2. 3:11External attack vectors
  3. 7:09Authentication methods in PostgreSQL
  4. 12:29Password vulnerabilities and risks
  5. 16:22Man-in-the-middle attacks
  6. 19:17SSL and certificate authorities
  7. 23:50Channel binding and certificate auth
  8. 25:15Beyond connections: data theft
  9. 27:06Encryption at rest and volume encryption
  10. 32:45Q&A on password storage and security
~/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.