Security: More Security options
Limny 4 uses default security options that can be customized under security.php file. If the file does not exist you can create it to the root directory. The options must declare using php define function.
Name | Default value |
ERROR_LOG | true |
ERROR_SHOW | false |
WIDGET_INSTALL | true |
WIDGET_UNINSTALL | true |
APPLICATION_INSTALL | true |
APPLICATION_ENABLED | true |
APPLICATION_UNINSTALL | true |
THEME_EDIT | true |
CONFIG_UPDATE | true |
Example (security.php):
<?php define('ERROR_LOG', 'true') define('ERROR_SHOW', 'false') define('WIDGET_INSTALL', 'true') define('WIDGET_UNINSTALL', 'true') define('APPLICATION_INSTALL', 'true') define('APPLICATION_ENABLED', 'true') define('APPLICATION_UNINSTALL', 'true') define('THEME_EDIT', 'true') define('CONFIG_UPDATE', 'true') ?>
Is it necessary?
You can disable unnecessary options. It is the way to protect system against changing settings and editing files if administrator signing information was leaked.