从Windows和Web应用程序(ASP.NET)安全地调用WCF服务 [英] Call WCF Service from both windows and web application(ASP.NET) Securly

查看:71
本文介绍了从Windows和Web应用程序(ASP.NET)安全地调用WCF服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,


我需要从Windows应用程序和Asp.net Web应用程序访问WCF服务.
在asp.net应用程序中,我需要从JQuery访问WCF服务.但这会导致安全漏洞(所有用户都可以看到javascript文件形式,他们可以查看传递的服务URL和参数类型等).如何解决这个问题?

Hi Friends,


I need to access a WCF Service from windows application and Asp.net web appication.
In asp.net application i need access WCF Service from JQuery. But it will leads security leak(All user can see javascript files form that they can view Service url and parameter type passed etc) How to over come this?

推荐答案

您"您必须调用其他服务,然后再调用您要隐藏的服务.您是对的,他们可以看到JS.您可以将其缩小甚至混淆JS,这使得查找要隐藏的信息变得更加困难.
You''ll have to call a different service that then calls the service you are trying to hide. You''re right, they can see the JS. You can minify it or even obfuscate the JS which makes it much harder to find the information you are trying to hide.


这篇关于从Windows和Web应用程序(ASP.NET)安全地调用WCF服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆