I am making a site that connects to a database on most pages. So naturally I don’t want to have put the database details into each page individually. So I have one page that has all the details and I include them into the other pages of the site.
But I have a question about the security of this method. Is it possible for someone from outside of the site (same server or different server) to be able to include that file into their own script if they know where it is and interact with my database? Or is this method safe?
Thanx