[Catalyst] How to encrypt database password when connect?

Cookie xiaoquqi at gmail.com
Fri May 25 03:08:00 GMT 2007


I write my database connect info in the yml files.It's not very safe because
the database password can see by everyone who can access the catalyst
folder.I want to know if there any way to encrypt the database password use
the internal method of connect_info?
Here's my yml file:
      1 ---
      2 name: Add
      3 Model::Add:
      4   schema_class: flexDB
      5   connect_info:
      6       - dbi:mysql:database=3Dgsmflex;host=3Dlocalhost
      7       - 'root'
      8       - 'root'
      9       - AutoCommit: 1
     10         quote_char: '`'
     11         name_sep: '.'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20070525/70362=
52b/attachment.htm


More information about the Catalyst mailing list