feat: restrict access to postgres socket
Some checks failed
Continuous Delivery / build_n_upload (push) Has been cancelled
Some checks failed
Continuous Delivery / build_n_upload (push) Has been cancelled
This commit is contained in:
@@ -18,6 +18,9 @@ hba_file = '/etc/postgres/pg_hba.conf'
|
||||
# because we want only uni socket connections
|
||||
listen_addresses = ''
|
||||
|
||||
# Forbide access to users not in group postgres
|
||||
unix_socket_permissions = 0770
|
||||
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# REPORTING AND LOGGING
|
||||
|
||||
Reference in New Issue
Block a user