How to use WS-Security in C#?

后端 未结 2 778
予麋鹿
予麋鹿 2021-01-03 16:35

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 certificate

2条回答
  •  借酒劲吻你
    2021-01-03 17:23

    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.

提交回复
热议问题