Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.