From PostgreSQL 9.x Security Technical Implementation Guide
Part of SRG-APP-000211-DB-000122
Associated with: CCI-001082
Information system management functionality includes functions necessary to administer databases, network components, workstations, or servers and typically requires privileged user access.
Check PostgreSQL settings and vendor documentation to verify that administrative functionality is separate from user functionality. As the database administrator (shown here as "postgres"), list all roles and permissions for the database: $ sudo su - postgres $ psql -c "\du" If any non-administrative role has the attribute "Superuser", "Create role", "Create DB" or "Bypass RLS", this is a finding. If administrator and general user functionality are not separated either physically or logically, this is a finding.
Configure PostgreSQL to separate database administration and general user functionality.
Do not grant superuser, create role, create db or bypass rls role attributes to users that do not require it.
To remove privileges, see the following example:
ALTER ROLE
Lavender hyperlinks in small type off to the right (of CSS
class id
, if you view the page source) point to
globally unique URIs for each document and item. Copy the
link location and paste anywhere you need to talk
unambiguously about these things.
You can obtain data about documents and items in other
formats. Simply provide an HTTP header Accept:
text/turtle
or
Accept: application/rdf+xml
.
Powered by sagemincer