Default security configuration settings

From PhpInputValidator

Jump to: navigation, search

These are the default security configuration settings for phpInputValidator

Contents

append

'append' => ''

email_from

'email_from' => ''

function

'function' => ''

htaccess_location

'htaccess_location' => ''

log_file

'log_file' => 'security_log.txt'

scan_both

'scan_both' => array(
        '/\.?\.\//',    //Look for ../ or ./
        '|//|',         //Look for //
        '#\w?\s?union\s\w*?\s?(select|all|distinct|insert|update|drop|delete)#is',      //Union attacks
)

scan_get

'scan_get' => ''

scan_post

'scan_post' => ''

swift_mailer_path

'swift_mailer_path' => ''