Re: How psql source code can be protected?

Поиск
Список
Период
Сортировка
Искать
От
Merlin Moncure
Тема
Re: How psql source code can be protected?
Дата
Msg-id
b42b73151001070518m356ed646gbdbe5b0bf8ca4f1f@mail.gmail.com
Ответ на
Список
Дерево обсуждения
How psql source code can be protected? Marius Pitigoi <marius.pitigoi@gmail.com>
Re: How psql source code can be protected? David Fetter <david@fetter.org>
Re: How psql source code can be protected? Erik Jones <ejones@engineyard.com>
Re: How psql source code can be protected? Scott Marlowe <scott.marlowe@gmail.com>
Re: How psql source code can be protected? "Joshua D. Drake" <jd@commandprompt.com>
Re: How psql source code can be protected? "Joshua D. Drake" <jd@commandprompt.com>
Re: How psql source code can be protected? Raymond O'Donnell <rod@iol.ie>
Re: How psql source code can be protected? Merlin Moncure <mmoncure@gmail.com>
On Wed, Jan 6, 2010 at 11:09 AM, Marius Pitigoi
 wrote:
> Hello,
>
> Is there a way to protect psql source code? For example oracle has wrap
> utility.
> I want to deploy my DB on a hosting company server. But they can see my
> functions code (they have root privileges) and this is what I want to avoid.

It's impossible to do this if the company has access to the database
superuser account.  If they have root access on the box there is no
real effective way from keeping them from using that account (your
main line of defense is pg_hba.conf which they can simply adjust).

If you limit them to a restricted account you can prevent casual
browsing of your procedure code by revoking select access from pg_proc
from that account and 'public'.

merlin
В списке pgsql-general по дате отправления
От: Alban Hertroys
Дата:
От: Albe Laurenz
Дата:
FAQ