Re: Separation of clients' data within a database

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Separation of clients' data within a database
Дата
Msg-id 456ED542.EE98.0025.0@wicourts.gov
обсуждение исходный текст
Ответ на Separation of clients' data within a database  (John McCawley <nospam@hardgeus.com>)
Список pgsql-general
>>> On Thu, Nov 30, 2006 at 12:48 PM, in message
<456F2795.3070603@hardgeus.com>,
John McCawley <nospam@hardgeus.com> wrote:
>
> 4) Create views for each client that filter the underlying table data
to
> only show them their data.  The only database objects they would have

> read permission on are these views.  Come to think of it, this is
> probably the best way to go.

That's what I'd be looking at.  Be sure to revoke public rights on the
database and public schema, and grant back the rights you want.  Think
about using the schemas to segregate the views for the various clients.

-Kevin



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

Предыдущее
От: John McCawley
Дата:
Сообщение: Separation of clients' data within a database
Следующее
От: "Leonel Nunez"
Дата:
Сообщение: Re: Separation of clients' data within a database