如何通过使用用户名和密码在身份验证后使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 .