RE: [PHP] Hiding .inc
| From: | o dot cook at etoncollege dot org dot uk | Date: | Wed, 06 Sep 2000 20:29:59 +0000 |
| Subject: | RE: [PHP] Hiding .inc | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-15593@lists.php.net to get a copy of this message | ||
I use:
<Files "config.inc.php">
order deny,allow
deny from all
</Files>
in an .htaccess file
Ollie
--------------------------------------------
Ollie Cook +44 (7946) 057 198
PGP: http://ollie.zenox.dhs.org/pgp-key
--------------------------------------------
> -----Original Message-----
> From: Christopher W. Curtis [mailto:ccurtis@aet-usa.com]
> Sent: 06 September 2000 21:23
> To: William S Poarch
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Hiding .inc
>
>
> William S Poarch wrote:
> >
> > We're setting up a site on a virtual server that includes
> data we want to be
> > secure in .inc files.
> > What is the best way to keep these files from being able to
> be accessed by
> > people who might be looking for security holes?
>
> Rename them .php
>
> Chris
>
> --
> 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
>