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_LOGtrue
ERROR_SHOWfalse
WIDGET_INSTALLtrue
WIDGET_UNINSTALLtrue
APPLICATION_INSTALLtrue
APPLICATION_ENABLEDtrue
APPLICATION_UNINSTALLtrue
THEME_EDITtrue
CONFIG_UPDATEtrue

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.