Jan Lentfer <Jan.Lentfer@xxxxxx> writes: > Am 10.03.2012 16:21, schrieb c k: >> It we can disable the TRUST mode then every user have to login with >> password and every fraud user have to know the password (at least) of >> the user. It is not the case that users from other departments share >> their passwords, but fraud users just bypasses the need to know the >> password. > If they can alter pg_hba.conf they can almost certainly also change/add > users, alter passwords, etc, etc... So from a security perspective it > doesn't buy you much. Somebody who has the ability to rewrite pg_hba.conf could also go in and physically alter the database files -- those are in the same directory tree, with the same ownership and permissions, as pg_hba.conf. If you cannot trust people who have that level of access, you have a problem that software cannot solve for you. You need to rethink who has got access to the machine running the database server, or at least who has got root on it. regards, tom lane -- Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin