~/talk

Secure Your Web Webapp passwords in PostgreSQL

Talkat PostgresOpen 2013 · 2013-09-16..09-18· [security, databases]
slides:none on file

Outlines a concrete design: rename the user table to a shadow table, revoke select on shadow from the web role, expose a trimmed view with nulled secrets, and implement a security definer function set (login, set_password, create/delete) that runs as the owner and calls create extension pgcrypto then gen_salt/crypt to store and verify hashes. Demonstrates this prevents bulk hash/email dumps and offline cracking while warning that insecure SQL inside security-definer functions becomes the new attack surface.

AI-written summary · about

  1. 0:00Introduction
  2. 1:10What is this talk about
  3. 1:41The typical web application
  4. 1:53You get hacked
  5. 2:50Hashed passwords
  6. 3:17Hashed passwords only help against hacks
  7. 4:30We can easily do things about this
  8. 5:00User table
  9. 5:38SQL injection attack
  10. 6:23History of passwords
  11. 11:37Web user permissions
  12. 12:31Database encryption and hashing
  13. 14:26Login
  14. 18:44Password Generation
  15. 20:42Limitations
  16. 21:44Security Definer
~/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.