How to restrict access to Anonymous Users with Forms Authentication in ASP.NET
From practical point of view, you do not need to restrict access to pages in order to use authentication. In this article will be demonstrated the redirection functionality of forms authentication. This functionality forces ASP.NET to redirect anonymous users to the login page. You can use the simple technique of denying access to all unauthenticated users. …