HTTP: 403
this_page.forbiden = true;
if (you_came_here_wrong) {go_back();}
else if (we_screwed_up) {alert("We're really sorry about that."); window.location = back;}