Re: why would i want to put my mysql password in the yml file?
- From: Pat Maddox <pergesu@xxxxxxxxx>
- Date: Sat, 11 Feb 2006 13:20:26 +0900
Wouldn't you have to store the password SOMEWHERE? This comes up
periodically on the list so do a search to find what discussion has
already been had.
Anyway, if you encrypt the password then somehow it would have to be
decrypted, so you'd have to keep a readable key somewhere. Bottom
line is that as long as you have correct file permissions you'll be
fine.
Pat
On 2/10/06, trevor <trevor@xxxxxxxxxxxxx> wrote:
hello - i'm new!
i don't understand - the tutorial says to edit the database.yml file and
put in the username and password, so that RoR can connect to the
database.
am i MISSING something here??
how can it be secure to put my username and password in a TEXT file,
with no encryption or anything? i thought that the days of storing u/p
in a text file had kinda gone away a while ago...
obviously i'm missing something here...any advice would be great, and
like i said i'm new (as in about one hour!)
thanks / trevor
--
Posted via http://www.ruby-forum.com/.
.
- Follow-Ups:
- References:
- Prev by Date: Re: why would i want to put my mysql password in the yml file?
- Next by Date: Re: Debugging
- Previous by thread: Re: why would i want to put my mysql password in the yml file?
- Next by thread: Re: why would i want to put my mysql password in the yml fil
- Index(es):
Relevant Pages
|