pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Hide function body from users
2+ messages / 2 participants
[nested] [flat]

* Hide function body from users
@ 2003-11-27 17:35  Alexander S. Evdokimov <alexan@nautsilus.ru>
  0 siblings, 1 reply; 2+ messages in thread

From: Alexander S. Evdokimov @ 2003-11-27 17:35 UTC (permalink / raw)
  To: pgsql-admin

Hello pgsql-admin,

  Ppl, Hi!
  I recently find, that \df+ my_function  in psql, shows the whole
  source code of function to user with any access rights.. this is
  very harmful :( .
  Does any body know are there any possibility to hide function
  description (i.e. source code of plpgsql function) from users?

-- 
Best regards,
 Alexander S. Evdokimov                          mailto:alexan@nautsilus.ru




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Hide function body from users
@ 2003-11-28 18:55  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Alexander S. Evdokimov <alexan@nautsilus.ru>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2003-11-28 18:55 UTC (permalink / raw)
  To: Alexander S Evdokimov <alexan@nautsilus.ru>; +Cc: pgsql-admin

"Alexander S. Evdokimov" <alexan@nautsilus.ru> writes:
>   Does any body know are there any possibility to hide function
>   description (i.e. source code of plpgsql function) from users?

No.

You could perhaps convert the function into C if you want to obfuscate
it.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2003-11-28 18:55 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-11-27 17:35 Hide function body from users Alexander S. Evdokimov <alexan@nautsilus.ru>
2003-11-28 18:55 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox