Calculates if the host has access to a certain, defined by a record

Installs: 15

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0


v1.0.1 2021-03-31 19:56 UTC

This package is auto-updated.

Last update: 2024-06-29 03:47:00 UTC



TYPO3 whitelist for IPs to secure certain API services individually


1. Add a record

Add a record through the backend in a folder type page. The record consists out of 3 fields:

  1. A title (describing who / what gets access for what)
  2. An IP list. (At least one) A list (comma separated) of IPs allowing access to an extension or all extensions.
  3. The extension or select Global to allow access to all.

With the following code the requested extension matches IP and extension. If a match is found, access is granted.

Add test code to your API

This code results in a false if there is no access granting record

if (!RemoteWhitelistController::isHostAllowed('myExtension')) {
    // Do access denied stuff

Make sure to change the name of your extension, myExtension in the code above.

Whats new in this version


  • This version work with TYPO3 v10.3.