Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Security for sqlplus--
Brian Spears wrote:
>
> HI,
>
> Does anyone know how to limit how SQLPLUS is used. Ie. All users
> have all privs to schema through an application's standard use of
> ORACLE. I want to allow users to use sql*plus with select privilege
> only. Can I control who can access sql*plus? If so I could create
> a user with no quota and only select privs to access sql*plus. This
> solution would do if I can control user access to the tool.
>
> If I can not control users - tool, does anyone know of another
> way to save the database. I know of a 3rd party tool but I
> want to avoid this if possible for the present time.
>
> Brian Spears
> DBA , Dynapro
Brian,
We had exactly the same problem with an application that used Oracle Forms 4.5 on the PC as the front end. The users had to have all CRUD privileges on the database tables to use the front end, but they also had direct access to SQL*Plus for queries and started to screw up the tables! And telling them to stop didn't work.
We used the PRODUCT_USER_PROFILE for a time. It did work, but was a little maintenance intensive (about 3-4 INSERTs each time you create a user) and just seemed a bit kludgy.
The approach we use now was recommended in the Oracle DBA class:
Hope this helps.
Barry Schader Received on Mon Dec 30 1996 - 00:00:00 CST
![]() |
![]() |