Absolute Path stored in Environment Variable
Posted: Fri Jul 24, 2009 11:23 am
Here is the thing,
I have my own dedicated server and intend to put future customers on shared hosting on it.
Some of the customers will be using PHP code we built and located in a folder which is placed likely to PEAR folder and all, and some other customers won't have access to this PHP code.
I've added the absolute path of this folder in the php.ini,
I've added an environement variable containing the absolute path from the shell,
and made environment variables accessible by changing this in the php.ini: variables_order = "EGPCS" instead of "GPCS"
My question is:
Will the last step be a security issue on a shared hosting server, if yes, what will that be?
And if any other security issues should be considered, you would be kind to let me know.
Thank You
I have my own dedicated server and intend to put future customers on shared hosting on it.
Some of the customers will be using PHP code we built and located in a folder which is placed likely to PEAR folder and all, and some other customers won't have access to this PHP code.
I've added the absolute path of this folder in the php.ini,
I've added an environement variable containing the absolute path from the shell,
and made environment variables accessible by changing this in the php.ini: variables_order = "EGPCS" instead of "GPCS"
My question is:
Will the last step be a security issue on a shared hosting server, if yes, what will that be?
And if any other security issues should be considered, you would be kind to let me know.
Thank You