[Catalyst] Where best to store database connection information?

Adam Witney awitney at sgul.ac.uk
Mon Feb 23 08:56:36 GMT 2015


Thanks guys for all the helpful ideas!


From: abhishek jain [mailto:abhishek.netjain at gmail.com]
Sent: 18. februára 2015 6:27
To: 'The elegant MVC web framework'
Subject: Re: [Catalyst] Where best to store database connection information?

Hi,

>>But this seems a bit of a security
>>problem having the main password in a text file like this,
>>especially if it goes into git.


What i do is i will modify the password on production manually and successive update / pull will not modify the password,  and i will also not commit the change in git / svn. Barring this config change it is a bad habbit to modify anything on production, Let me know if someone disagrees.

Also  in case you need a solution where the config file is password protected not a part of main repository then you will need external svn repo i guess (in case of svn ) , might be a better svn / repo config question.
Thanks
Abhishek


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/catalyst/attachments/20150223/3cca1bae/attachment.htm>


More information about the Catalyst mailing list