Jump to content

Security


ffdave77

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?
Link to comment
https://forums.phpfreaks.com/topic/11003-security/
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]
Link to comment
https://forums.phpfreaks.com/topic/11003-security/#findComment-41096
Share on other sites

Archived

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

×
×
  • Create New...

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.