Re: Integrated Authentication

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



>
>The error was simple to solve, but what suprised me was the userid that was
>used. I was logged in as Administrator but the error revealed that the userid
>ASPNET was actually being passed to the DB.

The connection is established from the ASP.NET worker process, which
runs under the ASPNET account. If you turn on impersonation in
web.config, then the runtime can establish a connection with the
client's identity that comes in from IE (your Administrator account).

The catch would be if you ever move the app into a distributed
envionment, impersonation breaks. Credentials can only make a single
hop across the network unless you move to 'the next level' of
credential forwarding - which is delegation.

Some resources:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/paght000023.asp
http://odetocode.com/Blogs/scott/archive/2005/02/24/1053.aspx

--
Scott
http://www.OdeToCode.com/blogs/scott/
.



Relevant Pages

  • Re: IIS6.0 Error 70 Permission denied
    ... You do not need a <userid>, access to administrators group, etc to do this. ... Configure the virtual directory to enable Directory Browsing ... Please contact the Web server's administrator if the problem persists. ...
    (microsoft.public.inetserver.iis.security)
  • Re: error 80070005 after apply Apr 2010 fixes
    ... I have only one userid no hidden id. ... I AM the administrator. ... I also found comodo antivirus equal to kaspersky in one ... There are quite a few malware detection/removal/repair/recovery tools ...
    (microsoft.public.windowsupdate)
  • Re: Remove "Log On To" In RDP Login
    ... You can set the default logon parameters there (only if you are a local administrator). ... I've never tried leaving the userid blank, ... there is an annoying "feature" of TweakUI that could be useful...... ... it will continue to show the domain as the default when booted, even if a user changes it to a local logon. ...
    (microsoft.public.windows.terminal_services)
  • Inheireted computer
    ... I inheireted a computer with W2k pRO. ... I was given the userid and password for one of the ... I would like to delete the other administrator as a user and change the ... Can someone suggest a way to accomplish this? ...
    (microsoft.public.win2000.security)