pg_hba.conf
• 認証を行うための6項目を1エントリ1行として記述する。
• 接続方法
– local, host, hostssl, hostnossl
• データベース名
– all, <データベース名>
• ユーザ名
– all, +<グループ名>, <ユーザ名>
• 接続元IPアドレス
– 192.168.0.0/255.255.255.0 など
• 認証方法
– trust, md5, password, ident, pam, krb5, ldap, 等
# "local" is for Unix domain socket connections only
local all all ident
# IPv4 local connections:
host all all 127.0.0.1/32 ident
# IPv6 local connections:
host all all ::1/128 ident
19.1. pg_hba.confファイル http://www.postgresql.jp/document/9.0/html/auth-pg-hba-conf.html
Copyright 2012 Uptime Technologies LLC, All rights reserved. 16