views:

96

answers:

2

Hi,

I have a winform application calling web services hosted in IIS, by default, the client app will use Kerberose for authentication to IIS, and it failed for some reasons。 But the same app works fine at another PC(with different user login), and I found it is using NTLM by checking the IIS server event log.

is there anyway we can change the client app(winform) authentication type?

Thanks in advance

A: 

Have u tried hosting the web services with Windows authentication? Then the consuming application must also use the same authentication to access the web service.

nitroxn
+1  A: 

As per the HttpWebRequest.Credentials documentation, to restrict the request authentication to particular methods only, you need to create a new instance of the CredentialCache class, bind your credentials to the desired authentication methods and set it to the Credentials property.

Franci Penov