ASP.NET website force different windows authenticated user

  • Hi All,

    We are deploying website by using windows authenticated user. It is default using 'NT AUTHORITY\NETWORK SERVICE'. Not sure, how I can push to use other windows user ex: computername\user1.

    <add name="Conn_Name"

    connectionString="data source=localhost\SQLEXPRESS;

    initial catalog=testdb;Integrated Security=SSPI;"

    providerName="System.Data.SqlClient" />

    Login failed for user 'NT AUTHORITY\NETWORK SERVICE'

    When I create 'NT AUTHORITY\NETWORK SERVICE' login with right permission, it is working, will it have any security vulnerabilities.

     

    • This topic was modified 2 months ago by  Raja mssql.
  • Generally this all starts from the IIS side, what credentials are the app pools running as?

  • Thank you. I have fixed it by changing IIS application pool identity.

     

     

    • This reply was modified 2 months ago by  Raja mssql.
  • This was removed by the editor as SPAM

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply