GLACIER I am using file manager as SaaS web hosting file manager so I want that the user should not be able to see the license key from config.php Is there any way to hash encrypt/hash it?
This means the user can access config and PHP? It's difficult to hide anything from users who have access to view config and PHP files on server. You could hardcode the license into
index.php using PHP md5(), and then ignore the config license option, leaving it blank. This is just a workaround.
GLACIER How can I do this suppose the file manager is hosted on abc.com and I want that it should use config.php from xyz.com so that my license will be hidden?
Not sure what you mean by this. You can't "remote host PHP" on different hosts (unless they are on the same server). Besides, why does the "user" have access to PHP in the first place? If you want the user to have access, then it will be accessible. May I ask, how does the user have access to Files Gallery
_files/config/config.php? It's not from Files gallery, so must be from your own application? For your information, you can use a file
_filesconfig.php in the same dir as
index.php and point it to another location to load main config from. This could be used to put your main config with license and other options in a non-accessible location for the user (if you are using your own file manager or view).
GLACIER How can I change path suppose I want xyz instead of folder _files?
_filesconfig.php, and assign a different storage_path option. For example
storage_path => '../../path'. Then you can have config file
../../path/config/config.php in a location inaccessible for the user. Or the config file can be shared between multiple users.