When setting up security on SQL Server 2005 / 2008. What is the more secure option?
- Windows Authentication Mode Only
- Mixed Authentication
Does it matter if the server will be accessed by many desktop clients (thick clients) or if a handful of web servers will be accessing it?
Edit
And why is it more secure? Using Windows Authentication does mean we can avoid putting the connection string in the configuration file which is a plus.
Windows Authentication also allows us to control who gets access based on their NT credentials, which I would think is ideal when your clients connect directly to the server.
One thing I always wonder however, is how useful NT authentication is when all clients go through a proxy such as web service.
Windows authentication is considered more secure. Here's why:
With respect to where you have a single account from a web service, you still have all the same advantages that I've listed above.
Windows Authentication is more secure primarily because the username and password are not passed in the connection string. Data Source=myServerAddress;Initial Catalog=myDataBase;Integrated Security=SSPI;
As opposed to Data Source=myServerAddress;Initial Catalog=myDataBase;User Id=myUsername;Password=myPassword;
More secure is Windows Authentication Mode Only assuming you have good network security in general.
Could you give a little more detail on your current setup and needs?
Basically, Windows authentication is the recommended authentication. It is secure by theory, that is if you have a good network security already in place.