I have been trying to block access to my CSS, JS and PHP include(s) files. I have been able to block the PHP files with this code:
- Code: Select all
<Files *.php>
order allow,deny
deny from all
</Files>
And the PHP includes still work. I have tried doing the same thing for my CSS, but then no CSS styles are included on the page... Is there anyway to block direct access to my CSS/JS files so that they can't be downloaded, and still keep the pages working?
Thanks, Brandon

English |
French
News


