Download the PHP package bitpatroon/bpn_whitelist without Composer
On this page you can find all versions of the php package bitpatroon/bpn_whitelist. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download bitpatroon/bpn_whitelist
More information about bitpatroon/bpn_whitelist
Files in bitpatroon/bpn_whitelist
Download bitpatroon/bpn_whitelist
More information about bitpatroon/bpn_whitelist
Files in bitpatroon/bpn_whitelist
Vendor bitpatroon
Package bpn_whitelist
Short Description Calculates if the host has access to a certain, defined by a record
License GPL-2.0-or-later
Package bpn_whitelist
Short Description Calculates if the host has access to a certain, defined by a record
License GPL-2.0-or-later
Please rate this library. Is it a good library?
Informations about the package bpn_whitelist
bpn_whitelist
TYPO3 whitelist for IPs to secure certain API services individually
Usage:
1. Add a record
Add a record through the backend in a folder type page. The record consists out of 3 fields:
- A title (describing who / what gets access for what)
- An IP list. (At least one) A list (comma separated) of IPs allowing access to an extension or all extensions.
- 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
2020-04-08
- This version work with TYPO3 v10.3.
All versions of bpn_whitelist with dependencies
PHP Build Version
Package Version
The package bitpatroon/bpn_whitelist contains the following files
Loading the files please wait ...