Urgent pls- DBlinks [message #64120] |
Fri, 17 December 2004 07:55 |
Sam
Messages: 255 Registered: April 2000
|
Senior Member |
|
|
Hi, I created a public dblink on db2, which connects to say u1 on DB1. The user u1 has 15 tables, i want to restrict access to only couple of tables. Is there any work around.
Thanks in advance
Sam
|
|
|
Re: Urgent pls- DBlinks [message #64121 is a reply to message #64120] |
Fri, 17 December 2004 11:39 |
andrew again
Messages: 2577 Registered: March 2000
|
Senior Member |
|
|
Nothiong straigntforward. The DB link connects using the user/pass of the table owner right? If so it is in effect the owner. A common approach is to create a second schema having synonyms pointing to the table owner's tables. The owner grants access selectively to the new schema.
|
|
|