Questions tagged [wcf-security]

Questions related to the authentication and authorization services for Windows Communication Foundation (WCF) applications

Windows Communication Foundation is Microsoft's implementation of the WS-* web service specifications. Its security functionality mainly deals with authentication, authorization and secure over-the-wire transmission of user credentials.

When setting up WCF Security for an application, the following parameters need to be configured:

  • The type of credential required, e.g. NTLM, plaintext, or certificate authentication
  • The security mode: transport mode (e.g. SSL), message mode (SOAP message security), or a combination of both
  • Which endpoint(s) are protected

Once a client successfully connects to an endpoint protected with WCF Security, the server application can examine the security context to determine the identity of the client and to determine its authorizations (which need to be configured separately).

1285 questions
0
votes
1 answer

User authentication based on basicHttpBinding without certificate

I am trying to set up a web service which is to have a username and password in order to access the service. I am using this link as a guide http://www.codeproject.com/Articles/642997/Generate-username-authentication-based-on-basicHtt I've hit an…
Computer
  • 2,149
  • 7
  • 34
  • 71
0
votes
3 answers

WCF security with AD functional groups

I have a WCF service running as a Windows service on intranet and I need to check that users accessing the service belong to certain AD functional groups. That is quite straightforward. I can call a method decorated with [OperationContract] that…
trendl
  • 1,139
  • 1
  • 10
  • 17
0
votes
1 answer

WCF security issue on client side

I am trying to consume exsting WCF service . I get error - The HTTP request is unauthorized with client authentication scheme 'Ntlm'. The authentication header received from the server was: 'NTLM…
user2523109
  • 83
  • 1
  • 5
0
votes
2 answers

Self Hosted WCF SSL

Just a quickie. I am not sure how to approach securing a self hosted WCF service with an SSL certificate. When buying an SSL certificate, I need to do a certificate request based on the FQDN. Using a self hosted WCF service, How do I generate a…
Louis van Tonder
  • 3,664
  • 3
  • 31
  • 62
0
votes
1 answer

Wcf message security with Digital Certificates

We have a WCF service hosted on server for generating bills, and our website is hosted on other server and acting as client. We need to protect this WCF service by Digital Certificate, we want to restrict web service only between these two…
0
votes
1 answer

How to set a method with class as a parameter in WCF service?

I am trying to create a method with class as a parameter. But it's throwing error. After some search I found the implementation of QueryStringConverter. I am trying to do it but I didn't have much knowledge in it. In my service class, the method is…
RajeshKannan
  • 894
  • 2
  • 16
  • 32
0
votes
0 answers

How To Change The Binding of a WCF Service

I have a very simple (see any getting started sample online) wcf service library. And i can run it via the WCF Test Client exe on localhost. But when accessing it via another client tool, like soapUI, i get errors. I believe the errors are related…
glutz
  • 1,889
  • 7
  • 29
  • 44
0
votes
2 answers

Encrypt/Decrypt Soap Body In WCF Client

I have a WCF service hosted in IIS. The service is mandated to be basicHttpBinding. There is IBM DataPower in front of the WCF service that exposes it to outside world. I am writing a WCF client app (inheriting from ClientBase) that has to encrypt…
muruge
  • 4,083
  • 3
  • 38
  • 45
0
votes
2 answers

How to avoid the service certificate?

"The service certificate is not provided. Specify a service certificate in ServiceCredentials." is what I see when I point my browser to the svc file address as you can see below, my serviceCredentials section is commented (it's just an example from…
Tar
  • 8,529
  • 9
  • 56
  • 127
0
votes
0 answers

Not able to call WCF from Windows 2008 server

I am using WCF service hosted on IIS and it works fine from Win7 machine, but when called from Windows 2008 it is throwing the exception The caller was not authenticated by the service I checked the event log and got the following message Event…
Nabin
  • 81
  • 1
  • 1
  • 11
0
votes
1 answer

Consume a web service using WSE3.0 or WCF?

I have to use a number of functions provided by a government web service. I have no idea what they used to implement this service. Could have been COBOL for all I know. My problem is that I've been trying to access this service using the security…
eric_the_animal
  • 432
  • 9
  • 19
0
votes
0 answers

WCF Service Consume issue

I have a windows service that hosts a WCF service. I have a client that consumes the service. The client does not recognize the ServiceReference1 even though I added it as a Service Reference. I have been trying to fix this all day - I have read the…
user1438082
  • 2,740
  • 10
  • 48
  • 82
0
votes
1 answer

WCF Security Transport Security Questions

I'm writing a set of WCF services that rely on transport security with Windows Authentication using the trusted subsystem model. However, I want to perform authorization based on the original client user that initiated the request (e.g. a user from…
0
votes
1 answer

WCF security with load balancer

We need to create a WCF service (.NET 4.0) that will be consumed by a client outside of our organization. The case is that we have two servers that are behind a load balancer which terminates the SSL. This is where it gets confusing for me. How we…
0
votes
1 answer

Self-Hosted WCF SSL on Win XP Fails

Trying to configure an SSL endpoint for a self-hosted WCF service on Windows XP. My configuration works fine on Windows 7; but Windows XP, using the same certificate, doesn't respond. I get a server not found error. When I run netstat -an, I can see…
Ayo I
  • 7,722
  • 5
  • 30
  • 40