Re: Running untrusted sql safely?

Поиск
Список
Период
Сортировка
От Christophe
Тема Re: Running untrusted sql safely?
Дата
Msg-id 095118EA-875D-4EA0-9601-314F32EFE195@thebuild.com
обсуждение исходный текст
Ответ на Re: Running untrusted sql safely?  (Stuart McGraw <smcg2297@frii.com>)
Ответы Re: Running untrusted sql safely?  (Scott Marlowe <scott.marlowe@gmail.com>)
Список pgsql-general
On Feb 15, 2009, at 2:47 PM, Stuart McGraw wrote:

> I just hoping for some confirmation that the permissions based
> approach did not have some holes in it that I am
> not seeing.

Another possibility is to create a set of functions that contain the
query operations you would like to allow, isolate those in a schema,
and make that schema the only thing accessible to the (semi-)trusted
users.

Generally, I try to design things so that web servers and other
clients who could potentially be compromised don't execute full-
function SQL directly, but go through functions instead.

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

Предыдущее
От: "Bob Pawley"
Дата:
Сообщение: Re: Attempting to connect
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: Attempting to connect