Search Postgresql Archives

Re: Hiding name and version

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Good to know.
Thanks everyone.

-----Original Message-----
From: Jerry Sievers [mailto:gsievers19@xxxxxxxxxxx] 
Sent: Thursday, September 17, 2015 11:03 PM
To: Tom Lane
Cc: Joshua D. Drake; Quiroga, Damian; pgsql-general@xxxxxxxxxxxxxx
Subject: Re:  Hiding name and version

Tom Lane <tgl@xxxxxxxxxxxxx> writes:

> "Joshua D. Drake" <jd@xxxxxxxxxxxxxxxxx> writes:
>
>> On 09/17/2015 10:32 AM, Quiroga, Damian wrote:
>>> 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).
>
> I believe revoking public execute access would work, but I concur that 
> this specific request seems entirely pointless.  Anyone with SQL-level 
> access to the server, and a copy of the release notes, can soon 
> determine what version they are talking to by testing for the presence 
> or absence of assorted features and bugs.
>
> Keep in mind also that pg_dump or pg_upgrade would not preserve such 
> alterations to system functions.

And let's not forget...

show server_version or server_version_num;

Oh, and interactive psql without -q prints server version in the banner :-)
>
> 			regards, tom lane

--
Jerry Sievers
Postgres DBA/Development Consulting
e: postgres.consulting@xxxxxxxxxxx
p: 312.241.7800


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux