开发者

Password protect web service

开发者 https://www.devze.com 2022-12-27 15:49 出处:网络
Is it possible to require user name and password for a web service without changing t开发者_StackOverflowhe code for existing web service?

Is it possible to require user name and password for a web service without changing t开发者_StackOverflowhe code for existing web service?

Adding a DLL and configuration would be OK, but I rather not change the web service.


Use (Windows - Integrated Windows) in IIS this is the only way to apply authentication without changing a single bit of code. Here is the article also contains other options as well.

http://msdn.microsoft.com/en-us/library/w67h0dw7.aspx


Simplest way is to let IIS protect the folder where the web service resides. No code change required.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号