I am building an ASP.NET 3.5 web application and I am NOT using a membership provider for security. In the application, I have a role called Admin, and all the files for this role are in the Security folder in the project. Currently, for all pages inside the security folder, I am checking if the registered user role is an administrator or not. This seems redundant to me, it can do something like "If the user requests a page inside the security folder, then check its role." Is it possible?
source
share