Connect to a DB with an encrypted password with Django?
Posted
by Liam
on Stack Overflow
See other posts from Stack Overflow
or by Liam
Published on 2010-05-17T16:09:12Z
Indexed on
2010/05/17
16:30 UTC
Read the original article
Hit count: 184
My place of employment requires that all passwords must be encrypted, including the ones used to connect to a database. What's the best way of handling this? I'm using the development version of Django with MySQL at the moment, but I will be eventually migrating to Oracle. Is this a job for Django, or the database?
Edit: The encrypted password should be stored in the settings.py
file, or somewhere else in the filesystem. This is the password that will be used to connect to the database.
© Stack Overflow or respective owner