IIS Server Security >> Getting prompted on IIS web

by Keith-Earl » Tue, 05 Apr 2005 02:25:40 GMT

We have run a .NET app on a test and prod server for months. We are running
IIS 5 on Windows 2000 and are fully patched with current versions of ADO.
In order to browse the application we only use the server name in the URL.
For example: http://MyServer/MyApp/default.aspx . We are not prompted for
our credentials because we only have Windows authentication enabled.

Some of our end users have used the fully qualified domain name. For
example: http://MyServer.MyDomain.Com/MyApp/default.aspx . At this point we
are prompted for our credentials even though it is the same web app.
Authentication method has not changed, only the URL now uses the entire
domain name.

What gives?

We ran FileMon on the servers and only got SUCCESS for all file access.
When we tracert we get the same (two hop) results.

Why does the slight change in the URL cause us to get prompted? Could it be
that the first solution uses a different domain controller to authenticate
than the second?

Many thanks,

Keith




IIS Server Security >> Getting prompted on IIS web

by Jason Brown [MSFT] » Tue, 05 Apr 2005 13:09:57 GMT


It's to do with your IE security Zones. surf to the FQDN and make a note of
the zone (bottom right on the staus bar). then do the same on the netbios
name. See the difference?

Add the FQDN to the intranet or trusted zone and the problem ought to go
away


--
Jason Brown
Microsoft GTSC, IIS

This posting is provided "AS IS" with no warranties, and confers no rights.








IIS Server Security >> Getting prompted on IIS web

by v-wzhang » Tue, 05 Apr 2005 15:10:43 GMT

Hi Keith,

When using FQDN/DNS name, IE will consider it's an internet site and
therefore it will not send credential to IIS to automatically perform
integrated authentication. The work around is explicitly adding the
FQDN into IE intranet or trusted zone. All the detailed info is
explained in the following article:

Internet Explorer May Prompt You for a Password
http://support.microsoft.com/?id=258063

Thanks.

Best regards,

WenJun Zhang
Microsoft Online Partner Support

When responding to posts, please "Reply to Group" via your newsreader
so that others may learn and benefit from your issue.

=====================================================

Business-Critical Phone Support (BCPS) provides you with technical
phone support at no charge during critical LAN outages or "business
down" situations. This benefit is available 24 hours a day, 7 days a
week to all Microsoft technology partners in the United States and
Canada.

This and other support options are available here:

BCPS:
https://partner.microsoft.com/US/technicalsupport/supportoverview/4001
0469
Others:
https://partner.microsoft.com/US/technicalsupport/supportoverview/

If you are outside the United States, please visit our International
Support page: http://support.microsoft.com/common/international.aspx

=====================================================

This posting is provided "AS IS" with no warranties, and confers no
rights.



Getting prompted on IIS web

by Keith-Earl » Wed, 06 Apr 2005 03:02:37 GMT

Thank you both. Will try when I put out this fire first.

Is there a way to automatically add the FQDN to the Intranet Zone? We do
not want our end-users to ever get prompted because this truly is an
intranet app.

many, many thanks,

Keith








Getting prompted on IIS web

by Ken Schaefer » Wed, 06 Apr 2005 13:37:56 GMT

Use Group Policy

Cheers
Ken

--
Blog: www.adopenstatic.com/cs/blogs/ken/
Web: www.adopenstatic.com




: Thank you both. Will try when I put out this fire first.
:
: Is there a way to automatically add the FQDN to the Intranet Zone? We do
: not want our end-users to ever get prompted because this truly is an
: intranet app.
:
: many, many thanks,
:
: Keith
:
:


: > Hi Keith,
: >
: > When using FQDN/DNS name, IE will consider it's an internet site and
: > therefore it will not send credential to IIS to automatically perform
: > integrated authentication. The work around is explicitly adding the
: > FQDN into IE intranet or trusted zone. All the detailed info is
: > explained in the following article:
: >
: > Internet Explorer May Prompt You for a Password
: > http://support.microsoft.com/?id=258063
: >
: > Thanks.
: >
: > Best regards,
: >
: > WenJun Zhang
: > Microsoft Online Partner Support
: >
: > When responding to posts, please "Reply to Group" via your newsreader
: > so that others may learn and benefit from your issue.
: >
: > =====================================================
: >
: > Business-Critical Phone Support (BCPS) provides you with technical
: > phone support at no charge during critical LAN outages or "business
: > down" situations. This benefit is available 24 hours a day, 7 days a
: > week to all Microsoft technology partners in the United States and
: > Canada.
: >
: > This and other support options are available here:
: >
: > BCPS:
: > https://partner.microsoft.com/US/technicalsupport/supportoverview/4001
: > 0469
: > Others:
: > https://partner.microsoft.com/US/technicalsupport/supportoverview/
: >
: > If you are outside the United States, please visit our International
: > Support page: http://support.microsoft.com/common/international.aspx
: >
: > =====================================================
: >
: > This posting is provided "AS IS" with no warranties, and confers no
: > rights.
: >
:
:




Getting prompted on IIS web

by v-wzhang » Wed, 06 Apr 2005 17:44:58 GMT

Keith,

In case all the client machines are in the same domain, using group
policy will help you achieve this.

How To Set Advanced Settings In Internet Explorer by Using Group
Policy Objects
http://support.microsoft.com/kb/274846/

Best regards,

WenJun Zhang
Microsoft Online Partner Support

This posting is provided "AS IS" with no warranties, and confers no
rights.



Getting prompted on IIS web

by anonymous » Sat, 09 Apr 2005 18:50:29 GMT


months. We are running
versions of ADO.
name in the URL.
are not prompted for
authentication enabled.
domain name. For
http://MyServer.MyDomain.Com/MyApp/default.aspx . At this
point we
same web app.
uses the entire
all file access.
prompted? Could it be
controller to authenticate


Getting prompted on IIS web

by Keith-Earl » Tue, 12 Apr 2005 20:12:23 GMT

Perfect. Thanks.




Getting prompted on IIS web

by v-wzhang » Wed, 13 Apr 2005 17:10:46 GMT

You are welcome.

Best regards,

WenJun Zhang
Microsoft Online Partner Support

This posting is provided "AS IS" with no warranties, and confers no
rights.



Similar Threads

1. Keep getting password prompts

Hello,

I have installed IIS 6 on my server

I have it set to use port 81 as I have other software running on port 80.

Upon visiting page on the site, I get a password prompt to login to each 
page.  I enter the administrator username and password.

If I click the cancel button, I get the following.
HTTP Error 401.1 - Unauthorized: Access is denied due to invalid 
credentials.
Internet Information Services (IIS)

I want to have user able to visit the site I have set up wihtout any 
password entry.

What do I have to set?

I have gone to the IIS Admin panel and right clicked on my site name to open 
the property box.  Under the directory security tab.  I have enabled 
anonymous access with user account IUSR_XXX with no password and checked the 
box for integrated windows authentication.

Please let me know what settings will remove this password prompt.

Thanks for your time.

Cheers,

Chris 


2. getting prompted for user and pass???

3. Why am I getting login prompts?

Hi all,

I have IIS 6 running on Wink2k3. i have anoymous access enabled, however 
some users are getting prompts to enter a username, password and domain 
before being allowed access.

The webserver is for the local intranet.

Im stumped as to why this is happening. Any general pointers or guidance 
would be appreciated.

Kind regards
Taz 


4. IIS causing regular web pages to prompt for username/password

5. IIS prompting for authentication on internal web address

6. Getting list of Website from IIS "Web Sites" Folder - .NET Windows Forms

7. Getting to iis default page on the web

Thanks to Ken. That advice got my default page working. 

Do any of you know how I can make it so that it people 
can just put in my ip address alone and it will go to the 
my own default page automatically? So they don't actually 
have to include "Default.html" at the end of the URL.

Thanks.

Toph.

8. Saved all my IIS web sites to a file, re-imported, now getting parameter incorrect error