LockedBackendGuard implements MiddlewareInterface

Checks various security options for accessing the TYPO3 backend before proceeding

Depends on the NormalizedParams middleware to identify the Site URL and if the page is not running via HTTPS yet.

Internal

Table of Contents

Interfaces

MiddlewareInterface

Methods

process()  : ResponseInterface
Checks the client's IP address and if typo3conf/LOCK_BACKEND is available
checkLockedBackend()  : string|null
Check adminOnly configuration variable and redirects to an URL in file typo3conf/LOCK_BACKEND
validateVisitorsIpAgainstIpMaskList()  : mixed
Compare client IP with IPmaskList and throw an exception

Methods

process()

Checks the client's IP address and if typo3conf/LOCK_BACKEND is available

public process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
Parameters
$request : ServerRequestInterface
$handler : RequestHandlerInterface
Return values
ResponseInterface

checkLockedBackend()

Check adminOnly configuration variable and redirects to an URL in file typo3conf/LOCK_BACKEND

protected checkLockedBackend() : string|null
Tags
throws
BackendLockedException
Return values
string|null

validateVisitorsIpAgainstIpMaskList()

Compare client IP with IPmaskList and throw an exception

protected validateVisitorsIpAgainstIpMaskList(string $ipAddress[, string $ipMaskList = '' ]) : mixed
Parameters
$ipAddress : string
$ipMaskList : string = ''
Tags
throws
RuntimeException

        
On this page

Search results