Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: oracle grants/roles v sql server
Jimbo1 wrote:
> archon wrote:
>> Hi. I want to grant a user read (select) access to all objects in a schema >> in Oracle. In sql server, I would just give the user a db_datareader role >> for that schema. How is that done in Oracle? I don't want to give access >> on an object-by-object basis one at a time, in case new objects are created >> afterwards.
Before taking James' advice be aware that the word "database" means something very different in Oracle than it does in SQL Server. In Oracle granting this privilege is a monstrous security breach.
You will need to grant SELECT on each table individually. And if you have security issues ... at the column level.
This is documented in Morgan's Library at www.psoug.org if you click on the Object Privileges page.
-- Daniel A. Morgan University of Washington damorgan_at_x.washington.edu (replace x with u to respond) Puget Sound Oracle Users Group www.psoug.orgReceived on Mon Jul 24 2006 - 22:50:14 CDT