You can secure your MVC web application on an Active Directory network by authenticating users directly against their domain credentials. Step 1: AccountController.cs Replace your AccountController.cs file with the following: using System.Web.Mvc; using System.Web.Security; using MvcApplication.Models; public class AccountController : Controller { public ActionResult Login() { return this.View();