Monday, January 15, 2007

Password securing postgres

# "local" is for Unix domain socket connections only
local all all trust
# IPv4 local connections:
host all all 127.0.0.1/32 trust
host all all 0.0.0.0 password
host all all all password
#all and 0.0.0.0 mean the same - 0.0.0.0 is an ip address meaning any
# IPv6 local connections:
host all all ::1/128 password

No comments: