Is it a bad practice to use Integrated Security=True on a production server in ASP.NET?
Is it a bad practice to use Integrated Security=True on a production server in
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Nope – perfectly safe*
All you are doing is saying that you are going to use the credentials of (usually) the Windows user that the process is running under in order to authenticate with SQL Server (as opposed to supplying a username and password).
In fact in general using integrated security is considered more secure.
(*) Of course it always depends on your exact situation, but in the general case yes its fine.