![]() |
Encrypt sql user and password - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Encrypt sql user and password (/showthread.php?tid=73283) |
Encrypt sql user and password - PARADISE - 04-07-2019 Hello, I’m wondering if there is any way that database username and password inside config/database.php can be encrypted, so developers and others who might have access to the host can’t see those. Any ideas? Thanks ! RE: Encrypt sql user and password - dave friend - 04-07-2019 Not really. The typical way to handle this issue is that the development copy of the database uses different credentials (username/password) than the live database. The developer who is responsible for deployment (either the lead or other manager) sets the real credentials. "Line" level developers are not granted access to the live site's code. RE: Encrypt sql user and password - PARADISE - 04-07-2019 This makes sense, thank you! |