Just to add to the excellent post above...
Search engines will look in your root domain for a special file named "robots.txt", which explains how spiders (auto-surfing programs) should treat your site. You can tell them to not index a particular directory, ignore a particular file, index the entire site, or basically anything.