Reputation: 3043
I have an MVC application for our intranet which uses NTLM authentication however I want to be able to allow external users to access the application. All external connections to our intranet come via a NAT and therefore have a single IP address which can be used to denote if the request is external or not. I want all internal users to undergo NTLM authentication as they already do but any connection coming from the external IP to automatically get anonymous authentication ("anonymous" being any potential default user eg the standard Network Service or IUSR_ account, a specified domain user (severely locked down for other purposes of course) etc). The result being no one should see a password request unless internal and having a browser that does use NTLM by default.
I know usually mixed mode authentication is awkward at best but I was wondering if this specific use case might have some other way round the problem. Some of the possibilities I've considered are:
Upvotes: 3
Views: 1676
Reputation: 5062
I developed a website using the request interception method you describe. Here is a link with the details.
Upvotes: 1