Securing some sources..

Hi,

I've already done this before, but I forgot to note it..

When I install my system to a customer web hosting account (I have root). I want to be able to hide a directory from a user but apache need to be able to read-exec it.

dir : /home/user/public_html/

dir to hide : /home/user/public_html/system/

I've tried
chown -R nobody system/
chmod -R 700 system/

I've tried with 750 too..

The user can't read it, but apache can't too ;(

My server use cPanel.

Can someone help me ?

Thanks,
Matt

 

 

 

 

Top