Re: Windows Authentication and Windows Server ASP.NET

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Jim Hughes (NOSPAMJ3033_at_Hotmail.com)
Date: 02/05/05


Date: Sat, 5 Feb 2005 13:32:39 -0800

Using a fully qualified domain name or ip address in a url will always force
a prompt if authentication is required.

NTLM authentication is only done automatically if a "simple" name is used.
(e.g. http://myserver as opposed to http://myserver.mycompany.com or
http://192.168.1.100 )

"Chris" <Chris@discussions.microsoft.com> wrote in message
news:571B0C64-F3AD-426C-9A2D-E0DE210F1941@microsoft.com...
> I'm building a web app in C# for use on a company intranet. I want to
> restrict access to only authenticated users on the domain. There is
> plenty
> of documentation on this subject except for one issue that I've come
> across.
>
> When running this on IIS installed on my Windows XP deveopment system, any
> authenticated user on the domain can access the page and using the
> Security
> object I can identify them.
>
> However, when running the app on a Windows 2000 Server, users are always
> asked for their username and password. I cannot figure out how to get the
> information automatically handled by the server.
>
> I've gone through all of the recommended settings for IIS and the
> web.config
> file and cannot get rid of this prompt. Is this normal or expected? Any
> help would be appreciated.



Relevant Pages

  • Re: Single user issue; best troubleshooting
    ... single user account repeatedly prompts for authentication? ... Is the user fully authenticated on the domain prior to the prompt? ... Is this happing while accessing Exchange or some email server? ... some bugs that Outlook experiences. ...
    (microsoft.public.windows.server.active_directory)
  • Re: default for requiring authentication 2003
    ... Don't forget about the "Allow anonymous enumeration of SAM Accounts and Shares" under the security -> Network Access setting. ... If this is disabled then the "everyone" permissions only applies to authenticated users. ... I have scripts that prep a machine post image and in doing so must connect to server shares. ... default for requiring authentication 2003 ...
    (Focus-Microsoft)
  • Re: Prompts for username and password
    ... We have built a new webserver with Windows Server 2003/IIS 6.0. ... We have the default web site set for anonymous authentication. ... password protected area is going to prompt for credentials. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Constant Login Prompt
    ... by authentication scheme, ... problem you describe is common in sngle server configurations if the ... login prompt, I can enter my username/password and until they logout ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Constant Login Prompt
    ... by authentication scheme, ... problem you describe is common in sngle server configurations if the ... login prompt, I can enter my username/password and until they logout ...
    (microsoft.public.sharepoint.windowsservices)