View or read only from any objects [message #238839] |
Sun, 20 May 2007 08:25 |
chara
Messages: 81 Registered: April 2005 Location: th
|
Member |
|
|
Dear all,
Is there any way to permit a client ip 172.168.5.xxx can login to db but only view or only select any objects ?
Thanks for advance !
Chara
|
|
|
|
Re: View or read only from any objects [message #238841 is a reply to message #238840] |
Sun, 20 May 2007 09:18 |
chara
Messages: 81 Registered: April 2005 Location: th
|
Member |
|
|
Hi Michel,
Thank you for your replied.Because i got a problem about after i grant only select permission to developers user but after they login to db via toad to view any objects.they can not see any objects in toad.Could you pls suggest me to permit developers user can only view any objects in toad.
Rgds
Chara
|
|
|
|
Re: View or read only from any objects [message #238852 is a reply to message #238839] |
Sun, 20 May 2007 10:11 |
chara
Messages: 81 Registered: April 2005 Location: th
|
Member |
|
|
Hi,
1. I want to developer see any objects in toad but after i granted (only select) to them after they login to db via toad and they click "schema brower windows" pane but they can't see any objects (you can test it).Because i want to permit the developer to only checking data on production .Not perpmit edit data.
2.I want to checking with ip of the the developer to only select data.Because the developer use the same user (user admin) with another people users (but ip are different).
3.It's production db.
Rgds
Chara
|
|
|
|
|
Re: View or read only from any objects [message #238863 is a reply to message #238858] |
Sun, 20 May 2007 12:25 |
|
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
As I see it, you did grant SELECT to your developers, but they don't see any objects because you didn't create them for him/her! So, create SYNONYMS for all objects you'd like your developer to see. This would be a simple script looking like this:GRANT SELECT ON emp TO developer;
GRANT SELECT ON dept TO developer;
GRANT SELECT ON bonus TO developer;
CONNECT developer
CREATE SYNONYM emp FOR scott.emp;
CREATE SYNONYM dept FOR scott.dept;
CREATE SYNONYM bonus FOR scott.bonus;
EXIT;
|
|
|