What is the difference between Integrated Security = True and Integrated Security = SSPI?

I have two apps that use Integrated Security. One assigns Integrated Security = true in the connection string, and the other sets Integrated Security = SSPI.

What is the difference between SSPI and true in the context of Integrated Security?

9 s
9

Integrated Security=true; doesn’t work in all SQL providers, it throws an exception when used with the OleDb provider.

So basically Integrated Security=SSPI; is preferred since works with both SQLClient & OleDB provider.

Here’s the full set of syntaxes according to MSDN – Connection String Syntax (ADO.NET)

![Windows Auth Syntax

Leave a Comment