ILIAS
trunk Revision v11.0_alpha-1744-gb0451eebef4
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
getUnsafeGetCommands () | |
This method must return a list of unsafe GET commands. More... | |
getSafePostCommands () | |
This method must return a list of safe POST commands. More... | |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Interface ilCtrlSecurityInterface provides ilCtrl security information.
Information gathered by this interface is stored in an artifact as well. Currently, the only purpose is to gather a list of safe commands which determines whether a CSRF-protection is necessary.
Definition at line 29 of file interface.ilCtrlSecurityInterface.php.
ilCtrlSecurityInterface::getSafePostCommands | ( | ) |
This method must return a list of safe POST commands.
Safe post commands returned by this method will no longer be CSRF protected and will NOT be appended by an ilCtrlToken.
Implemented in ilObjForumGUI, ilLMPresentationGUI, ilStartUpGUI, ilPasswordAssistanceGUI, ilObjChatroomGUI, ilObjComponentSettingsGUI, and ilCtrlCommandClass1TestGUI.
ilCtrlSecurityInterface::getUnsafeGetCommands | ( | ) |
This method must return a list of unsafe GET commands.
Unsafe get commands returned by this method will now be CSRF protected, which means an ilCtrlToken is appended each time a link-target is generated to the class implementing this interface with a command from that list.
Tokens will be validated in
Implemented in ilObjForumGUI, ilLMPresentationGUI, ilStartUpGUI, ilPasswordAssistanceGUI, ilObjChatroomGUI, ilObjComponentSettingsGUI, and ilCtrlCommandClass1TestGUI.