locked
I want to use widows authentication RRS feed

  • Question

  • User-800701289 posted
    I want to configure windows authentication in asp.net application and once authenticate same authentication needs to be passed to the SQL server which that application will be using. All this should happen for individual users hence always the authentication but be done for the user loging in for both asp.net and SQL server detailed steps much appreciated.
    Thursday, November 26, 2015 6:43 PM

Answers

  • User-166373564 posted

    Hi Vishal,

    Windows authentication is the recommended way to connect to SQL Server because you avoid storing credentials in connection strings and you avoid passing passwords over the network to your database server. Here is the reference for you, see: Connect to SQL Server Using SQL Authentication in ASP.NET 2.

    With regards,

    Angie

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, November 30, 2015 8:36 AM