Re: bloquear usuario importar/exportar

From: Jaime Casanova <systemguards(at)gmail(dot)com>
To: Rubén Luna <rpgsql(at)gmail(dot)com>
Cc: pgsql-es postgresql <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Re: bloquear usuario importar/exportar
Date: 2005-05-03 05:33:21
Message-ID: c2d9e70e05050222334f7a1d01@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

On 5/2/05, Rubén Luna <rpgsql(at)gmail(dot)com> wrote:
> Agradezco la respuesta a mi anterior duda,
> he buscado algo sobre esto y no encuentro , o no lo veo, puedo
> bloquear los permisos para exportar e importar en una cuenta
> cliente????, se hace en un grant o se hace directamente, en la
> configuracion de
> Postgresql.
>
GRANT { { SELECT | INSERT | UPDATE | DELETE | RULE | REFERENCES | TRIGGER }
[,...] | ALL [ PRIVILEGES ] }
ON [ TABLE ] tablename [, ...]
TO { username | GROUP groupname | PUBLIC } [, ...] [ WITH GRANT OPTION ]

grant select .. te sirve para copy to (exportar)
grant insert .. te sirve para copy from (importar)

--
Atentamente,
Jaime Casanova
(DBA: DataBase Aniquilator ;)

In response to

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Nahum Castro 2005-05-03 07:32:12 Procedimiento almacenado y sumas con nulls.
Previous Message Rubén Luna 2005-05-02 19:59:44 bloquear usuario importar/exportar