Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Making a user 'read only'
Alex wrote:
> Hi,
>
> I'm looking for a way to revoke all object privileges except SELECT on a
> user's *own* objects.
> Or for some other way to produce the same effect: that a user, although
> able to log in and read
> data from their tables, is unable to write. This is for an 8.0.5 server.
>
> I need to be able to do this at a user level -- so making the database
> read only isn't an option,
> nor is making their tablespace read only possible, as many users share a
> tablespace.
>
> I thought this would be a facile operation but, unless I'm missing the
> blindingly obvious[1], this doesn't
> appear to be the case.
>
> Cheers,
>
> [1] -- This is far from impossible.
> --
> Alex Hooper
Generically, I don't think you can do it but I'll let a more knowledgable expert answer for sure. You should be able to add INSERT, UPDATE, and DELETE triggers to the user's existing tables that will do what you want, but I wouldn't want to bet that the user couldn't get around them. (Extract the data, drop the old table including the triggers, etc.) Received on Mon Mar 12 2001 - 18:02:43 CST
![]() |
![]() |