I have a website with some areas that require login through forms-based authentication, using my own provider, which connects to the database.
The website is in preview mode, so I want to protect the entire site with basic auth to prevent unauthorized access before it goes live.
The problem is that the basic and auth forms are on pages that will be publicly available to go to form registers.
How can I support forms-based authentication for access to logins and access to the portal, but protect the entire site from public access until moving to live using basic auth?
source
share