If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

That will block the search engines that read the robots.txt file. (While most of them do check the file, a few spiders don't so if it is sensitive material, you should password that directory.) Meanwhile, anybody will be able to directly access the directories listed.

You do have lots of hosts that will allow you to password protect a folder but please note, some of the more "Money-Orientated" hosts will charge anything from &#163;15 a year plus a one off fee.

Search hard and long and you will find budget hosts that let you have access to this feature for free.

Your alternate option is to hold these types of file outside the public_html / htdocs folder and use your server-side of choice to access it.

STOP using $ prefix on JavaScript variable names...
Please remember to wrap any code you have in forum tags:- [CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]If you can't think outside the box, you will be trapped forever with no escape...