Re: stop a file called foo.bar
| From: | Matt Greer | Date: | Fri, 03 Aug 2001 14:19:14 +0000 |
| Subject: | Re: stop a file called foo.bar | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-61127@lists.php.net to get a copy of this message | ||
on 8/3/01 4:22 AM, void at ben@hvc.co.za wrote:
> stop a file called foo.bar from being downloaded with a web server ?
>
> Say you'r web site's name is foobar.net.
>
> ..and...
>
> Script-kiddy Johny knows that,
> but also knows that you'r secret file is called foo.bar
> and it is saved in the root dir. of you'r web site.
Does it need to be in the website's root directory? If you stick it off to
the side, no one will be able to access it via http. If you need this file
for php stuff, use an include to stick it in there.
I know that's not what you asked, but it's worth a try.
Matt