Re: Restricting the capability of ODBC users
From: Vikram Goel <vgoel>
Date: 1995/10/31
Message-ID: <1995Oct31.145018.14884_at_schbbs.mot.com>#1/1
Date: 1995/10/31
Message-ID: <1995Oct31.145018.14884_at_schbbs.mot.com>#1/1
Ross,
I do not know how you could configure the ODBC drivers, however there may be another way:
- Create two roles in Oracle ( v7.0 +). One role has only select privilege to the objects (e.g. R_SELECT). The second role was select, insert and update privileges ( R_ALL).
- Grant the appropiate privileges to the roles.
- Revoke all object privileges from the users.
- Grant both the roles to the users, making the R_SELECT the default role.
- When the users access the db through Excel etc. they can log into Oracle as usual, however update, insert authority will be blocked by the RDBMS.
- In your application, issue the following command as the first statement 'SET ROLE R_ALL;'
- After this during this session the users will have all update, insert authority.
Hope this helps.
Vikram Goel
Sr. DBA
MOTOROLA - Byonton Beach, Florida
email: vgoel_at_emi.net Received on Tue Oct 31 1995 - 00:00:00 CET
