i need to make a .htaccess file so say a folder called news cannot been seen or dl by anyone but used by google and the script. also all files in that folder are .txt files and how to stop anyone dl the whole site. thank you
You can just create .htaccess in the folder 'news' and add this line in it: deny from all Code (markup): Nobody will have access to it from the outside, but your script will work. Unfortunately, google will not be able to crawl those txt files, but if you use them on your site, it will crawl them there.
Hello Breaker61, The following .htaccess Tutorial will help you set up security settings properly, for your website - http://www.freewebmasterhelp.com/tutorials/htaccess/ Sincerely, *JstWc9~
Just do what I said on the 2nd post, and your news folder will not be accessible from the web, but your scripts will work. PM me if you need more help.