Re: security question
| From: | Alexander Deruwe | Date: | Wed, 17 Oct 2001 22:27:37 +0000 |
| Subject: | Re: security question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-71397@lists.php.net to get a copy of this message | ||
On Wednesday 17 October 2001 19:14, Daniel Goldin wrote:
> But I need to protect the files themselves. Is
> their a way to protect the files without adding another level of
> authorization when someone does access them from the browser?
Move these text files one directory below the server root.
E.g: /www/myserver is the root, so you create a directory /www/text-files.
This can then never be accessed from a webbrowser, but PHP can still find them.
Alexander