Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: password and dblink mgmt tool

RE: password and dblink mgmt tool

From: Hollis, Les <Les.Hollis_at_ps.net>
Date: Thu, 3 Mar 2005 08:54:04 -0600
Message-ID: <D44DCE7BBC084E4C9E2DA87EC75E8DE3169B53@pscdalpexch02.perotsystems.net>


That's basically what I said.....

A schema IS for all intents and purposes a userID. To own an object you have to create a user to do so...hence a userID.

SO, like I said grant the necessary object privs to the userid on the REMOTE DB as required...

-----Original Message-----
From: Hemant K Chitale [mailto:hkchital_at_singnet.com.sg]=20 Sent: Thursday, March 03, 2005 8:28 AM
To: Hollis, Les; oracle-l_at_freelists.org
Subject: RE: password and dblink mgmt tool

My database "users" are actually Application Schemas. End-users do not=20 have database accounts.
Database Links are requested by the Application Teams to "connect" two=20 databases running
different applications. Neither do I have the same username nor do I=20 expect the same username
present in the two databases. I setup a specific account with privileges=20
only on a subset
of tables/objects in the remote database to be used for the DBLink.

Hemant
At 09:57 AM Thursday, Hollis, Les wrote:
>You don't use a userid/password
>
>Create public database link PROD using 'PROD';
>
>
>
>If the user exists on source database and the destination database,
then
>statements will work. If user id does not match across DB's then they
>don't have any perms.
>
>Access to tables can be granted just like in the same DB. Grant
select,
>insert on tablename to username. Etc
>

Hemant K Chitale
http://web.singnet.com.sg/~hkchital

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Mar 03 2005 - 09:55:12 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US