Re: User.Identity.Name
- From: "Ken Schaefer" <kenREMOVE@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 2 Apr 2009 01:54:02 +1100
Actually NTLM is used when you access an IP address.
What doesn't happen automatically is IE sending your current credentials without asking the user's permission (because that's a security issue)
Put the IP address into the user's Intranet security zone in IE, and credentials will be passed without user intervention. See:
http://support.microsoft.com/?id=258063
Cheers
Ken
"jvcoach23" <jvcoach23@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:4CA53EF1-CC78-4EAB-9359-3EF547F3CB2F@xxxxxxxxxxxxxxxx
never mind.. i figured it out.. i was using an ip address.. ntlm isn't sent
across when you use an ip address unless you put that ip address in your
local sites in IE. so i create a DNS entry and boom..it all works.. wow..
glad that one is over
"jvcoach23" wrote:
I'm using Visual Studio 2008 and publishing to a Windows 2003 server running
IIS 6.0. On the server we have a web site Site1 where we are able to use
windows authentication for the web site. User.Identity.Name returns what we
expect and we are not prompted for a login or password. That site was
published with Visual Studio 2003. Now the 2008 site, Site2 has
<authentication mode="Windows"/> in the web config. In IIS manager under the
Directory Security Enable anonymous access is not checked and Integrated
Windows authentication is checked. when i publish the site and try to hit
the web page i get prompted for an id and password. if i put in valid info,
i can log into the web site. but why am i getting prompted. I'd don't want
it to prompt me. The code works as expected from the Visual Studio 2008 dev
env, but not when it's published to the 2003 server. what am i missing.
Does 2008 do something differnt than 2005. Hope someone can help.
Thanks
Shannon
.
- Prev by Date: Re: IUSR and application pool identity; IIS 7.0 / Vista64
- Next by Date: Re: IIS + domain ?
- Previous by thread: Re: IIS5/IIS6 - Creating CSR - where to enter SAN/UC?
- Next by thread: Re: IIS + domain ?
- Index(es):
Relevant Pages
|