ASP.MVC Intranet and Internet Authentication

I am curious about if MVC4 or MVC 5 supports a feature such that, my application will be accessible via internet and users will be able to login which i can use some membership provider, then same application is available via intranet that users won't need to login ie will be authenticated via AD or if they are in domain no authentication will be required.

Is this possible? is there a built in functionality for this ?

Answers


If you use

<authentication mode="Windows" /> 

in your web.config file you have exactly that comportment


Need Your Help

My published Android application won't install onto devices from the android market

android file package google-play

I have compiled my application using nbandroid with netbeans 7.0 on a mac. Then keysigned it with jarsigner and aligned it using zipalign. It uploaded to the market with no issue but it will not in...

How to parse mathematical expressions

java formula expression-evaluation

I'd like to understand how a Java program like GeoGebra can read a mathematical expression like exp(z^2) from a textbox and then evaluate it. For those familiar with MatLab: How do you implement fu...