title: Prevent direct access to html file but allow through PHP?
body: <p>I have a section of my website I would like to protect. I have created a php script to authenticate passwords and once authenticated, I would like them to be directed to an html page.</p>
  
  <pre><code>www.mywebsite.com/protectedfolder/index.html
  </code></pre>
  
  <p>I don't want users to take the above url, paste it into their browsers and have access to the page however. Do I have to add something my .htaccess file?</p>