Re: Hiding name and version

Поиск
Список
Период
Сортировка
От Quiroga, Damian
Тема Re: Hiding name and version
Дата
Msg-id 5F6634B7560CA34EA814093D8CDACAC736F8D5A1@fmsmsx107.amr.corp.intel.com
обсуждение исходный текст
Ответ на Re: Hiding name and version  ("Joshua D. Drake" <jd@commandprompt.com>)
Ответы Re: Hiding name and version
Список pgsql-general
Thanks for your answer.

I've tried something like "REVOKE EXECUTE ON FUNCTION version() FROM someuser;" and it doesn't work.
Apparently you can only revoke permissions that you have explicitly granted before.

Any other ideas?

Damian

-----Original Message-----
From: Joshua D. Drake [mailto:jd@commandprompt.com]
Sent: Thursday, September 17, 2015 3:05 PM
To: Quiroga, Damian; pgsql-general@postgresql.org
Subject: Re: [GENERAL] Hiding name and version

On 09/17/2015 10:32 AM, Quiroga, Damian wrote:
> Hi,
>
> Is it possible to prevent users from running the "version" function or
> all system information functions? If so, how?

You could probably revoke access to the function(s) (I haven't tried it because it seems very silly).

JD


--
Command Prompt, Inc. - http://www.commandprompt.com/  503-667-4564 PostgreSQL Centered full stack support, consulting
anddevelopment. 
Announcing "I'm offended" is basically telling the world you can't control your own emotions, so everyone else should
doit for you. 


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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Hiding name and version
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Hiding name and version