[英]How to use WS-Security in C#?
How to create a web service in C# that uses WS-Security for encryption and signatures for both sides (requests and responses)? 如何在C#中创建使用WS-Security进行双方加密和签名(请求和响应)的Web服务?
Client and server will use certificates. 客户端和服务器将使用证书。
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 . 不知道您使用的是哪个版本的框架,但是如果它是.NET 2.0(不使用WCF),请签出Web Service Extensions 3.0 。
That will allow you to implement the WS-Security standards in .NET 2.0 Web Services. 这样,您就可以在.NET 2.0 Web服务中实现WS-Security标准。
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. 而且,如果您使用的是WCF,请查看本文,以获取有关如何使用WS-Security标准保护服务的一些想法。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.