[Catalyst] Where best to store database connection information?
John Napiorkowski
jjn1056 at yahoo.com
Mon Feb 16 20:38:00 GMT 2015
People do different things based on there setup. I tend to use ENV vars and store them on the local server under /etc with a restricted account. There's no official way to do this (we are not Rails :)). -jnap
On Monday, February 16, 2015 8:42 AM, Adam Witney <awitney at sgul.ac.uk> wrote:
Hi,
I have a Catalyst / DBIx::Class application and I have been storing the database connection parameters in a config file which is sourced using MYAPP_CONFIG_LOCAL_SUFFIX. 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.
Is there a recommended or best practice place to store database connection information?
Thanks for any help
Adam
_______________________________________________
List: Catalyst at lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/catalyst/attachments/20150216/f9f1f49d/attachment.htm>
More information about the Catalyst
mailing list