Skip to content
Search

PostgreSQL:HBA

lastmod 2021-03-03created 2021-03-022 edits

About host-based authentication.

Syntax

Uses the filename pg_hba.conf, and each record takes one of the following 7 forms.

local      database  user  auth-method  [auth-options]
host       database  user  address  auth-method  [auth-options]
hostssl    database  user  address  auth-method  [auth-options]
hostnossl  database  user  address  auth-method  [auth-options]
host       database  user  IP-address  IP-mask  auth-method  [auth-options]
hostssl    database  user  IP-address  IP-mask  auth-method  [auth-options]
hostnossl  database  user  IP-address  IP-mask  auth-method  [auth-options]

See also

Favorites site

author Zer0 sitemap