Digest authentication problem

From: Javier Duran (jduran@mareigua.com)
Date: 08/22/02


From: "Javier Duran" <jduran@mareigua.com>
Date: Thu, 22 Aug 2002 14:51:13 -0700


I am trying to use a web service using HTTP
Authentication, it works fine if I use Basic or Windows
Authentication (on IIS 5.0), but when I use Digest
authentication I get an HTTP error "401:Access Denied".

I already configured the webservice directory on ISS 5.0
to work with digest authentication.

This is the code I use:

        objService = New webService()
        Dim objCredential As New NetworkCredential
("LOGIN", "PASSWORD")
        Dim objCache As New CredentialCache()

        objCache.Add(new Uri(objService.url), "Digest",
objCredential)
        objService.Credentials = objCache
        objService.PreAuthenticate = true

Anyone has a CLUE?

Thanks in advance,

Javier Duran



Relevant Pages

  • Re: Can I tell if a user came thru a secure site?
    ... There are many ways credentials can be passed / handled within ASP.NET and IIS, so without any knowledge of your previous setup, I can only assume that if things were working fine and a move to a different server broke things, most likely IIS was configured to handle authentication. ... Now since it has been changed, typing in my program's http url directly, gets directly in, no login required. ...
    (microsoft.public.dotnet.security)
  • Re: Digest Authentication on Win2003
    ... Digest Authentication requires that the user accounts are Domain accounts ... please get the free sample chapter from my IIS 6.0 ... authentication requires the IIS server to be a domain controller? ...
    (microsoft.public.inetserver.iis)
  • Re: Digest Authentication on Win2003
    ... Digest Authentication requires that the user accounts are Domain accounts ... please get the free sample chapter from my IIS 6.0 ... authentication requires the IIS server to be a domain controller? ...
    (microsoft.public.inetserver.iis.security)
  • Re: How do I authenticate a UNIX account in IIS 6?
    ... The ASP page requires some kind of HTTP based authentication, ... the script you have on your Unix box uses some kind of HTTP GET ... :> a) Do you want to give the Unix account permissions to the folder? ...
    (microsoft.public.inetserver.iis.security)
  • RE: RPC over HTTPS and basic vs NTLM authentication
    ... I enabled ONLY basic authentication on the RPC ... Outlook will identify if it is running on a fast or slow ... Clear - 'On fast networks, connect using HTTP first, then connect using ...
    (microsoft.public.exchange.connectivity)