Re: How safe is a .htaccess file?
| From: | Peter Lind | Date: | Tue, 17 Aug 2010 20:39:19 +0000 |
| Subject: | Re: How safe is a .htaccess file? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-307510@lists.php.net to get a copy of this message | ||
On 17 August 2010 22:35, Robert Cummings <robert@interjinn.com> wrote:
>
>
> On 10-08-17 04:23 PM, Peter Lind wrote:
>>
>> On 17 August 2010 22:17, tedd<tedd@sperling.com> 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.
Regards
Peter
--
<hype>
WWW: http://plphp.dk / http://plind.dk
LinkedIn: http://www.linkedin.com/in/plind
BeWelcome/Couchsurfing: Fake51
Twitter: http://twitter.com/kafe15
</hype>