Forum Moderators: coopster
I was wondering what protection methods people use to prevent the access of db.php - a file which contains vital information such as mysql database information.
It struck me that some clever guy out there could surely download my db.php and read all the information inside it, is this possible?
Does changing CHMODD properties help to protect this file further?
All I have found is that storing the file in a folder above (and not inside) public_html can make it harder but I can't see this being an absolute method.
As my website has had a massive increase in traffic I thought it was about time to tackle this.
Any input is most welcome.
by the way you can put your information within php tags then even if someone opens it in browser he won't be able to see anything BUT remember with PHP-cURL people can access your this file for downloading BUT htaccess will make it hard for them to break in the folder to get it unless they know your password :)