Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
| Search | Today's Posts | Mark Forums Read
.NET Web Services Discussions 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 Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 2nd, 2009, 09:14 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Copenhagen, , Denmark.
Posts: 440
Thanks: 0
Thanked 0 Times in 0 Posts
Default WCF Service and SQL Server Authentication

Hello Folks.

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).




Similar Threads
Thread Thread Starter Forum Replies Last Post
call WCF Service using JQuery but without using AJAX informit BOOK: Professional WCF Programming: .NET Dev with Windows Communication Found ISBN: 9780470089842 0 February 23rd, 2009 01:33 AM
WCF service issue geoscaria BOOK: Professional WCF Programming: .NET Dev with Windows Communication Found ISBN: 9780470089842 0 August 12th, 2008 05:44 AM
WCF endpoint error when wrapping WCF service with jdawg1979 Visual Studio 2008 0 July 8th, 2008 11:56 AM
Secure SQL Server authentication sal ASP.NET 1.x and 2.0 Application Design 3 October 17th, 2004 04:02 PM
forms authentication with sql server 2000 Lee8mm ASP.NET 1.0 and 1.1 Professional 0 September 26th, 2003 08:58 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.