Say I have a text/word/adobe file on my site and I dont want people going directly to that URL and looking at it. Whats the easiest way to block them from reading? Can I just do that with CHMOD?
use .htaccess to password protect the directory they are in. Google for it and you'll find many many resources to help you.
if you dont want users to see your files when they enter directly into the directory, just put a blank index.html file into the directory and that will solve the problem. good luck
That will only work if they do site .com/directory/ but if they enter site .com/directory/document.doc then they can still access it correct?
yes, it's correct.. another solution, you can use .htaccess ..example if you want to restrict inc files, add this to your .htaccess file <files ~="" \.inc$=""> Order allow,deny Deny from all </files> so you can change it to whatever file format that you like..good luck with it.