Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
Password Reminder
Register
| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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).
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 11:00 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.