Re: How safe is a .htaccess file?
| From: | Robert Cummings | Date: | Tue, 17 Aug 2010 20:23:13 +0000 |
| Subject: | Re: How safe is a .htaccess file? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-307507@lists.php.net to get a copy of this message | ||
On 10-08-17 04:17 PM, tedd wrote:
Hi gang: The subject line says it all. How secure is a .htaccess file to store passwords and other sensitive stuff? Can a .htaccess file be viewed remotely?It depends on the server configuration. I think for the most part apache servers disable viewing these files by default. But, in any event, when these include access restriction, I always point it at a user/password file outside the web tree. Cheers, Rob. -- E-Mail Disclaimer: Information contained in this message and any attached documents is considered confidential and legally protected. This message is intended solely for the addressee(s). Disclosure, copying, and distribution are prohibited unless authorized.