Skip to Main Content
PostgreSQL 14 Administration Cookbook
book

PostgreSQL 14 Administration Cookbook

by Simon Riggs, Gianni Ciolli
March 2022
Intermediate to advanced content levelIntermediate to advanced
608 pages
12h 36m
English
Packt Publishing
Content preview from PostgreSQL 14 Administration Cookbook

Chapter 6: Security

This chapter will present a few common recipes for securing your database server. Taken together, these will cover the main areas around security in PostgreSQL that you should be concerned with. The last recipe will cover some cloud-specific topics.

This chapter covers the following recipes:

  • Overview of PostgreSQL security
  • The PostgreSQL superuser
  • Revoking user access to a table
  • Granting user access to a table
  • Granting user access to specific columns
  • Granting user access to specific rows
  • Creating a new user
  • Temporarily preventing a user from connecting
  • Removing a user without dropping their data
  • Checking whether all users have a secure password
  • Giving limited superuser powers to specific users
  • Auditing database access
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

PostgreSQL 16 Administration Cookbook

PostgreSQL 16 Administration Cookbook

Gianni Ciolli, Boriss Mejías, Jimmy Angelakos, Vibhor Kumar, Simon Riggs
PostgreSQL High Performance Cookbook

PostgreSQL High Performance Cookbook

Dinesh Kumar, Chitij Chauhan

Publisher Resources

ISBN: 9781803248974