SQL Server - How to manage SQL server Authentication in Access2007

Asked By Amos Sobel
17-Nov-09 10:29 AM
I have an Access 2007 application using an MSSQL 2005 Database and Views. The
SQL 2005 is using SQL Server authentication with a password. The ODBC
connector is using the same password. On each activation of the Access
aplication, I am requested to enter the sa user password (authentication) one
or more times and this have become a hassle.
How do I enter the SQL authentication password into the Access aplication
such that it will enter the sa password whenever nessasary.

your help is very wellcome

Amos Sobel
SQL Server
(1)
Access 2007
(1)
Office
(1)
Report
(1)
BalajiI
(1)
Access2007
(1)
Database
(1)
Attacker
(1)
  Balaji replied to Amos Sobel
18-Nov-09 05:41 AM
Hi Amos,

Are you using User DSN or System DSN. If you are using User DSN try with
system DSN.

Regards, Balaji
  Mary Chipman [MSFT] replied to Amos Sobel
18-Nov-09 12:10 PM
What you are doing -- using the sa login with a password -- is
extremely dangerous. Access caches login information in clear text,
and any attacker who has the sa login and password can take over not
only your SQL Server, but can potentially compromise your entire
network. DSNs are also saved on the local machine in clear text, so
they are a security vulnerability all by themselves. I would urge you
to run the following search and follow the recommendations:
http://www.bing.com/search?q=sql+server+security+best+practices

Here is a paper that will help you understanding how Access and SQL
Server work together:

Optimizing Microsoft Office Access Applications Linked to SQL Server
http://msdn.microsoft.com/en-us/library/bb188204.aspx

--Mary
  Amos Sobel replied to Balaji
19-Nov-09 03:24 PM
Dear Balaji

I did try your advice and canceled my User DSN ODBC entries and made System
DSN ODBC entries instead. The result: Access 2007 does report: ODBC
connection to 'XXX' failed. How do I use System DSN properly?

Amos Sobel
Create New Account
help
computer name access sql server SQL Server Is there a way to determine which workstation is accessing the SQL server? I know in SQL Profile you can see the userid but can you see what actualy workstation is accessing
SQL SERVER SQL SERVER to MS ACCESS. SQL Server Looking for recommendatsion. I need to convert a SQL Server database to a MS Access database. Are there any utilities that will copy everything
SQL CAL Needed for a SQL Server to Access Another SQL Server? SQL Server Sorry for posting multiple groups. I have a SQL job running on SQL server A
MSDE on Windows 2003 R2 box, new DL385G6 - Install Fails during SQL Services SQL Server I have been finding that I am having trouble with the Crystal Reports Server XI installation failing when it is dealing with SQL. So, as a thought and in case there was something wrong with my SQL portion of the isntall. I thought ok, I will try installing the actual MSDE application direct from Microsoft. So, I downloaded the MSDE for SQL 2000 (which is msde2000a.exe), set my switches and off to the races. It quit seconds left to the installation and bombed with the same errors as the Crystal Reports Server install. The error is the same whether I try to install MSDE by itself or
SQL Server Access SQL Server Is it possible to access an SQL server db from a web site when the actual db sits on another server at another