If you are planning to use the ASP.NET membership API and the security controls of APS.NET, you have to complete the next steps:
1. Configure forms authentication in your web.config file, and deny access to anonymous users.
2. Set up the membership …