RANIARANIA Academy

Security, Roles & Backup

Administer a PostgreSQL database securely from end to end — manage roles and privileges, enforce row-level security, lock down connections through pg_hba.conf, and take dependable logical and physical backups. You will finish able to grant least privilege, protect data in transit, and restore a cluster to a chosen point in time.

Watch the free preview

Roles, login roles and group roles — free to watch, no account needed.

PostgreSQL ADVANCED · 150 min · Certificate on completion · 3 CPD points

What you'll learn

  • Administer a PostgreSQL database securely with roles, privileges and backups
  • Grant least-privilege access using GRANT, REVOKE and default privileges
  • Enforce per-row access control with row-level security policies
  • Harden authentication and connections through pg_hba.conf and TLS
  • Take and restore logical and physical backups, including point-in-time recovery

Syllabus

Roles and Privileges
Roles, login roles and group rolesFree preview15 min
Granting and revoking privileges15 min
Access Control in Depth
Ownership, schemas and default privileges15 min
Row-level security in practice15 min
Connection and Password Security
Authentication and pg_hba.conf15 min
Passwords, encryption and TLS15 min
Backup and Recovery
Logical backups with pg_dump and pg_restore15 min
Physical backups and point-in-time recovery15 min
Lab — 10 Exercises & Solutions
Exercises 1–515 min
Exercises 6–1015 min