Hi,
Why we write integrated security=true in connection string.
Thanks, in advance
Connection string in asp.net
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Priya LingeRank #785 · 2.9K reputationPosted Sep 7, 2011, 8:40 PM EDT
Integrated Security
-or-
Trusted_Connection
By default Integrated Security is false.
When false, User ID and Password are specified in the connection.
When true, the current Windows account credentials are used for authentication.
Recognized values are true, false, yes, no, and sspi (strongly recommended),
which is equivalent to true.
If User ID and Password are specified and Integrated Security is
set to true, the User ID and Password will be ignored and Integrated Security will be used.
Hope this will help you.
Thanks.