What happens when you need to protect your whole site so that only Authenticated users can access our site. Since I received this question twice this week I thought I'd share a tip. To allow ONLY authenticated access to your site using Forms authentication you can add a section like this on e to your application's web.config file. < authentication mode ="Forms" > < forms loginUrl ="Login.aspx" name ="Login" protection ="All" /> </ authentication > < authorization > < deny users ="?" /> </ authorization > The problem is that it seems lots of folks don't want users to automatically redirect to the Login.aspx page when they navigate to their site home page...(read more) ...
Go to the complete details ...