.NET Web ServicesDiscussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the .NET Web Services section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
How do I configure my system to authenticate WCF users on an SQL Server when I do not wish to Impersonate the actual user on the WCF service and use these credentials on the SQL Server? This would require far too much SQL Server management.
The fact is that I am developing a system where users through some WPF user interface can retrieve and modify data in a remote database through a WCF service, but I can't seem to figure out how to configure IIS, web.config, SQL Server etc. to support my requirements. Notice that the IIS and the SQL Server is not on the same machine.
Since the members of the system comes and goes I will not manage the users on the SQL Server directly. These will be managed at the service level. I tried this using Impersonation on the service and it worked fine when the only user is me (since I am created as user in the database). I want to login to the SQL Server through one user account preferably using the Windows Authentication in SQL Server, but I cannot seam to make it work.
So how can I make some WCF request run as a specific Windows user?
Really hope you can and will help,
thanks,
Jacob.
__________________
Danish audio books for download at http://www.lytenbog.dk (Danske lydbøger til download).