title: Is there a way to htaccess password protect www.somedomain/?data&some-url?
body: <p>I want to secure www.somedomain/?data&amp;some-url with htaccess and let the www.somedomain to work fine but when accessing that URL directly or from a link, the htaccess protects it.</p>
  
  <p>Is it possible?</p>
  
  <hr>
  
  <p>fine..</p>
  
  <p>lets make this "easier" </p>
  
  <p>my htaccess file is this but it wont work</p>
  
  <pre><code>&lt;files ?some&amp;data&gt;
  AuthType Basic
  AuthName "Restricted Area"
  AuthUserFile /dir/passwd
  require valid-user
  &lt;/files&gt;
  </code></pre>