Can you hide web service ASMX calls from pack sniffers?

我怕爱的太早我们不能终老 提交于 2019-12-13 06:44:45

问题


I am new to web services so I created a web service to replace my current in-app DB transactions. I wanted things to be safer so that is why I went this way.

When using a free packet sniffer, it instantly grabs my web service ASMX call. The problem with this is that using a program such as fiddler they can easily see the data going back and forth and even worse set up a auto responder.

Is there a way to hide the calls being sent to the web service to hide from packet sniffers? Or at least make it more difficult to see the calls?


回答1:


Expose it over a secured channel (such as SSL) only for transport level security.

Alternatively, you may choose to implement WS-Security to validate the identity of the callers, sign the payload or encrypt the payload (partially or fully); or any combination of the above.

Here is an article that talks about this in the context of ASP.NET: http://msdn.microsoft.com/en-us/magazine/cc188947.aspx



来源:https://stackoverflow.com/questions/10680403/can-you-hide-web-service-asmx-calls-from-pack-sniffers

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!