Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> User w/only slct,cnnct,cr session can create tables?
I have recently created a user and role in the following way:
--CONNECT AS SYSTEM
CREATE USER rds IDENTIFIED by &password
DEFAULT TABLESPACE userdata TEMPORARY TABLESPACE temporary QUOTA 10M ON userdata;
GRANT QUERY TO rds;
--CONNECT AS TableOwner
grant select on oehead to QUERY;
grant select on oedetl to QUERY;
grant select on PO_HEADER to QUERY;
grant select on PO_DETAIL to QUERY;
grant select on VENDOR to QUERY;
SPOOL OFF
/
This user can now create tables and drop them which I would not like him
to do.
I tried removing create session but then Oracle will not let me log in
via sqlplus.
Am I missing something here, I thought you had to explicitly give these
permissions?
Thanks
Rob
Received on Mon Mar 05 2001 - 10:08:09 CST
![]() |
![]() |