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

which specification must consider for implementing WCF security over internet

I want to know some main specification must be considered when i want to implement WCFsecruity over internet.what is main specification that i should consider?
Pejman
  • 57
  • 6
0
votes
1 answer

Authenticating a file stream from android to wcf

I have an app that makes request to a wcf service. Usually I authenticate all of the requests using a hash value that is sent in the body of the request and then authenticated on the server. All most all of the request are sent via json and it is…
KBusc
  • 663
  • 8
  • 24
0
votes
1 answer

can we use both Message Security and http security to providing security for both asmx client and WCF client?

we cannot use Message Security for asmx client, so i want to know there is a way to use both Message Security and http security to providing security for both asmx client and WCF client??
Pejman
  • 57
  • 6
0
votes
0 answers

What is meant by the term " intermediate application" in wcf service

What is meant by the term " intermediate application" in this sentence : Use transport security when you are sending a message directly from your application to a WCF service and the message will not be routed through intermediate systems.
Pejman
  • 57
  • 6
0
votes
1 answer

How to enable Security logging in WCF Service using auditLogLocation="Security"

I am working on WCF Logging module. I want to enable all Security logging with WCF Service. like there are three options in auditLogLocation="Application | Security | Default. I have used Application but I want to enable Security option. I read this…
Ravi
  • 853
  • 8
  • 17
0
votes
3 answers

FoxPro oledb driver wont allow writes accross servers (WCF)

Ok we have a WCF service running on one machine on IIS6 + server2003 r2 this service needs to write and read to/from a fox pro database that is located on another machine on the network - windows 2003 (probably r2). After playing with permissions…
John Nicholas
  • 4,778
  • 4
  • 31
  • 50
0
votes
0 answers

passing object and stream to rest wcf

Here, when I am trying to pass both object and stream to wcf operation. I am getting "bad request 400" exception. If I pass only stream it is working fine with no issues and I am able to get output as stream. Any suggestions are greatly…
sainath sagar
  • 499
  • 2
  • 10
  • 28
0
votes
1 answer

passing byte array to wcf using soap

Here, when i am trying to send byte array it is giving me bad request error. I have checked with maximum values for all message limits. All are set to maximum value. However i am able to send string values to service method by keeping byte array…
sainath sagar
  • 499
  • 2
  • 10
  • 28
0
votes
1 answer

WCF REST. SSL. "Client certificate is required" error

I have self-hosted WCF REST service. I would like to use SSL and consume service from browser. I used this blog post as initial point. Basically following steps: Create and register certificate makecert.exe -sk RootCA -sky signature -pe -n…
Sharov
  • 458
  • 8
  • 38
0
votes
2 answers

wsHttpBinding, just allow certain accounts to access a service

I have a simple WCF Service hosted on IIS 8 that uses wsHttpBinding. I want to be able to control wich users (domain accounts) have access to the service. How can I do that? Perhaps there are several ways to do this. Can I define the accounts in the…
Pelle
  • 2,755
  • 7
  • 42
  • 49
0
votes
1 answer

Consuming a secure web service from WCF using supplied wsdl

I have been given a wsdl and xsd file from a company partner to access their https service. I have installed the client certificate and can access their API using SoapUI after configuring the security in soapUI. what are the next steps to consume…
user2329438
  • 295
  • 3
  • 6
  • 17
0
votes
1 answer

Unable to call WCF service hosted on azurewebsites.net over HTTPS from Windows Mobile device

I uploaded WCF service to the Azure Web Site in Free web site mode. Now I can connect to my service at https://.azurewebsites.net/MyService.svc using Internet Explorer in Windows Phone device and emulator without any warnings about…
0
votes
2 answers

Web Services only connecting to Trusted Devices

I am on a project that uses web services to communicate with hand held devices (Symbol MC70s running windows mobile 5). We need to make sure that others on the internet can't connect to the web services and start sending info. I have made a…
Vaccano
  • 78,325
  • 149
  • 468
  • 850
0
votes
1 answer

Public Key Error WCF Client

I am working on a WCF service. It is hosted in IIS and secured by SSL. I am using custom biding with Soap11. I have a private key for this service and it is referenced in the web.config file. I have exported the public key from the private key and…
user1636380
  • 79
  • 1
  • 9
0
votes
1 answer

Namespace of IService not found

I'm trying to implement authorization into an existing WCF-service. To do that I following a Microsoft Pattern & practices tutorial. At Step 5, the service class should derive from IService, however my existing service class does not and when I add…
David
  • 1,601
  • 3
  • 22
  • 33