Restrict direct file access htaccess
<p>I need help to configure .htaccess file to restrict direct file access but would like the internal included files to work like images and pdf</p>

<pre><code>order deny,allow
deny from all
allow from 127.0.0.1
</code></pre>

<p>Help!!</p>

<p>Thanks in advance :)</p>