PostgreSQL Data Base Creation Part 4
PostgreSQL Data Base Creation Part 4
access control
C R E AT I N G P O S T G R E S Q L D ATA B A S E S
Darryl Reeves
Industry Assistant Professor, New York
University
The default superuser
postgres "superuser" role
Administers database
postgres privileges
Creating databases
Dropping databases
Inserting records
Deleting records
Dropping tables
User abilities:
Adding records
Querying records
Editing records
Darryl Reeves
Industry Assistant Professor, New York
University
PostgreSQL roles and privileges
Users are a type of role
DELETE
UPDATE
fin access
Add new accounts
Update accounts
Query accounts
Darryl Reeves
Industry Assistant Professor, New York
University
Access control with schemas
Schema - named container for db objects
Schemas can be used for access control
Darryl Reeves
Assistant Professor, Long Island
University - Brooklyn
Example: rolling back privileges
Cousin interested in databases
Superuser access mistakenly provided
Darryl Reeves
Industry Assistant Professor, New York
University
Course content
Chapter 1: Structure of PostgreSQL Databases
Access control