Credentials and authentication

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Tim Mavers (webview_at_hotmail.com)
Date: 12/03/04


Date: Fri, 3 Dec 2004 08:36:03 -0600

I am trying to figure out a way of including the crendentials of the user
that the ASP worker process is using (impersonating) in an HTTP request to
my web site.

Basically I have anonymous access disabled (using just basic
authentication). In my asp.net code I make a web request to my own site
asking for some data (sort of like a web service request). The problem is
that the request fails when anonymous access is disabled.

The only user that has access to this site is the user that the ASP.NET WP
is running as (which I configured in IIS Service Manager). Is there a way
to programatically grab the credentials of this user and pass it along in my
request?

Thanks,



Relevant Pages

  • Re: Get certificates programatically
    ... anonymous access to certsrv request interface through DCOMCNFG plus give ... anonymous enroll rights through CA snapin. ...
    (microsoft.public.platformsdk.security)
  • Re: Impersonate() & ASPNET worker threads. Bug or undocumented feature?
    ... > impersonation on in web.config. ... > In my oppinion ASPNET worker process even in one request scope switches ... > The anonymous access for application should be forbidden, ... that ASPNET worker might switch threads while executing ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Allow anon to add but not view
    ... If you need to get more details than the normal "request ... > own', anonymous access gets turned off for the list entirely, when you go ... > back to the 'Change Anonymous access' settings, ... > actually considered the same person, so any anon user would see posts from ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: How to use the credentials of the logged in user?
    ... and do not allow Anonymous access. ... request the web page, ASP.NET will run with his user account. ... reset password button it errors out because of: ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Simple IIS-ASP.NET security question
    ... each request to a web page was ran as IUSR_MACHINENAME if ... the anonymous access is ebanled, no matter what the configuration in ...
    (microsoft.public.dotnet.framework.aspnet.security)