hosting security - .inc files...

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Subliminal
Forum Commoner
Posts: 40
Joined: Thu Oct 23, 2003 8:12 pm

hosting security - .inc files...

Post by Subliminal »

Hey,

I was not sure where to post this so i figured why not here? I have a site that is going live in a couple of days and I am concerned about my include files. (you know that special one containg sensitive information) I have made it a .php file cause I figure it is at least parsed that way. I should also put it in a directory that is not accessable via the web however it is not my webserver therefore I can't. Am I taking a large risk by doing so? Those apps that pull everything from a website.. can those grab my php files as well???

Thanks for your input..
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

No, unless they can get access to your server via FTP then they won't be able to get those files, only the generated HTML.

Mac
Post Reply