开发者

Securing a web service, asp.net mvc 3, encryption

开发者 https://www.devze.com 2023-04-03 23:14 出处:网络
I\'m creating a web service (asmx) using asp.net mvc 3 and it has开发者_如何学C a few web methods that send and receive data. I want to encrypt this data as it goes in and out. Does anyone know of any

I'm creating a web service (asmx) using asp.net mvc 3 and it has开发者_如何学C a few web methods that send and receive data. I want to encrypt this data as it goes in and out. Does anyone know of any references that might help me out? Or have a solution? I'm quite new to this, although I've done some reading I haven't found anything on the best way to protect information going in and out of the server.


I think the easiest thing to do is to make your web service endpoints secure using SSL certificate.

See this MSDN article for more info

Also, I would recommend using WCF as it will give you more configuration options (a lot more!) but is also widely used. See this article for more info about using SSL with WCF

0

精彩评论

暂无评论...
验证码 换一张
取 消