Welcome Guest, Not a member yet? Register   Sign In
Is it safe to keep database password and username in config database file in live site
#1

[eluser]GnomBrother[/eluser]
In pure php we define constants for database password and put outside www folder. We just bring it into www by "include" php function.

Here in CI, we write in database.php and database.php stays in www. Someone can download whole site by special programs and view database.php.

Is it secure to keep database passwords in database.php?


Messages In This Thread
Is it safe to keep database password and username in config database file in live site - by El Forum - 01-20-2010, 05:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB