Hi All,
I have used PHP to connect to MYSQL. I have an include where I put database information, connection info, etc and I include it were necessary.
What prevents someone from crawling my site, finding this include and connecting to my db? I do typically limit to few privs in MySQL so for example a user that just can insert/update data. but I do have an admin user that had full control.
What is best practice here to protect my connection info?
Thanks,
-Jason