Re: Obfuscated stored procedures (was Re: Oracle and Postgresql)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Obfuscated stored procedures (was Re: Oracle and Postgresql)
Дата
Msg-id 16972.1221531560@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Obfuscated stored procedures (was Re: Oracle and Postgresql)  (Bill Moran <wmoran@collaborativefusion.com>)
Ответы Re: Obfuscated stored procedures (was Re: Oracle and Postgresql)  (Bill Moran <wmoran@collaborativefusion.com>)
Re: Obfuscated stored procedures (was Re: Oracle and Postgresql)  (Casey Allen Shobe <cshobe@bepress.com>)
Список pgsql-general
Bill Moran <wmoran@collaborativefusion.com> writes:
> What I'm _asking_ is why would extending SECURITY DEFINER to include
> preventing unauthorized users from viewing code _not_ be a valid method
> of securing the code.

Because it's so full of obvious loopholes.  Yes, it might slow down
someone who didn't have superuser access to the database or root access
to the machine it's on; but that doesn't count as secure really.  The
problem is that the people who ask for this type of feature are usually
imagining that they can put their code on customer-controlled machines
and it will be safe from the customer's eyes.  Well, it isn't, and
I don't think Postgres should encourage them to think it is.

            regards, tom lane

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

Предыдущее
От: Bill Moran
Дата:
Сообщение: Re: Obfuscated stored procedures (was Re: Oracle and Postgresql)
Следующее
От: "Gauthier, Dave"
Дата:
Сообщение: left outer join on 3 tables ?