title: How do I use htaccess to limit access to entries?
body: <p>I need to password protect a couple of entries on a site. It is easy to do at the template level but this is at the entry level. I am running Expression Engine.</p>
  
  <p>I tried setting up an htaccess file but it is not yet effective.</p>
  
  <p>It is like this:</p>
  
  <pre><code>AuthName "Restricted Area" 
  AuthType Basic 
  AuthUserFile /home/server/.htpasswds/.htpasswd 
  AuthGroupFile /dev/null 
  &lt;Files template_group/entry_name&gt;
  require valid-user
  &lt;/Files&gt;
  </code></pre>
  
  <p>Where template_group is the name of the actual template_group and entry_name is the actual name of the entry.</p>
  
  <p>Any assistance will be appreciated.</p>
  
  <p>Thanks.</p>