Solved

sql server connection - windows or sql server authentication

Posted on 2009-07-12
2
212 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
Comment Utility
>> 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 14

Expert Comment

by:rob_farley
Comment Utility
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

There have been several questions about Large Transaction Log Files in SQL Server 2008, and how to get rid of them when disk space has become critical. This article will explain how to disable full recovery and implement simple recovery that carries…
Naughty Me. While I was changing the database name from DB1 to DB_PROD1 (yep it's not real database name ^v^), I changed the database name and notified my application fellows that I did it. They turn on the application, and everything is working. A …
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

771 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now