What is the easiest way to program a beta period into a site? I dont know if superuser works this way but is it to have code that runs on every page (toolbar perhaps) to check for a betaPassword cookie and to redirect you to a page if it isnt correct?

Is there a better place to run the code rather then the toolbar? (IIRC the toolbar is in every one of my page)