Is it possible to ban GoogleBot and other robots from accessing a paticular file? I do not want it to be able to access my /download.php file, as I just saw in my logs it somehow manages to access that file, and download a picture, which would not be good for that to end up in google's index...
Use the robots.txt file to block the bots. See Google's help on how to implement the rules into the file.
I wanted to learn this soon anyway "For instance, to block Googlebot entirely, you can use the following syntax: User-agent: Googlebot Disallow: / Allowing Googlebot If you want to block access to all bots other than the Googlebot, you can use the following syntax: User-agent: * Disallow: / User-agent: Googlebot Disallow: Googlebot follows the line directed at it, rather than the line directed at everyone...."
So here is my robots.txt file at the moment: User-agent: * Disallow: /cgi-bin/ Disallow: /digital/ Disallow: /files/ Disallow: /ftp/ Disallow: /gal_images/ Disallow: /images/ Disallow: /js/ Disallow: /logo/ Disallow: /manager/ Disallow: /sample_videos/ Disallow: /stock_photos/ Disallow: /stock_videos/ Disallow: /styles/ Disallow: /temp/ Disallow: /uploaded_files/ Disallow: /uploaded_images/ Disallow: /lang/ Disallow: /resources/ Sitemap: http://www.photosales.co.nz/sitemap.php If I just add: Disallow: download.php Disallow: money_return.php Will that stop it accessing those files?>
Er, you could make a verification pop-up or something of the sort. Just ask to verify some picture, "to make sure the person is real" or whatever.