Different behavior for Windows Authentication with same app

J

Jonathan Parker

I have an asp.net app that uses windows authentication. I'm doing my
development and testing from one box. In the browser if I enter:
http://mybox/virtualdirectory/default.aspx everything works as I would
expect. It recognizes my login and away I go.

However, if I enter http://mybox.mycompany.com/virtualdirectlry/default.aspx
I am immediately prompted for a Username/Password. What gives?

Can anyone give me a simple explanation and what I must configure
(machine.config, web.config or IIS)?

Thanks in Advance,
Otis...
 
K

Ken Schaefer

I suspect that you're using Internet Explorer (but can't be sure, because
you don't tell us).

For sites in the "Intranet" IE security zone, IE will automatically send
your username/password if the server requests it. For sites in the
"Internet" zone (and this includes, by default, all sites that include a .
in their DNS name), IE will prompt you for your username/password.

Cheers
Ken


: I have an asp.net app that uses windows authentication. I'm doing my
: development and testing from one box. In the browser if I enter:
: http://mybox/virtualdirectory/default.aspx everything works as I would
: expect. It recognizes my login and away I go.
:
: However, if I enter
http://mybox.mycompany.com/virtualdirectlry/default.aspx
: I am immediately prompted for a Username/Password. What gives?
:
: Can anyone give me a simple explanation and what I must configure
: (machine.config, web.config or IIS)?
:
: Thanks in Advance,
: Otis...
:
:
 
O

otis

Ken,
THANKS! This was exactly the issue. Sorry I didn't get back sooner with my
appreciation.
Otis...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,099
Messages
2,570,626
Members
47,237
Latest member
David123

Latest Threads

Top