~/talk

Data Security using Roles, Privileges and Row Level Security

Talkat PGConf NYC 2021 · 2021-12-02..12-03· [databases, security]
links:none on file
slides:none on file

Lists every PostgreSQL privilege and shows which SQL error each missing grant produces, demonstrates granting connect, usage, select, insert, update, delete, truncate, execute, create, temporary and how ACLs appear via pg_class/acl_explode, describes SSL and pgcrypto client/server options, and builds three sample message‑exchange apps (Java and C, plus a pgcrypto Java variant) that use PL/pgSQL helpers like the is_friend function and row level security enabled policies to enforce who can insert or read messages; the demos run and produce the expected permission errors and successful inserts.

AI-written summary · about

  1. 0:00Start
  2. 1:45Cryptography
  3. 4:04Public Key Encryption in Public Key Encryption
  4. 4:56How Do You Use the Public Key Encryption
  5. 11:43Secure Message Exchange
  6. 13:28Role System and the Row Level Security
  7. 15:06Revoke Privileges
  8. 16:24Error Permission Denied for Schema
  9. 23:55Row Level Security
  10. 24:13Sample Message Exchange Application
  11. 26:40Create the Sample Application
~/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.