Re: [PHP] How safe is a .htaccess file?
[email protected] (Robert Cummings)
| Newsgroups | php.general |
|---|---|
| Organization | InterJinn |
| Message-ID | <[email protected]> |
On 10-08-17 04:39 PM, Peter Lind wrote: > On 17 August 2010 22:35, Robert Cummings<[email protected]> wrote: >> >> >> On 10-08-17 04:23 PM, Peter Lind wrote: >>> >>> On 17 August 2010 22:17, tedd<[email protected]> 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? >>> >>> No, Apache won't serve it. >> >> It's a configuration setting though, and not a hard-coded feature. > > Set by default in your apache2.conf file which you're rather unlikely > to mess with as that is not how you're setting up sites. Totally agreed... but I've seen worse in my travels :) 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.