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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.