I create this connected to postgres database:
create role prueba_role with nosuperuser nocreatedb nocreaterole nologin noinherit;
revoke all on database prueba_roles from prueba_role cascade;
revoke create on database prueba_roles from prueba_role cascade;
create user sidar with password 'sidar' login in role prueba_role;

Then connect to prueba_roles database with user sidar.
I guess that with these configuration the user cannot create tables, but I can do it.

How to reestrict users to one database access and how to allow only SELECT permited?

_________________________________________________________________
MSN Amor: busca tu ½ naranja http://latam.msn.com/amor/


---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

              http://archives.postgresql.org

Reply via email to