📊 State of Magento 2025

The Home for Magento 2 Excellence

Quality-tested Magento 2 modules. Explore. Evaluate. Elevate. #magento2

613 Modules
401 Ready
211 Need Help
🏆 Leaderboard
Popular Module Potentially Abandoned v1.4.0

MSP AdminRestriction IP

msp/adminrestriction

Restricts Magento backend access to specified IP addresses. Prevents unauthorized logins by limiting access based on IP.

332,467
Downloads
Above average
15
GitHub Stars
Below average
4y ago
Last Release
9
Open Issues
Build Passing
Ready to install

Build Tests

Composer Install
DI Compile
Templates

Code Quality

CS Coding Standard
1 error , 31 warnings
PHPStan Failed

Tested on Magento 2.4.8-p3

Recent Test History

Each release is tested against the latest Magento version at that time.

v1.4.0 on Magento 2.4.8-p3
Dec 28, 2025

Share This Module's Status

MSP AdminRestriction IP Magento compatibility status badge

README

Loaded from GitHub

MSP AdminRestriction

Deny access to Magento backend from unauthorized IPs.

This module represents one of the most effective Magento backend protection policy.

Member of MSP Security Suite

See: https://github.com/magespecialist/m2-MSP_Security_Suite

Did you lock yourself out from Magento backend? click here.

Installing on Magento2:

1. Install using composer

From command line:

composer require msp/adminrestriction php bin/magento setup:upgrade

2. Enable and configure from your Magento backend config

Emergency commandline disable:

If you messed up with IP list, you can disable or change authorized ip list from command-line:

Disable filter:

php bin/magento msp:security:admin_restriction:ip disable

Authorize a new IP list:

php bin/magento msp:security:admin_restriction:ip 127.0.0.1,192.168.0.0/24

This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.