Solved

sql server connection - windows or sql server authentication

Posted on 2009-07-12
2
215 Views
Last Modified: 2012-05-07
I am trying to work out whether I should use windows or sql server authentication.

I have an access front end application that is connecting to sql server via odbc.

sql server authentication may be the easiest as when new windows users are created, they will not need to be setup in sql server. However, I am concerned abot having a hard coded userid and password.

What would other developers recommend - sql or windows authentication ?
0
Comment
Question by:dkmarsh
2 Comments
 
LVL 57

Accepted Solution

by:
Raja Jegan R earned 500 total points
ID: 24837275
>> sql server authentication may be the easiest as when new windows users are created, they will not need to be setup in sql server. However, I am concerned abot having a hard coded userid and password.

If you have new users coming in, then its better to use a SQL user login for your application.
Kindly make sure that the particular user is not sa and grant only the privileges required for that particular user.

>> What would other developers recommend - sql or windows authentication ?

If all the users for that particular application are part of your domain, then windows authentication is preferred, otherwise SQL authentication is preferred in this scenario.
0
 
LVL 15

Expert Comment

by:rob_farley
ID: 24837652
I prefer Windows Authentication. Grant access to an Active Directory group, and then make sure that new users get put into that group.

Then you don't have a hard-coded password, and you can easily control access through AD accounts.

Rob
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

829 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