We’ve got a service running as Local system. Should it be possible to use Integrated Security to connect to an SQLExpress instance from this service? It tries to login as “NT AUTHORITY/ANONYMOUS LOGON” and fails to connect.
Connection string is
Data Source=.\SQLExpress;Initial Catalog=Example;Integrated Security=true
What do I need to setup on SQLExpress to handle this?
I would suggest running the service in an account dedicated for that service. THat way you can shape its security, thus limiting the damage if the service is compromised. It also means you know exactly what account to give to SQL Server and you can shape the security in there too.