Click here to Skip to main content
15,888,600 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

we have a window authentication in one of our project. when we access it by localhost it works fine and return current user identity but when we try to access it by ip address it prompts a login screen which should not appear? do i miss any setting on IIS ?
Posted

1 solution

Here is an answer to your situation as posted on stack overflow:

I had a similar issue whereby I wanted to protect only a certain part of my website. Everything worked well except in IE. I have both Anonymous and Windows Authentication enabled. For Anonymous, the Identity is set to the Application Pool identity. The problem was with the Windows Authentication. After some digging around I fired up fiddler and found that it was using Kerberos as the provider (actually it is set to Negotiate by default). I switched it to NTLM and that fixed it.

For details, check:

http://stackoverflow.com/questions/5402381/receiving-login-prompt-using-integrated-windows-authentication[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900