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

Properties

$lockService  : BackendLocker

Methods

__construct()  : mixed
process()  : ResponseInterface
Checks the client's IP address and the availability of LOCK_BACKEND file, location may vary, @see BackendLocker->isLocked().
checkLockedBackend()  : string|null
Check adminOnly configuration variable and redirects to an URL in file LOCK_BACKEND. Location may vary, @see BackendLocker->isLocked().
validateVisitorsIpAgainstIpMaskList()  : void
Compare client IP with IPmaskList and throw an exception

Properties

Methods

process()

Checks the client's IP address and the availability of LOCK_BACKEND file, location may vary, @see BackendLocker->isLocked().

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 LOCK_BACKEND. Location may vary, @see BackendLocker->isLocked().

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 = '' ]) : void
Parameters
$ipAddress : string
$ipMaskList : string = ''

        
On this page

Search results