如何通过使用用户名和密码在身份验证后使Web服务可用 [英] how to make webservice useable after authentication by use username and password

查看:60
本文介绍了如何通过使用用户名和密码在身份验证后使Web服务可用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有一个Web服务,我想限制该Web服务.意味着呼叫者使用用户名和密码来调用Web服务.

我怎么做任何建议?

谢谢

Hi ,

i have a web service and i want to restrict the web service.means caller use username and password to call web service .

how can i do it any suggestion?

Thanks

推荐答案

我从下面的链接中得到了解决方法

使用自定义SOAP标头对.NET Web服务进行身份验证 [ ^ ]
i have got solution from below link

Authenticate .NET Web Service with Custom SOAP Header[^]


Hi ,
go to your IIS Go to Authentication and enable windows authentication , Eright click on your web service and Edit permission choose security tab and ADD ISS_USERS
and dont forget to enable directory browsing .
Hope its help .


这篇关于如何通过使用用户名和密码在身份验证后使Web服务可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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