473,394 Members | 1,781 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Hide ODBC linked table connection information (username and password specifically)

Hi,

Is there a way to hide the connection information of linked SQL Server
tables from users? It's easy to open a system table and find the
connection info, and if the username and password are saved with this
info, anyone could potentially access this information.
Much thanks,
Oren

Nov 13 '05 #1
3 7071
On 20 Jan 2005 17:00:40 -0800, "Oren" <or**@gdblegal.com> wrote:
Hi,

Is there a way to hide the connection information of linked SQL Server
tables from users? It's easy to open a system table and find the
connection info, and if the username and password are saved with this
info, anyone could potentially access this information.
Much thanks,
Oren

Hi
My ODBC connect strings don't have any user or password information in
them. Though thinking about it I am using db2 at present which takes
authorisation from the network user account. However, can't you make
the connection explicitly in code before calling any of the tables?
David
Nov 13 '05 #2
Oren wrote:
Hi,

Is there a way to hide the connection information of linked SQL Server
tables from users? It's easy to open a system table and find the
connection info, and if the username and password are saved with this
info, anyone could potentially access this information.
Much thanks,
Oren


Oren, if you have set up an ODBC data source (Control Panels,
ADministrative Tasks) using WIndows authentication to connect to the
source (SQL Server database, f'rinstance), then all you need to do to
link to the ODBC source is to choose ODBC Driver from teh drop-down in
your Link Tables window, and select the data source you set up.

IIRC that does not show the userID or password when you mouseover the
linked table icon in teh database window.

--
Terrell Miller
mi******@bellsouth.net

"Every gardener knows nature's random cruelty"
-Paul Simon RE: George Harrison
Nov 13 '05 #3
Terrell,

Thanks for your reply, but I'm not sure if I get it.
I did create an ODBC data source which uses Windows authentication.
If I don't store the username & password with the linked table, then
the user is prompted for them the first time one of the tables is
accessed.
If they are stored with the table, I've noticed that in some systems
the connection string shows up when hovering; in others it doesn't. But
in both types of systems, a simple query like:

SELECT * FROM MSysObjects

gives you all of the information about the database objects, including
linked table connection strings (revealing the uname/pswd).

Is there something that I'm missing here?

Thanks,
Oren

Terrell Miller wrote:

Oren, if you have set up an ODBC data source (Control Panels,
ADministrative Tasks) using WIndows authentication to connect to the
source (SQL Server database, f'rinstance), then all you need to do to link to the ODBC source is to choose ODBC Driver from teh drop-down in your Link Tables window, and select the data source you set up.

IIRC that does not show the userID or password when you mouseover the linked table icon in teh database window.

--
Terrell Miller
mi******@bellsouth.net

"Every gardener knows nature's random cruelty"
-Paul Simon RE: George Harrison


Nov 13 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Andreas Lauffer | last post by:
I changed from Access97 to AccessXP and I have immense performance problems. Details: - Access XP MDB with Jet 4.0 ( no ADP-Project ) - Linked Tables to SQL-Server 2000 over ODBC I used...
1
by: ishabir | last post by:
I have quite a few Oracle linked tables into my Access(97) database. But when you want to open a table get a pop window to enter Username, Password and Server. What I am trying to do is put some...
2
by: Tina Robichaux | last post by:
I have found info on this problem at MS, but they say this problem does not occur with SQL 2K and MDAC 2.6 SP2, yet I am still experiencing it: I have a SQL user specifically created to SELECT...
9
by: mcbill20 | last post by:
Hello all. I just installed Oracle 10g developer tools on a machine running XP Pro and Office XP. Before this I had just the Oracle 9 client installed. I the previous configuration, I was able to...
1
by: Zlatko Matić | last post by:
Hi! In MS Access/PostgreSQL combination I have login form. After user writes all neccessary inputs and push the button, a startup procedure creates DSN-less connection string, receates all linked...
4
by: Jean | last post by:
Hi everyone, I was hoping somebody could assist me in this issue. I am quite a newbie to ODBC connections and was struggling to search for related topics. Here is my situation: I have a...
5
by: Zlatko Matić | last post by:
Hello. In ODBC Data Source Administrator, there is a tab "Connection Pooling" and option "PerfMon" Enable/Disable. Could someone explain the meaning of the option and how it reflects to Access...
1
by: RLN | last post by:
RE: Access 2003 using WinXP SP2 Problem: When I start up my app I double click either one of my two Oracle tables in the table list, it asks for an id and pass. I need them to be linked at...
0
by: jrhowcroft | last post by:
I have a number of databases in MS Access 97. Some tables in these databases are linked to ODBC tables in Oracle9/10. We would like to change the user name and password on the Oracle tables so each...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.