Solved

How to determine saved passwords for Oracle tables linked to an MS Access front end

Posted on 2011-03-10
8
375 Views
Last Modified: 2012-05-11
Hi -
I have inherited several MS Access databases where Access serves as a front end to an Oracle 10g database.  All of the tables were linked with the "save password" option.  I am adding new tables and would like to keep the uid/pwd consistent rather than just create a new user in Oracle.  I can hover over the linked table names in MS Access to see the connect strings and find the correct UID, but the password is not displayed (that I can tell). Documentation is lacking and the former DBA/programmer has disappeared so I can't ask him what the current passwords are and none of the users has a clue what their password might be since they have never been asked to provide it.  When linking tables with the save password option, a caution message states that the passwords are saved as regular text, so I know they are SOMEWHERE, but I can't find them.  Can you tell me how to locate the saved passwords?
Thanks,
Jackie S.
Alaska SeaLife Center
0
Comment
Question by:aksealife
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 85
ID: 35107737
How are the currently linked tables connecting? Are they using a DSN - that is, when you view the Connect info, do you see something like this:

ODBC;DSN=PwdTest;UID=MyUserID;APP=Microsoft Office 2010;DATABASE=MyDatabase;;TABLE=dbo.MyTable

If so, you can just use that DSN when adding linked tables.
0
 

Author Comment

by:aksealife
ID: 35111511
Yes, the DSN is in the connect string - but if I use the "external data -> ODBC database->link ->choose tables to link" route to link tables, I have to provide the DSN and am still prompted to enter UID and password.  I tried just entering the UID but it didn't work (I didn't really expect it to).  (Example attached)

I can try linking tables using the current UID via VBA and a connect string, but I'm still not sure where the password would be coming from.
example.doc
0
 
LVL 85

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 125 total points
ID: 35111645
At some point, you're going to HAVE to know the password. If not, then you're just out of luck.

You would probably be better off adding a user to the Oracle system and reworking the DSN to work with that user.
0
What Is Blockchain Technology?

Blockchain is a technology that underpins the success of Bitcoin and other digital currencies, but it has uses far beyond finance. Learn how blockchain works and why it is proving disruptive to other areas of IT.

 

Author Comment

by:aksealife
ID: 35112310
Setting up a new user was my alternative, I will go with that based on your second opinion.  Thanks!
0
 
LVL 85
ID: 35112797
The solution to this was "you can't do that", which is an acceptable answer. In other words, you can't determine the password based solely on the DSN or the connection string - you'd have to know this in order to use either. My comment of "At some point you're going to HAVE to know the password" would seem to be a clear indication of that.

I'm sorry that your original question wasn't answered, but unfortunately there IS no answer - it can't be done legally (you could hack the password, I'm sure, but obviously you don't want to do that).

0
 

Author Comment

by:aksealife
ID: 35113137
Sorry, you are correct - "Can't be done" IS an answer.  I hadn't thought of it that way...
0
 
LVL 85
ID: 35115655
Please review this, based on the last comments from myself and the author. It would seem that my answer here: http:#a35111645 is the solution.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question