Link to home
Start Free TrialLog in
Avatar of JElster
JElsterFlag for United States of America

asked on

Secure a .Net WCF Web Service for single windows user

Hi.
I have a basic web service. I only want a single windows user named 'WebUser' to have access to the service. How do I do this. I have windows auth on in IIS and anon off.
What do I need to do in the web.config and IIS.
thx
ASKER CERTIFIED SOLUTION
Avatar of Rainer Jeschor
Rainer Jeschor
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of JElster

ASKER

This is what I get
"The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Negotiate,NTLM'."}

Any ideas... If I access the service via the browser and enter the windows credentials it works.
In my code I'm adding

client.ClientCredentials.username.username =  
etc

thx