Ashish-012 / Dynamic-Blog

creating a blog like website to practice some web development skills
4 stars 0 forks source link

Secure db connection #3

Open mzfr opened 4 years ago

mzfr commented 4 years ago

Instead of using a php file for making a db connection try to use a config file which will have the credentials encrypted in someway so that any vulnerability like LFI won't give away the db credentials.

Just a simple suggestion