About This File
The Forced IP protection (fipp) module blocks access to the admin panel from unauthorized IP addresses. In order to prevent unauthorized changes, the fipp module is not displayed in the list of modifiсations. Also, the fipp module does not have a user interface in the admin panel.
To activate the module, you need to enter the license key in the ip_restrictions_enabled file. The file is located in the root of the site. IP addresses from which access to the admin panel is allowed are entered in the ip_allowed.txt file, separated by commas. The ip_allowed.txt file is also located in the root of the site. So, to access the admin panel, an attacker will need at least access to ftp
In general, the module is designed to filter and guarantee access to the admin panel only from enterprise computers.
Installation:
To install the Forced IP protection module, you need to upload the FIPProtection.ocmod.zip modifiсation file in the administrative panel of your site in the Add-ons -> Install Add-ons section.
The ending of the name indicates the OpenCart version. FIPProtection.ocmod.zip is suitable for all OpenCart/OcStore versions. However, if there is a file ending with, for example, oc20 for your version (this is for OpenCart/OcStore 2.0.x.x), then in this case you should use it.
After the module is installed, go to Modules/Add-ons -> Add-ons Manager/Modifiсations and refresh the modifiсations cache (icon in the upper right corner).
Then go to the root of the site via ftp and enter the license key into the ip_restrictions_enabled file
After that, open the ip_allowed.txt file for editing from the site root and enter the IP addresses separated by commas. You can find the IP address of your computer, for example via the 2ip.ua service.
After the next exit from the admin panel and attempt to log in, the module will resrict access to the admin panel with the IP addresses from which they are trying to access the admin panel.
Temporary disable/enable:
To temporarily disable the module, rename the ip_restrictions_enabled file in the root of the site. Renaming it back to ip_restrictions_enabled will reactivate the module.
Uninstall:
To completely remove the module, you need to erase the license key from the ip_restrictions_enabled file and write the remove word
After that, you need to log out and log in again into the admin panel. In some cases, you can't log in the first time. Then click the Login button again.
Immediately after logging in, go to Modules/Add-ons -> Add-on Manager/Modifiсations and refresh the modifiсations cache (icon in the upper right corner).
As a result of these actions, the module will be completely removed. You will only have to manually delete the ip_restrictions_enabled and ip_allowed.txt files in the root of the site.
To get a license key, please write me a private message with email/domain name of the person who purchased the module. I need the following information :
- Module name
- Domain name of your store
- Domain name of your test store for 2 weeks (if you have). Testing is allowed within 2 weeks.
- Your email address where to send the key