Auth::setAdvancedSecurity()

Auth::setAdvancedSecurity() -- Enables advanced security features. Turned off by default

Synopsis

void Auth::setAdvancedSecurity ([bool $flag = true])

Description

Enables advanced security features to make man in the middle attacks and session hijacking much harder. Cookies and java script must be enabled on the client browser for some of these features to function correctly.

Enables the following security features of auth

Note: This method is available since 1.3.0

Parameter

boolean $flag

TRUE if you want to enable advanced security features FALSE if you want to disable them.

Note

This function can not be called statically.