The Home for Magento 2 Excellence

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

1090 Modules
626 Ready
464 Need Help
🏆 Leaderboard
Top 10% by Downloads 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.

342,219
Downloads
3x above avg
15
GitHub Stars
Below average
4y ago
Last Release
9
Open Issues
Build Issues
2/3 checks passed

Build Tests

Composer Install
DI Compile
Templates

Code Quality

CS Coding Standard
1 error , 31 warnings
PHPStan Failed

Tested on Magento 2.4.9

Recent Test History

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

v1.4.0 on Magento 2.4.9
May 26, 2026
v1.4.0 on Magento 2.4.8-p4
Mar 21, 2026
v1.4.0 on Magento 2.4.8-p3
Dec 28, 2025

Looking for Contributors

Dependency injection compilation fails. Your contribution could help the entire Magento community!

Contribute

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.