Page Password - light protection

@if(Request.QueryString["p"]!="thepassword" &&  !BRT.RenderContext.IsDesign)
{
    <form method="get">
        Enter the page password <input type="text" name="p"/> <input type="submit" value="submit"/>
    </form>
    return;
}

<div>text here</div>