PASSWORD PROTECT CODE FOR A WEB PAGE OR HIDE FROM SEARCH ENGINES?

so what if i want a private page,
is there a way to hide it from search engines?
and if there is no way then what is a easy code that would password protect a web page?
like this one only a way to get to the page i want.
test it here
http://www.draac.com/htmltester.html
now if i have to learn javascript to make it happen then i will but i just need to know if this is possible.
and what are the possibilities of someone breaking into this and how would they do it? is there a way to prevent it?
its ok if you cannot answer all of my q’s
thanx in advance!
about 1 year ago
Well, in theory, most legitimate bots are supposed to read the robots.txt file in your root folder, and skip any files (or folders) listed there.
I do it a bit more complicated. Besides using the robots.txt, I have a LInux-based router looking at actual content, so if I see any packet going by with the folder or file name I want hidden (and it is hidden), I automatically add the source IP to my blacklist and ban that IP in my frewall…they can read nothing anymore… Since whatever bot it was is acting “bad” , I don’t want it ever back again. Of course, I permit my own IP or a selected few IPs through first, so at least I can get to it.
Sorry that does not answer your question direct. It’s just I thought I’d explain my method of banning unwanted bots (the ones that dis-obey the robots.txt). It’s easy to set a trap directory that has nothing in it, and putting it into the robots.txt, then trapping it.
about 1 year ago
about 1 year ago
To protect your site from search engines you can simply use a robots.txt file, its a txt file you put in your document root with a list of directories on your website you do not want web spiders to crawl. To password protect your websites look at using a .htaccess file