Probably a simple question but just wanted to confirm with others...
I include a separate php page on each of my website's pages that contains mysql_connect and mysql_select_db. Is there any security risk with this? Or since PHP is processed on the server end it doesn't matter?
I'm just trying to avoid the risk of someone being able to grab the database information and messing things up. If there's a risk, what precautions could I take to prevent this from happening? I'm thinking a separate subdirectory with different chmod permissions perhaps....
Thanks for the input,
Jisoo23
I include a separate php page on each of my website's pages that contains mysql_connect and mysql_select_db. Is there any security risk with this? Or since PHP is processed on the server end it doesn't matter?
I'm just trying to avoid the risk of someone being able to grab the database information and messing things up. If there's a risk, what precautions could I take to prevent this from happening? I'm thinking a separate subdirectory with different chmod permissions perhaps....
Thanks for the input,
Jisoo23