I'm trying to think of security problems using private/public dblinks.
You can see what I'm talking about in the picture below
So, as shown in the picture (right option is public and left one is private) which one do you think is safe?
I'm trying to think of security problems using private/public dblinks.
You can see what I'm talking about in the picture below
So, as shown in the picture (right option is public and left one is private) which one do you think is safe?
I would suggest using private database links and create views for the tables you need to access over a database link.
So, if you have a database db1 with users user1db1, user2db1 and user3db1 that need to access table1 in another database db2, do like this:
There are two reasons for this: