Re: Code runs until Basic Authentication or Digest Authentication is r

From: Ken Schaefer (kenREMOVE_at_THISadOpenStatic.com)
Date: 10/26/05


Date: Wed, 26 Oct 2005 12:28:44 +1000

Supplying a username/password in web.config does not mean that the user
doesn't supply credentials.

Questions that you need to answer:
a) Do you want the user to have to authenticate (i.e. supply Windows
credentials)?
b) Do you have your authentication mode set to Windows in your web.config
file?
c) Are you trying to have ASP.NET impersonate the supplied user credentials?
Or do you want ASP.NET to run under a fixed user identity?

Cheers
Ken

"BMeyer" <bmeyer@community.nospam> wrote in message
news:5B162BE5-1935-4FF3-8900-A430A9CB68A0@microsoft.com...
: We have Windows 2003 server running IIS 6.0.
:
: Have an application that creates ASPX session variables based on values
: found in ASP session cookie.
:
: Works great if anyonymous is allowed. Once Basic or Digest Auth is
: required, we get 401 errors. We've even included a default user account
: username,pwd and domain in our web.config file to try and pass the
: credentials manually. Still no luck.
:
: Need to open a case on this one via MSDN so you can try to run our code



Relevant Pages

  • Re: Authentication
    ... sends the credentials of the currently logged on user. ... What domain the webserver is in is largely irrelevant. ... IIS looks in local user accounts database. ... Nobody is supplying anything and it works fine on 99% of the clients. ...
    (microsoft.public.inetserver.iis)
  • Re: Code runs until Basic Authentication or Digest Authentication is r
    ... the client always need to supply the ... | Subject: Re: Code runs until Basic Authentication or Digest ... | Supplying a username/password in web.config does not mean that the user ... | doesn't supply credentials. ...
    (microsoft.public.inetserver.iis.security)
  • Cached Password Issue???
    ... They are supplying the correct credentials ... logon, which they get prompted to do, however they still ... shares if I supply the same credentials however. ... Windows cannot query for the list of Group Policy ...
    (microsoft.public.windows.server.sbs)
  • Re: XP Domains
    ... >>It can access individual resources on the domain, ... > supplying the ... > Could you tell me how to supply credentials please Bob? ...
    (microsoft.public.windowsxp.network_web)
  • RE: synchronizing domain user Local cached credentials with domain
    ... Would you mind emailing me your script? ... windows taskbar bubble which would indicate that their password needs to be ... locally cached credentials are out of sync with domain credentials. ...
    (microsoft.public.windowsxp.security_admin)