Re: Data access permission?

Поиск
Список
Период
Сортировка
От Manuel Sugawara
Тема Re: Data access permission?
Дата
Msg-id m3d7azkti4.fsf@dep1.fciencias.unam.mx
обсуждение исходный текст
Ответ на Data access permission?  (Pluto <pluto@annoyance.net>)
Список pgsql-general
Pluto <pluto@annoyance.net> writes:

> Dear all
>
> Can PostgreSQL, MySQL or other database programs can allow some user to
> access some specific data while other data is prohibited to them in a
> same database? If so, how to implement that? For instance, a client can
> print last month's statement through the Internet by providing a
> password to him/her; this client can only check the data that belong to
> him/her, at the meantime, there is other clients' data in the same
> database. Thanks for your kind help!

I don't understand very well the idea. If you want to restrict user
access per table you can do it using the commands grant/revoke;
however if you want to restrict user access per row; I'm afraid this
is not possible, at least not without triggers or rules.

Regards,
Manuel.

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

Предыдущее
От: Doug McNaught
Дата:
Сообщение: Re: Globally Unique IDs?
Следующее
От: elwood@agouros.de (Konstantinos Agouros)
Дата:
Сообщение: Stupid Access-Question