Return-Path: Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Delivered-To: mailing list torque-user@db.apache.org Received: (qmail 81543 invoked from network); 24 Mar 2003 23:25:28 -0000 Received: from e2.ny.us.ibm.com (32.97.182.102) by daedalus.apache.org with SMTP; 24 Mar 2003 23:25:28 -0000 Received: from northrelay04.pok.ibm.com (northrelay04.pok.ibm.com [9.56.224.206]) by e2.ny.us.ibm.com (8.12.8/8.12.2) with ESMTP id h2ONPYE0097384 for ; Mon, 24 Mar 2003 18:25:34 -0500 Received: from d01ml223.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216]) by northrelay04.pok.ibm.com (8.12.8/NCO/VER6.5) with ESMTP id h2ONPVir145378 for ; Mon, 24 Mar 2003 18:25:31 -0500 Subject: Getting access to the db connections To: torque-user@db.apache.org X-Mailer: Lotus Notes Release 5.0.11 July 24, 2002 Message-ID: From: Steve Lukshides Date: Mon, 24 Mar 2003 18:25:28 -0500 X-MIMETrack: Serialize by Router on D01ML223/01/M/IBM(Release 6.0.1 [IBM]|March 21, 2003) at 03/24/2003 18:25:31 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi All, Our Oracle DB Admin insists that we run a stored procedure for each connection made to the database. I'm not an Oracle DBA so forgive me if this explanation is less than clear. As a security measure he expects every connection made to the database to call a stored procedure to set the application's role. The idea is to prevent someone from logging on to the DB through SQL Plus with the user name and password that Torque uses and gain rights to use the database. If someone were to discover the username/password that Torque uses and then logs on through SQL Plus they would not gain any rights until the SP is executed, which they are not likely to know and will be difficult to discover. So my question is, how can I get at each connection that Torque establishes, preferably at the time it is established, and use it to execute the SP on? Is this practical? Is there a better way to do this? Thanks, Steve Lukshides Sr. I/T Specialist, IBM Global Services 1475 Phoenixville Pike, West Chester, PA 19380 Phone: 610-989-0340 Voice Mail: 610-578-2385 IBM Tie Line: 873-2385 Email: lukshide@us.ibm.com