Secure WCF service on Azure

a 夏天 提交于 2020-01-25 11:42:21

问题


We have a WCF service running in Azure and have client application (WPF) consuming the servcie. Can anybody point me in the right direction on how I can secure the WCF service so that only my client application can access the public methods or applications allowed can access the public methods


回答1:


there are lots of possibilities depending on binding you are using, an approach could be to use Message Security with X509 certification in WSHtttpBinding you can read about it's example here

  • Disable Mex (Api information)
  • Use HTTPS to prevent man in middle attacks

these are general ideas based on your environment and constraints it can be different.



来源:https://stackoverflow.com/questions/6352192/secure-wcf-service-on-azure

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