Re: database password in settings.py

2010-01-05 Thread Eyüp Hakan Duran
Thanks for all the replies. I will try some test runs tonight :). Things which are easy for gurus like you take a while for me to grasp and get comfortable at :). 2010/1/5 Kevin Teague : > The keyring library provides an easy way of using passwords stored > securely in your Keychain|Wallet|Keyring

Re: database password in settings.py

2010-01-05 Thread Kevin Teague
The keyring library provides an easy way of using passwords stored securely in your Keychain|Wallet|Keyring. I use it and it works Very Nicely(TM): http://pypi.python.org/pypi/keyring -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to th

Re: database password in settings.py

2010-01-05 Thread Tomasz Zieliński
On 5 Sty, 17:49, Eric Chamberlain wrote: > There's nothing special about settings.py.  You could do something like: > > from Crypto.Cipher import Blowfish > > blowme = Blowfish.new(SECRET_KEY) > DATABASE_PASSWORD = blowme.decrypt(ENCRYPTED_PASSWORD) > > Securing SECRET_KEY is left as an exercise

Re: database password in settings.py

2010-01-05 Thread Eric Chamberlain
There's nothing special about settings.py. You could do something like: from Crypto.Cipher import Blowfish blowme = Blowfish.new(SECRET_KEY) DATABASE_PASSWORD = blowme.decrypt(ENCRYPTED_PASSWORD) Securing SECRET_KEY is left as an exercise for the reader. On Jan 5, 2010, at 11:10 AM, Eyüp Hak

Re: database password in settings.py

2010-01-05 Thread Shawn Milochik
Your settings.py file is only readable by people who have access to your server. If that's the case, they're either trusted or you have much bigger problems. The file should never be exposed to the Internet (or intranet, for that matter). Shawn -- You received this message because you are sub

database password in settings.py

2010-01-05 Thread Eyüp Hakan Duran
Hi all, I am very new to django so please be gentle with me. I understand that we need to define the password to login to the database in the settings.py file. Although I know one can set the permissions of this file to be not readable by others, I was just wondering whether there is another optio