~/talk

For Your Eyes Only: Roles, Privileges, and Security in PostgreSQL

slides:none on file

Explains how PostgreSQL enforces the Principle of Least Privilege by making object owners the de facto gatekeepers, shows a live demo of role inheritance where a non-LOGIN group role owns objects so members share rights, and walks through setting default privileges so new tables automatically GRANT SELECT to a read-only role. Notes concrete version changes: removal of PUBLIC CREATE on the public schema in Postgres 15 and the addition of pg_read_all_data in Postgres 14, plus newer predefined roles in 15/16 to avoid superuser access.

AI-written summary · about

  1. 0:00Introduction
  2. 2:10Building Blocks of Postgres Roles
  3. 6:06Roles within Postgres
  4. 9:22Special Roles within Postgres
  5. 13:56Privileges: Rights to databases & database objects
  6. 16:28Inheritance & how to utilize it
  7. 18:07Principle of Least Privilege
  8. 21:57Demo of Roles & Privileges in Postgres
~/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.