Encrypt sql user and password |
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 !
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.
|
Welcome Guest, Not a member yet? Register Sign In |