I think you just need Windows auth and specify paths that only require authorization. If you don't need auth forms either, it looks like this:
<configuration> ... <system.web> ...... <authentication mode="Windows"> </authentication> </system.web> <location path="MyAdminReport"> <system.web> <authorization> <deny users="?" /> </authorization> </system.web> </location> </configuration>
This is an approach to web configuration, other options add the [Authorize] attribute to your controllers (even if not a hole controller, you can add this attr only for certain actions).
[Authorize] public class MyAdminReportController : Controller {
source share