RE: [PHP] security question
| From: | Daniel Goldin | Date: | Thu, 18 Oct 2001 04:37:30 +0000 |
| Subject: | RE: [PHP] security question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-71440@lists.php.net to get a copy of this message | ||
Tried this. Get an error from my host: open_basedir restriction in effect.
I'm new at this. Do you know what this means and is there a work around?
-----Original Message-----
From: Alexander Deruwe [mailto:a@deruwe.be]
Sent: Wednesday, October 17, 2001 3:28 PM
To: php-general@lists.php.net
Subject: Re: [PHP] security question
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net