How to prevent robot.txt being accessed by public? Any idea how to implement this? Please comments. Thanks
yes it can. why would you want to prevent access? isn't like its a top secret list or anything. databases exist for almost all the search bots.
I don't know why you would want to block it, there is nothing secret, or special about the robot.txt file? I also don't think the public will see your robot.txt file unless they get into your server.
As with the other answers here, of course it's public. How do you think search engines can read it to begin with?