Re: ini files as config - hidden
| From: | Jo�o C�ndido de Souza Neto | Date: | Fri, 14 Aug 2009 17:51:42 +0000 |
| Subject: | Re: ini files as config - hidden | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-296806@lists.php.net to get a copy of this message | ||
I think a good solution is to put the ini file out of your html folder so
only your scripts can read it.
""????? ????"" <danondaniel@gmail.com> escreveu na mensagem
news:907722000908141031v5b020fe0m5a3cc8a9dc19643f@mail.gmail.com...
> I'm building a little framework for my self,
>
> The configuration of the framework is done in an ini file,
>
> How do you suggest to hide its contents?
>
> .htaccess wont be good (or atleast only htaccess) since if its turned
> off....
>
> The file contains mysql password and important data.
>
>
> How should I make sure the file stays hidden from someone who might tries
> to
> access it?
>
> --
> Use ROT26 for best security
>