ComputingHost will be activating open_basedir permissions on all its servers. Previously, we had it active on only a few select servers, however to make our hosting envoirment secure, We have now decided to activate it throughout our cluster.
Some of you might be wondering, What is open_basedir protection exactly?
If you try to open a file using your PHP program, you can open files only in PRESENT directory where your PHP program is OR sub-directories. So, suppose your php program is at :-
user1/www/mysite/subsite/ -> sub-folder
user1/www/mysite/subsite/subsubdir/ -> sub-sub-folder
/user2/www/HISsite/ -> other user folder not allowed, even if it has 777 permission --> [CASE-A]
With OpenBase_dir Protection ON:
If you are user2 here with folder "HISsite" (permission 777), You get safe because someone could had accessed your FOLDER "HISsite" and tampered with its contents, created files, folders, modified your content etc.
A simple fopen and fwrite function can be used to Inject Code or data into your files. And much more can be done to abuse this power.
The special value . indicates that the working directory of the script will be used as the base-directory. This is, however, a little dangerous as the working directory of the script can easily be changed with chdir().
What if my PHP files are already using/including files from parent folder?
You will have to upgrade your script to better versions.
But, open_basedir is not something new and all php developers know about it. So, the amount of programs failing should be very rare.
Still, I am one of those rare cases? Now what ??
Select the Right Dept. and Send us a support ticket.
We will take care of your situation. (applicable only to Paid Web Hosting Members only)
Okay, thanks Shree for explaining open_basedir, Now I know what open_basedir is,
so what is eAccelerator all about?
Every time a PHP script is accessed, PHP usually parses and compiles scripts to bytecode. Once installed, eAccelerator optimizes the compiled bytecode and caches this to shared memory or disk. Upon subsequent accesses to a script, eAccelerator will access cached bytecode if it is available instead of the script being compiled. This avoids the performance overhead of repeated parsing and compilation.
eAccelerator also provides functions for use in PHP scripts that allow access to shared memory, automatic web (content) caching, and other related tasks.
and... How does this eAccelerator affect me?
I hope, you appreciate and support our decisions. We thank you again for choosing ComputingHost as your hosting provider.:-)
Regards,
Shree
Xisto Corporation
NEWS ARTICLE: http://www.xistosupport.com/index.php?_m=n...p;group=default
















