How to make an Asp.net MVC 2 website have a Private Beta Mode.
- by Mark Kitz
I am creating an ASP.Net MVC website that I am launching soon in private beta.
What I am using.
ASP.NET MVC 2
ASP.NET Sql Membership Provider
Authorization Attributes on ActionMethods. ex. [EditorsOnly]
What I am trying to accomplish:
During the private Beta period of my website, I want no anonymous users to access my site.
Only Beta Testers of my site should be able to login and use my site as normal.
After the private beta period people can access it using the security structure I already have set up.
I am hoping I do not have to recompile but can have a setting in the webconfig to switch between Private Beta mode to Normal mode.
Thanks for your suggestions.