I have a file manager script, and i do not want the users who have php files in a folder above the file manager to be able to use the functions show_source() to view copyrighted script sources, ini_set() to make drastic changes to php, or any other potentially dangerous security risk functions like that.
I'm just baffled a bit on how to disable their use of certain functions like that and keep them for my use. And how to implement the changes, it's kind of a weird topic to search around for, any ideas on doing this?
Thanks!
File manager script security...
Moderator: General Moderators
see: http://www.php.net/manual/sl/features.s ... -functions
unfortunatly (for you) this is a PHP_INI_SYSTEM parameter thus it can only be set in php.ini affecting all your scripts.
unfortunatly (for you) this is a PHP_INI_SYSTEM parameter thus it can only be set in php.ini affecting all your scripts.