Windows Authentication

From: Patrick Corbeil (patrick_at_pemla.com)
Date: 03/25/04


Date: Thu, 25 Mar 2004 10:22:49 -0500

I am trying to implement a Secure Intranet using asp.net and Windows
authentication.

I've set the web.config file as follow

<authentication mode="windows"/>
<identity impersonate="true"/>
<authorization>
    <allow roles="domain\admin"/>
</authorization>

IIS has anonymous access disabled for the site.

Everything is working fine on the Windows XP machine, when the page is
opened through the browser, I get the page immediately and there are no
logon required.

When I move this application to Windows Server 2003 with IIS 6, the user
that is loggen on to that domain is prompted for a username and password.
Entering the same credentials as the ones used to log in to the domain, I
get the page displayed properly.

Is there any way I can skip the windows logon for authenticated users on the
server just like when I run the application on a Windows XP with IIS 5
machine?

Thanks in advance,

Patrick



Relevant Pages

  • Re: Windows Authentication method on IIS6
    ... The microsoft.public.windows.server.* groups deal with Windows 2003 ... The microsoft.public.inetserver.* groups deal with IIS ... > the authentication button, ... You can configure either one or multiple realm names on a server running IIS ...
    (microsoft.public.win2000.security)
  • Re: How to access Windows IIS User Info with Perl
    ... but the IIS server is configured for Windows ... allowed for Basic Authentication, Windows Authentication (or whatever ... Do you know if they are part of a standard ...
    (comp.lang.perl.misc)
  • Windows Authentication with IIS on separate machines
    ... Yes, setting Basic Authentication in IIS works, but the ... >in SQL server but doesn't work if user account was ... >imported from a Windows account. ...
    (microsoft.public.sqlserver.security)
  • Re: Change in ASP.Net authentication between Win2000 and Win2003
    ... IIS Resource Guide). ... I next looked a little into Windows 2003. ... IMHO, the label on the option, "Enable Integrated Windows Authentication", ... the documentation leads one to ...
    (microsoft.public.windows.server.security)
  • Re: Change in ASP.Net authentication between Win2000 and Win2003
    ... IIS Resource Guide). ... I next looked a little into Windows 2003. ... IMHO, the label on the option, "Enable Integrated Windows Authentication", ... the documentation leads one to ...
    (microsoft.public.inetserver.iis.security)