Re: User.Identity.Name



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

.



Relevant Pages

  • RE: ISA Server 2000 User Authentication prompts
    ... But what you seem to be asking for is object level security permission. ... Or are you asking if that is what is triggering the login ... > multimap web site which are from another web site (e.g. there could be a ... >>> prompt from users machines when they try to access web sites which they are ...
    (microsoft.public.isa.configuration)
  • RE: How can I remove security warning of JSharp Browser Control
    ... says "don't show me this again" and you won't get that security box any ... You can also manually configure J# Browser Controls to not show the ... will not be prompted for pages on the Web site on subsequent visits. ... the Prompt to add new Web sites to this list in the future ...
    (microsoft.public.dotnet.vjsharp)
  • RE: How can I remove security warning of JSharp Browser Control
    ... security dialog is also different, ... prompt security issues, which is really boring, isn't it? ... You can also manually configure J# Browser Controls ... >to an Internet Web site that contains a J# Browser ...
    (microsoft.public.dotnet.vjsharp)
  • Re: Disabling SSL
    ... credentials you supplied. ... please try to contact the Web site by using any e-mail address or phone ... developer. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Outlook authentication over VPN
    ... You may just need to make 100% sure that these Outlook profiles have the Log ... On Network Security set to "None" in the Advanced Tab of the Microsoft ... currently logged on credentials, which in your case is the incorrect Local ... To configure Outlook 2000 to prompt you for your log on credentials, ...
    (microsoft.public.exchange2000.clients)