Sri Lanka .NET Forum
a mission and a vision with .NET

Windows integrated authentication

rated by 0 users
This post has 1 Reply | 2 Followers

Top 200 Contributor
Posts 33

Hi All,

 Can any one tell

whats the differnce between Windows integrated authenticaton ?

can we use windows integrated authentication connection string on .net application when login remotely?

In the above case whats the connection string? Can anybody send me a sample.

Thanks

CHI
Top 25 Contributor
Posts 278

Connecting Through Windows Authentication

When a user connects through a Windows user account, SQL Server validates the account name and password using the Windows principal token in the operating system. This means that the user identity is confirmed by Windows. SQL Server does not ask for the password, and does not perform the identity validation. Windows Authentication is the default authentication mode, and is much more secure than SQL Server Authentication. Windows Authentication uses Kerberos security protocol, provides password policy enforcement with regard to complexity validation for strong passwords, provides support for account lockout, and supports password expiration. A connection made using Windows Authentication is sometimes called a trusted connection, because SQL Server trusts the credentials provided by Windows.

http://msdn.microsoft.com/en-us/library/ms144284.aspx

 

Conection String

 Data Source=myServerAddress;Initial Catalog=myDataBase;Integrated Security=SSPI;

http://dineshasanka.spaces.live.com
Page 1 of 1 (2 items) | RSS
This space is available for you to advertise. Please contact admin@dotnetforum.lk for more details on how to advertise on the .NET Forum.
Copyright © Sri Lanka .NET Forum. All Rights Reserved. Terms of Use | Privacy Policy