Welcome Guest, Not a member yet? Register   Sign In
Encrypt sql user and password
#1

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 !
Reply
#2

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.
Reply
#3

This makes sense, thank you!
Reply




Theme © iAndrew 2016 - Forum software by © MyBB