How to create a web service in C# that uses WS-Security for encryption and signatures for both sides (requests and responses)?
Client and server will use certificates.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Not sure which version of the framework you’re using, but if it’s .NET 2.0 (not using WCF) check out Web Service Extensions 3.0.
That will allow you to implement the WS-Security standards in .NET 2.0 Web Services.
And if you’re using WCF, take a look at this article to get some ideas on how to secure your services using the WS-Security standards.