Jump to content

PHP file security issues


ingyingamar

Recommended Posts

Hi all.......I have written a content management system(cms for short) for about 50 virtual domains that reside on my server. All the domains have access to the cms files in each respective virtual directory. My issue here is that I want to have just ONE copy of the cms files that all have access to and not compromise my source code.

 

I have modified openbase_dir in httpd.conf so that all virtual domains  can read the files BUT they can also retrieve the source code......

 

1. Is there a way to make the files ONLY executable....

2. The common files contain functions only....is there a way add those functions to  php at apache/php startup so all have access.....(this would be a cool thing if php could do that....)

 

thanks for any suggestions offered.....

Link to comment
https://forums.phpfreaks.com/topic/78471-php-file-security-issues/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.