Jump to content

Protecting mysql_connect and mysql_select_db functions


Alk3m1st

Recommended Posts

I have a MYSQL connection n include file (which has been renamed to some_file.inc.php - to protect from browser output).

 

However, I fear that it is still possible (with a spider app like HTTrack) to download my include file and therefore read my mysql_connect and mysql_select_db username:password etc. Thus giving someone access to my database.

 

What ways are there that I can somehow hide, or prevent access to this file? Or should I be looking at a different method entirely?

 

Many Thanks.

 

Alk

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.