From 4aaf298d003614fd5e3fd6a258c96ceb23f5217b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phanie=20Br=C3=A9fort?= Date: Fri, 9 Jan 2015 14:31:19 +0100 Subject: [PATCH] Limitation of default access rights to improve security --- postgres/pg_hba.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/postgres/pg_hba.conf b/postgres/pg_hba.conf index 26734e7..dac1014 100644 --- a/postgres/pg_hba.conf +++ b/postgres/pg_hba.conf @@ -24,8 +24,8 @@ local all postgres peer # "local" is for Unix domain socket connections only -local all all trust +local all all peer # IPv4 local connections: -host all all 127.0.0.1/32 trust +host all all 127.0.0.1/32 md5 # IPv6 local connections: -host all all ::1/128 trust +host all all ::1/128 md5