Disable TRUST authentication mode

Поиск
Список
Период
Сортировка
От c k
Тема Disable TRUST authentication mode
Дата
Msg-id CAN2Y=uMt7CPkxZhAUfw7SzecKdWCWsUuLmh4XPhUxKqBtdUoyA@mail.gmail.com
обсуждение исходный текст
Ответы Re: Disable TRUST authentication mode
Список pgsql-admin
Hi,
Can we disable the trust authentication mode?

One of our customer found that few of it's employees are trying to change the data without having any proper rights. The simplest way is to get the control of the server and then change the mode of the authentication to trust and restart the server. All other regular users will do not get any problems for their daily working. And this is the real fact that persons from IT department can be one of the users who are going to make a fraud.
Even after having sufficient logging and other preventative actions, like logging in the database for what is changed (audit trails) and even using postgresql logs, it impossible to prevent such things. As in most of the times we use username/password as basic functionality to prevent unauthorised users from getting the database access, TRUST makes a grand back door for hackers or fraud making users to get into the database. In TRUST mode knowing the name of the user is sufficient and it is not hard to know the superuser login name.

What steps we can take to prevent such access or to disable the TRUST mode completely?

Thanks,

C P Kulkarni

В списке pgsql-admin по дате отправления:

Предыдущее
От: Filippos
Дата:
Сообщение: Re: postgresql monitoring tool (GUI)
Следующее
От: Jan Lentfer
Дата:
Сообщение: Re: Disable TRUST authentication mode