Re: Hashed, salted mysql password in settings.py, reccomendation to protect information

2009-12-21 Thread fruity
Sorry again, even better: http://code.djangoproject.com/wiki/SplitSettings fruity wrote: > Thank you very much. > > After a while of searching on django-snippets there was the answer :) > > http://www.djangosnippets.org/snippets/94/ > > Brice Leroy wrote: >> Easy, >> put your password in a

Re: Hashed, salted mysql password in settings.py, reccomendation to protect information

2009-12-21 Thread fruity
Thank you very much. After a while of searching on django-snippets there was the answer :) http://www.djangosnippets.org/snippets/94/ Brice Leroy wrote: > Easy, > put your password in a settings_secret.py file, do not import this > file on your repository. Add: > from settings_secret import

Re: Hashed, salted mysql password in settings.py, reccomendation to protect information

2009-12-21 Thread Brice Leroy
Easy, put your password in a settings_secret.py file, do not import this file on your repository. Add: from settings_secret import mysql_password ... you're set :) Brice 2009/12/21 fruity : > Hello, > > I'd like to protect the mysql password that is in settings.py > > I

Hashed, salted mysql password in settings.py, reccomendation to protect information

2009-12-21 Thread fruity
Hello, I'd like to protect the mysql password that is in settings.py I read in the django docs that is possible to use SHA1 hashes as password for mysql and I've tried using mysql to salt and hash the password but still if I would have my project on a public svn|git repository anyone could just