ASP.NET

Windows Authentication with IIS

  • Create Application Pool with your desired Windows Username as Credentials
  • Under Authentication, disable Anonymous Auth and enable Windows Auth
  • Replace the Username and Password in your connection string with Integrated Security:
Server=server;Database=database;Integrated Security=SSPI;