My project uses a user connecting from a client to a web service, and then the web service to SQL Server. Web Services and SQL Server are on different machines. Due to security requirements, we cannot use mixed mode in SQL Server, only Windows authentication.
We are faced with the โdouble breakโ problem between the web service and SQL Server. We use NTLM authentication and do not want to configure Kerberos due to overhead and learning curve. We also do not want the web service and SQL Server to be on the same computer.
From what I understand, all of our requirements make this scenario impossible to solve. However, the developer came up with this proposal:
1) Send the Windows username and password from the client to the web service under SSL encryption
2) Somehow to convert the Windows username and password into a security token that can be authenticated by SQL Server
To make an analogy, it looks like we will be doing RUNAS in C # code when connecting to SQL Server. There will be no authentication for the web service, only through SQL Server.
My questions:
1) Is the proposed solution possible?
2) If so, how to do it?
3) Any web resources that will help me understand how this can be done?
source share