Last post May 29, 2013 04:55 AM by Illeris
May 28, 2013 06:36 AM|Brij1|LINK
I have a asmx web services that is deployed on IIS 5.1. I have enabled Aninymous access and provided an account used for Anonymous access. I also checked Integrated windows authentication.
When I consume this web service from a .NET client then I require to set UseDefaultCredentials as true to get it working else it throws Acccess denied error.
I dont want to set this property before consuming this service. What kind of configuration I require.
Thanks in advance.
May 29, 2013 01:50 AM|luckyforu2006|LINK
post some code it may help.
May 29, 2013 04:55 AM|Illeris|LINK
There are many aspects of web service security. See http://stackoverflow.com/questions/4783658/asmx-web-service-to-allow-anonymous-access for an example on
how to solve it:
Furthermore, I'd avoid using asmx services in favor of WCF services. Much more security options are available in WCF.