Forum Moderators: open

Message Too Old, No Replies

robots.txt stupid question

about hidden directory

         

Jengal

12:42 am on Nov 28, 2002 (gmt 0)



Hi
Sorry for this stupid question:

On my site, i have some confidential directory (such passwaord directory).

I really don t want them to be crawl by a bot.

First, i use a .htaccess to avoid anyone to come.

Second, there is no link anywhere to go to this URL (so noone can know their existance)

I want to know: Isn't it dangerous to put this kind of directory in the robots.txt?

Thx for all answers :)

pageoneresults

12:47 am on Nov 28, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hello Jengal, welcome to WebmasterWorld!

There are no stupid questions around here, so please, feel free to ask all the questions you want.

You are correct that it is somewhat dangerous to list specifics in your robots.txt file. Any qualified hacker could probably gain access to that directory. I'm not familiar with .htaccess but have read enough to know that you are doing the right thing.

If the directory is password protected, I don't think the spiders will get in there anyway, no need to place it in your robots.txt file.

Jengal

12:54 am on Nov 28, 2002 (gmt 0)



Cool :) thx a lot for this quick answer :)