MCFileManager:Configuration/general.encrypt paths

From Moxiecode Documentation Wiki

Jump to: navigation, search

Contents

Option: general.encrypt_paths

This option will encrypt all paths that are passed to front-end and decrypt them when they are passed back. In other words absolute paths like /www/root/site/images/file.gif will be encrypted into {0}images/file.gif so that it's impossible to see the directory structure on the server below the rootpath point.

Example of usage in the config.php file

$mcFileManagerConfig['general.encrypt_paths'] = true;

Example of usage in the Web.Config file

<add key="general.encrypt_paths" value="true" />

Example of usage in a mc_access file

general.encrypt_paths=true
Personal tools