title: How to deny access to a file in .htaccess
body: <p>I have the following .htaccess file:</p>
  <pre class="lang-sh prettyprint-override"><code>RewriteEngine On
  RewriteBase /
  
  # Protect the htaccess file
  &lt;Files .htaccess&gt;
  Order Allow,Deny
  Deny from all
  &lt;/Files&gt;
  
  # Protect log.txt
  &lt;Files ./inscription/log.txt&gt;
  Order Allow,Deny
  Deny from all
  &lt;/Files&gt;
  
  # Disable directory browsing
  Options All -Indexes
  </code></pre>
  <p>I am trying to forbid visitors to access the following file:</p>
  <pre><code>domain.example/inscription/log.txt
  </code></pre>
  <p>but what I have above does not work: I can still access the file from the browser remotely.</p>