Jump to content


This topic is now archived and is closed to further replies.



Recommended Posts

I am interested in knowing how to securely block search bots and other web bots from reaching sensitive areas of my web site. I know that if you put a .htaccess file in a directory no web bot can touch that area. How to I impliment a similar setting or happening if I don't want .htaccess and have my own login script?

All my pages have a script in the first lines of the document which check for login status from a cookie and if you are not logged in you are forced (through the header) to a login page).

Any suggestions on this security issue? Do I need to clearify anything?

Share this post

Link to post
Share on other sites
You may want to use robots.txt
[a href=\"http://www.robotstxt.org/wc/robots.html\" target=\"_blank\"]http://www.robotstxt.org/wc/robots.html[/a]

Or the meta robots:
[a href=\"http://www.robotstxt.org/wc/meta-user.html\" target=\"_blank\"]http://www.robotstxt.org/wc/meta-user.html[/a]

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.