Re: Code runs until Basic Authentication or Digest Authentication is r
From: Ken Schaefer (kenREMOVE_at_THISadOpenStatic.com)
Date: 10/26/05
- Next message: Ken Schaefer: "Re: Changing PAssword"
- Previous message: Ken Schaefer: "Re: Certsrv Page not authenticating with IE"
- Next in thread: Steven Cheng[MSFT]: "Re: Code runs until Basic Authentication or Digest Authentication is r"
- Reply: Steven Cheng[MSFT]: "Re: Code runs until Basic Authentication or Digest Authentication is r"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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
- Next message: Ken Schaefer: "Re: Changing PAssword"
- Previous message: Ken Schaefer: "Re: Certsrv Page not authenticating with IE"
- Next in thread: Steven Cheng[MSFT]: "Re: Code runs until Basic Authentication or Digest Authentication is r"
- Reply: Steven Cheng[MSFT]: "Re: Code runs until Basic Authentication or Digest Authentication is r"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|