I have a ASP.NET 4.0 web application that uses Windows Authentication against AD and a SQL Server for Role management.
Basically, I want all users who have an AD account to be able to access the application, but I want to further secure the app using roles in Sql Server. I do not want users to have to enter in their passwords for authentication.
Is it viable for me to check authentication in the Global Application_Start method, or should I be executing this code elsewhere?
After further research I found "Application_AuthenticateRequest" which I think will serve my purposes of using Windows Authentication and Sql Server role configuration.