I've seen other posts regarding this topic but wanted another opinion for my particular situation.
Background:
I have one class file that contains database connection info (as well as the entire application's configurations). I want to ensure this file is not accessible to the public. I am currently using Subversion to push my changes to my development server, then a script runs to deploy the new files to the web server.
I do not have access at the file level ( I can't get to the server's directories or files as this is all done through subversion). I do not have access to php.ini but can have someone change it with every push I make (not very efficient!) - our servers are in our parent company (a very long way away).
How do I/Questions:
1. Hide the sensitive file to protect my sensitive data
2. Make these files accessible to my application
3. Is it possible to keep this file under my app's directory (I ask because then I can keep this file in my subversion repository without changing anything in my push process).
A future release will probably store this configuration info in a database and I'll create an interface for it but right now I'm rolling to production this Wednesday. Plus I currently like keeping the number of database queries on the low side).
Anyone have suggestions?
Thanks in advance for your help.