c# - Wcf security when passing through to a webservice (.asmx) -
In the scenario we have a WCF service that consumes methods from the internal web service that we have created.
The WCF service is very light.
We want to secure this WCF service so that only a few customers can consume it (this is currently sitting on a public facing server).
We do not have the ability to establish certificates on this public facing server, so we are thinking of the best securit model to use it.
Ideally it is thought that it can be configured in any way so that the client can use the certificate that the WCF service only "passes" on the internal web service because it is on a server Which we control and certification certification occurs.
Is it possible ..? If there are no other security options which we can work ..?
Thanks in advance.
I think you have to expand your custom security model.
The main issue of resolving is how you share a "secret key" between you and the client. You can not install the certificate, so you have to store the key in another location, eg . Web.config inside the section ... and distribute it to the client securely.
You can use this key to sign or encrypt messages; You can also use a standard schema where the password is encrypted.
Check if you can use some WS-security features too !!!
Also check the binding certification and security schema offered by Net Framework.
Comments
Post a Comment