Windows 2003 server, IIS 6
ASP.NET application (C#) that is mostly used on our internal network but a few users login from outside our network. Upon hitting the application it checks to see if they are an authenticated user against Active Directory using code similar to this:
WindowsPrincipal authenticatedUser = User as WindowsPrincipal;
if (null != authenticatedUser)
string username = authenticatedUser.Identity.Name;
This works fine, even if they are outside of the network because it will simply prompt for a username/pwd to login. The only user that is having problems is using a Macintosh (using Safari browser) and it immediately gives them a "You are not authorized to view this page" error.
I don't necessarily need a fix for this (although a fix would be great), but I just need proof/logic as to why this doesn't work on a Macintosh.
On a side note, I have had some users experience the "You are not authorized to view this page" if they are behind a firewall. Do firewalls generally block the authorization token (?) that is passed between their browser and the server which would cause the error to display?
Thanks for any info you can provide.