Forum Moderators: phranque
You can't access by some reasons:
- the folder is really password protected (Apache)
- the folder is not listing its contents (Apache)
- the folder has a empty index.html file (cool and simple trick)
Finally, someone could have wrote a script to deny access but is easy with the methods listed before.
But the thing is, it would be cool if I could use, I know know, maybe change the .htaccess file or something to block access for my users to the whole "assets folder". Basically the "assets" folder is where I place all of my Javascripts, PHP scripts, CSS, Images and etc...
Is there a way to do this easily? Block the whole folder so that it is only used by my website and never accessed by my users? It would be easier this way because I wouldn't need to add a "index.html" to every single folder of the assets folder.
If you guys know a way around this let us know.
Thanks!
Deny from all
.htaccess affects HTTP access only, and has no effect on FTP, Telnet, SSH, or any other protocol, and no effect on internal server file reads and writes.
Jim