Re: viewing source code

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: viewing source code
Дата
Msg-id b42b73150712200630k5b53ded7o45bbd86798906174@mail.gmail.com
обсуждение исходный текст
Ответ на Re: viewing source code  ("Roberts, Jon" <Jon.Roberts@asurion.com>)
Список pgsql-performance
On Dec 20, 2007 9:07 AM, Roberts, Jon <Jon.Roberts@asurion.com> wrote:
> So your suggestion is first to come up with a query that dynamically checks
> permissions and create a view for it.  Secondly, change pgAdmin to reference
> this view in place of pg_proc.  Actually, it should be extended to all

This solution will not work.  It requires cooperation from pgAdmin
which is not going to happen and does nothing about psql or direct
queries from within pgadmin.  Considered from a security/obfuscation
perspective,  its completely ineffective.  As I've said many times,
there are only two solutions to this problem:

1. disable permissions to pg_proc and deal with the side effects
(mainly, pgadmin being broken).

2. wrap procedure languages in encrypted handler (pl/pgsql_s) so that
the procedure code is encrypted in pg_proc.  this is an ideal
solution, but the most work.

merlin

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

Предыдущее
От: "Roberts, Jon"
Дата:
Сообщение: Re: viewing source code
Следующее
От: "Anton Melser"
Дата:
Сообщение: Re: Reinitialising stats once only without restarting