Magento 2 Experts — Hyvä Theme, Tailwind CSS & SEO from a Single Source ›

Magento 2 Admin IP Whitelist: Backend Only for Approved Addresses

Magento 2 Extension Hyvä Ready Magento 2.4.x

SKU: ADMINIPWHITELIST1

  • admin reachable only from approved IPs and networks
  • IPv4, IPv6 and CIDR, approvals with expiry date
  • emergency access via console and secret key
  • log of blocked requests with retention period
Auf Lager
€79.00

Einmaliger Kauf · inkl. 12 Monate Updates · zzgl. MwSt.

No download, but personal setup

No download, but personal setup. This product is not a downloadable software package for self-installation. With your order, you commission Mironsoft to individually set up this module in your shop. We will get in touch with you within 2 business days — we'll sort out the details and payment together then.

This offer is aimed at business owners and companies running a Magento 2 shop.

6 Features

Magento 2 Admin IP Whitelist: backend only from approved addresses

With the Mironsoft Magento 2 Admin IP Whitelist only approved IP addresses and networks can reach your admin area. Everyone else sees a neutral error page before the login form even appears. You maintain the list in the backend, enter single addresses or whole network ranges and keep control through an emergency access even when your own address changes. The storefront pages of your shop are not affected.

Single IP addresses

Enter IPv4 and IPv6 as single addresses, with a label and a note on who owns them.

Network ranges

Approve whole ranges in CIDR notation, such as the office network or a VPN pool.

Time-limited

Approvals with an expiry date, for example for service providers during a project.

Emergency access

A console command and a secret emergency key lift the block if you have locked yourself out.

Lockout protection

When saving, the module warns you if your current address is not on the list.

Block log

Blocked requests with time, address and path, optionally with an email notification.

Why IP approval

Why a Magento 2 Admin IP Whitelist reduces the attack surface

The admin area is the target of automated attacks: bots try passwords, look for known paths and probe outdated modules. A strong password and two-factor login help, but the login form stays reachable for the whole world. Every attempt loads the server and fills the log files.

A Magento 2 Admin IP Whitelist turns the principle around. Whoever is not on the list never reaches the form. That saves server load, makes attacks pointless and combines with the protections you already have. For teams with a fixed office or a VPN it is one of the most effective measures for little effort.

01Maintain the list

Magento 2 Admin IP Whitelist: manage addresses and networks in the backend

You find the list of the Magento 2 Admin IP Whitelist in the admin under the module menu. Every entry consists of an address or network range, a label and optionally an expiry date. A CSV import makes the start easier, an export documents the current state. Changes apply at once, without clearing the cache and without restarting the server.

  • IPv4, IPv6 and CIDR ranges
  • Label and note per entry
  • CSV import and export of the list
Admin › Security › Admin IP Whitelist
203.0.113.10 (example)Berlin office
198.51.100.0/24 (example)VPN pool
192.0.2.55 (example)until Nov 30
Configuration › Block page
Response
404 (example)
Affected area
admin path
Storefront
not affected
02Block page

What outsiders see: a neutral error page instead of the login form

Depending on the setting, the Magento 2 Admin IP Whitelist gives an address that is not approved a 403 page, a 404 page or a redirect to the home page. The login page and the admin path are not given away. Subpages and asset paths of the backend are covered as well. The check runs early in the process, before the session starts, and therefore costs hardly any processing time.

  • 403, 404 or redirect selectable
  • Check before the session starts
  • Subpages of the backend included
03Proxy and CDN

Detect the real address behind a proxy, load balancer or CDN

If the shop runs behind a proxy, the server initially sees only its address. That is why you enter trusted proxies in the configuration and choose the header from which the visitor address is read. Headers from unknown senders are ignored so that nobody can fake an address. This way the Magento 2 Admin IP Whitelist also works reliably with a CDN in front.

  • Enter trusted proxies
  • Choose the header for the visitor address
  • Forged headers from unknown senders ignored
Configuration › Proxy
Trusted proxy
10.0.0.5 (example)
Header
X-Forwarded-For
Current address
203.0.113.10 (example)
Admin › Security › Block log
Blocked 02:14path /admin (example)
Emergency access 09:31key used
Log is deleted after 30 days (example value)
04Emergency access

Emergency access and log for when your own address changes

If your address changes or the VPN fails, the emergency access helps. Through the console you disable the check with one command, or you open a secret address with the emergency key, which is valid for a limited time. Every emergency access and every blocked request ends up in the log. The stored addresses are personal data, so you set the retention period and the shop operator checks the legal side.

  • Console command to disable
  • Emergency key with expiry
  • Log with adjustable retention
Use cases

Where the Magento 2 Admin IP Whitelist helps in daily work

Typical situations in which a fixed access list creates security.

Team with a fixed office network

All staff work from the office or over a VPN. The admin is reachable only from these networks, every outside request leads nowhere.

External service providers

An agency receives a time-limited approval for the project period. After the expiry date the access closes by itself.

Shops targeted by bots

Anyone who sees thousands of login attempts in the log every day relieves the server and the log files with the Magento 2 Admin IP Whitelist and calms the evaluation.

Addition to two-factor login

Two-factor login checks the person, the Magento 2 Admin IP Whitelist checks the place. Both together close more gaps than either alone.

Comparison

Magento 2 Admin IP Whitelist: without and with the module

The difference to an open login form.

TopicWithout the moduleWith Mironsoft Admin IP Whitelist
ReachabilityLogin form visible worldwideOnly from approved networks
Server loadEvery bot attempt reaches MagentoRejected before the session starts
Service providersPermanent accessTime-limited approval
LockoutNo protection against misconfigurationWarning and emergency access
EvidenceScattered log linesBlock log
Setup

How we set up the Magento 2 Admin IP Whitelist for you

The process after your order.

1

Briefing

You tell us office addresses, VPN ranges and service providers who need access, and whether a proxy or CDN sits in front.

2

Installation

We install the module and enter the addresses. The Magento 2 Admin IP Whitelist stays in test mode at first, without blocking.

3

Emergency access

We set up the console command and the emergency key and decide together where the key is stored safely.

4

Test

We check access from approved and foreign networks, behind the proxy and with expired entries.

5

Go live

Only after the test do we activate the block and introduce your team to maintaining the list.

Scope

Scope compared with Security Suite, Google reCAPTCHA and brute force protection

The Mironsoft Security Suite bundles general protective measures for the shop, Google reCAPTCHA checks whether a human fills in the form, and brute force protection locks after failed logins. The Magento 2 Admin IP Whitelist works upstream: it decides solely by the origin of the request whether the admin is reachable at all.

All modules can be combined. The administration in the admin needs no additional JavaScript library.

05How the purchase works

No download, but a personal setup

The Magento 2 Admin IP Whitelist is not listed here as a finished download file for self-installation. The purchase is a commission: we contact you after the purchase, install the module in your shop and agree addresses, emergency access and block page with you.

Important to know

Your purchase does not include a download link. We will get in touch with you within 2 business days — we'll sort out the details and payment together then. This offer is aimed at business owners and companies running a Magento 2 shop.

FAQ

Frequently asked questions

Everything important about approval, emergency access, proxies and how the purchase works.

How can I allow the Magento 2 admin only for certain IP addresses?
With the Magento 2 Admin IP Whitelist you enter allowed addresses or network ranges in the backend. All other visitors receive a neutral error page instead of the login form.
What happens if my IP address changes?
Then the emergency access helps: a console command or a time-limited emergency key lifts the block, and you enter the new address.
Are IPv6 addresses supported too?
Yes, single addresses and CIDR ranges are possible for IPv4 and IPv6.
Can I limit approvals in time?
Yes. Every entry can get an expiry date, after which the address is no longer admitted.
Does it work behind a proxy or CDN?
Yes, if you enter the trusted proxies and choose the matching header. Headers from unknown senders are ignored.
Are the shop and the customers affected?
No, the check applies only to the admin area. The storefront pages stay reachable for all visitors.
Does the Magento 2 Admin IP Whitelist work with Hyvä?
The block concerns the admin and is independent of the frontend theme, so it can be used with Hyvä too.
How are stored IP addresses treated under data protection law?
IP addresses count as personal data. You set the retention of the log, the legal review is up to the shop operator.
Does the list replace two-factor login?
No. The Magento 2 Admin IP Whitelist checks the origin, two-factor login checks the person. They complement each other.
Can I download and install the module myself?
No. This offer is not a download product. After the purchase we install and configure the module for you personally in your shop.
Write Your Own Review
You're reviewing: Magento 2 Admin IP Whitelist – Mironsoft
loader
Loading...

You submitted your review for moderation.

This form is protected by reCAPTCHA - the Google Privacy Policy and Terms of Service apply.

Magento 2 Admin IP Whitelist – Mironsoft

Magento 2 Admin IP Whitelist – Mironsoft

€79.00