Custom 401 error page for ASP.NET MVC application
问题 I created an ASP.NET MVC application that uses integrated Windows Authentication. The following authorization logic was implemented: Try to get account credentials from active directory through NTLM. If credentials are received and the Windows account has required permissions then perform requested action. In otherwise go to clause 2. Display the Windows authentication dialog, so a user can provide another credentials: If another credentials are received and the user has required permissions