php - Allow to include a script but prevent file system access to it -
related search seem have rather unpopular problem. have server running plesk , multiple customers set separate web space each (no ssh access). further there "main" script repository put outside apache folders have single instance maintain , prevent direct access via http (instead using open_basedir allow customers include scripts). far, good.
now want achieve noone should able view contents of included files (e.g. via file_get_contents). more want include/require: yes, access @ file-system level: no. possible above setup? or approach totally wrong in order achieve this? or there solution?
best regards
andy
Comments
Post a Comment