title: Require password to view webpage [jQuery, JavaScript, or PHP]
body: <p>I have a page that I would like to password protect. This page should be accessible if the user hits the URL <a href="http://www.webpage.com/page.php" rel="nofollow noreferrer">www.webpage.com/page.php</a> It will be emailed to the user along with a verification code.</p>
  <p>I have most of the page written with jQuery. I would like to know how I can prevent access to the page without a proper password. After the user has entered proper password and has verified it will then display the content.</p>
  <p>I tried doing something with jQuery dialog, and hiding the content then showing it after verification, however the user can view the content if they view the source of the page.</p>
  <p>How should I go about doing so?</p>
  <p>I'm just trying to avoid creating a new page. I guess I will have to use sessions.</p>