To protect a directory that is in your site, like include dir for instance, the easyest way is to build an empty index file. something like index.php/htm/html or any other extension you want
Example tree
when a user will try to browse that directory through FIREFOX [this little brat is displaying de directory contain if unprotected] will get a blank page. you could let there a message something like "in your dreams a@@#$%e".
WARNING!! - This kind of protection is not so secure also but is better then nothing .
Hope it helps!
Example tree
| Code: |
| www/
include/ index.php [blank file] index.php |
when a user will try to browse that directory through FIREFOX [this little brat is displaying de directory contain if unprotected] will get a blank page. you could let there a message something like "in your dreams a@@#$%e".
WARNING!! - This kind of protection is not so secure also but is better then nothing .
Hope it helps!
