TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Reports\Report\Status\SecurityStatus Class Reference
Inheritance diagram for TYPO3\CMS\Reports\Report\Status\SecurityStatus:
TYPO3\CMS\Reports\StatusProviderInterface tx_reports_reports_status_SecurityStatus

Public Member Functions

 getStatus ()
 

Protected Member Functions

 getCacheFloodingProtectionStatus ()
 
 getEncryptionKeyStatus ()
 
 getFileDenyPatternStatus ()
 
 getHtaccessUploadStatus ()
 
 isMemcachedUsed ()
 
 executeAdminCommand ()
 
 getInstallToolPasswordStatus ()
 
 getInstallToolProtectionStatus ()
 

Detailed Description

Performs several checks about the system's health

Author
Ingo Renner ingo@.nosp@m.typo.nosp@m.3.org

Definition at line 26 of file SecurityStatus.php.

Member Function Documentation

◆ executeAdminCommand()

TYPO3\CMS\Reports\Report\Status\SecurityStatus::executeAdminCommand ( )
protected

◆ getCacheFloodingProtectionStatus()

◆ getEncryptionKeyStatus()

TYPO3\CMS\Reports\Report\Status\SecurityStatus::getEncryptionKeyStatus ( )
protected

Checks whether the encryption key is empty.

Returns
An object representing whether the encryption key is empty or not

Definition at line 103 of file SecurityStatus.php.

References $GLOBALS, TYPO3\CMS\Reports\Status\ERROR, TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance(), and TYPO3\CMS\Reports\Status\OK.

Referenced by TYPO3\CMS\Reports\Report\Status\SecurityStatus\getStatus().

◆ getFileDenyPatternStatus()

TYPO3\CMS\Reports\Report\Status\SecurityStatus::getFileDenyPatternStatus ( )
protected

Checks if fileDenyPattern was changed which is dangerous on Apache

Returns
An object representing whether the file deny pattern has changed

Definition at line 121 of file SecurityStatus.php.

References $GLOBALS, $result, TYPO3\CMS\Reports\Status\ERROR, TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance(), TYPO3\CMS\Reports\Status\OK, and TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

Referenced by TYPO3\CMS\Reports\Report\Status\SecurityStatus\getStatus().

◆ getHtaccessUploadStatus()

TYPO3\CMS\Reports\Report\Status\SecurityStatus::getHtaccessUploadStatus ( )
protected

Checks if fileDenyPattern allows to upload .htaccess files which is dangerous on Apache.

Returns
An object representing whether it's possible to upload .htaccess files

Definition at line 143 of file SecurityStatus.php.

References $GLOBALS, TYPO3\CMS\Reports\Status\ERROR, TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance(), TYPO3\CMS\Reports\Status\OK, and TYPO3\CMS\Core\Utility\GeneralUtility\verifyFilenameAgainstDenyPattern().

Referenced by TYPO3\CMS\Reports\Report\Status\SecurityStatus\getStatus().

◆ getInstallToolPasswordStatus()

TYPO3\CMS\Reports\Report\Status\SecurityStatus::getInstallToolPasswordStatus ( )
protected

◆ getInstallToolProtectionStatus()

◆ getStatus()

◆ isMemcachedUsed()

TYPO3\CMS\Reports\Report\Status\SecurityStatus::isMemcachedUsed ( )
protected

Checks whether memcached is configured, if that's the case we assume it's also used.

Returns
boolean TRUE if memcached is used, FALSE otherwise.

Definition at line 160 of file SecurityStatus.php.