Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 1881

What is the proper way to authenticate a windows user in asp.net?

$
0
0

I have a IIS server running on a Windows 7 machine. I have an ASP.NET site set up on the machine with the authentication set to Windows. I have my Authorization node setup as follows:


<authorization><allow users="MyDomain\user"/><deny users="*"/></authorization>

I am wondering why, when I am produced with a sign in dialog box I get access denied when I use these credentials:

MyDomain\user

But I am granted access if I use these credentials:

user@MyDomain.int

Also, I am wondering why I am being asked for a sign in at all since I am already signed into the local machine using my domain credentials for MyDomain. Please help me understand what might be happening in this particular scenario.





Viewing all articles
Browse latest Browse all 1881

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>