Re: avoid server folder reading
| From: | Alain Roger | Date: | Sat, 19 Jan 2008 18:44:07 +0000 |
| Subject: | Re: avoid server folder reading | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-267662@lists.php.net to get a copy of this message | ||
I should be able to setup a .htaccess file.
On Jan 19, 2008 7:17 PM, Jochem Maas <jochem@iamjochem.com> wrote:
> Alain Roger schreef:
> > Hi,
> >
> > I would like to know how to avoid (using PHP code) any user to read the
> > content of my website folder ?
>
> what exactly are you trying to avoid being read? and in what context?
>
> > as my website is hosted by and external company, i do not have access to
> > apache conf file.
>
> are you able to use .htaccess files?
>
> >
> > thanks a lot,
> >
>
>
--
Alain
------------------------------------
Windows XP SP2
PostgreSQL 8.2.4 / MS SQL server 2005
Apache 2.2.4
PHP 5.2.4
C# 2005-2008