Re: Separation of clients' data within a database

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Separation of clients' data within a database
Дата
Msg-id 45700257.6050305@archonet.com
обсуждение исходный текст
Ответ на Re: Separation of clients' data within a database  (John McCawley <nospam@hardgeus.com>)
Ответы Re: Separation of clients' data within a database  (Niklas Johansson <spot@tele2.se>)
Список pgsql-general
John McCawley wrote:
>
> Of course I still have to modify my web app and schema to facilitate the
> new security structure, but I was never too worried about handling it in
> my app...My concern was allowing people direct access to the underlying
> DB while a) blocking them from viewing others' data, and b) without
> having to drastically modify the fundamental structure of my app.

I'd be tempted by your idea of copying the data to separate databases.
Reduces impact on your app and gives you one crucial point to test
against. The disadvantage is that it will only work for the simple
per-user split you describe, nothing more complex.

Oh, and don't forget that users can see other user and database names.

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: named cache
Следующее
От: veejar
Дата:
Сообщение: Restoring database from files on disk