Koben.IpRestrictor

Umbraco package that allows to restric ip-based access to the backoffice.


Keywords
Umbraco, access, backoffice, ip, restrict
License
MIT
Install
Install-Package Koben.IpRestrictor -Version 1.1.0

Documentation

IPRestrictor

Umbraco package that allows to restrict ip-based access to the backoffice.

Installation

Nuget

NuGet

Umbraco Package

Umb

Usage

A new tab titled 'Restrict backoffice access' will be created on the Settings section. To add a new ip just use the provided form. You can enter a range of addresses or only one address if you enter the same value in both inputs. Click the 'Add' button to add it to the list.

Don't forget to click 'Save' when you are happy with your whitelist.

Add package

The package includes an http module that checks the range of ips entered on the backoffice. The values are saved on the cache so the file is not continuosly read. If the client's ip is not whitelisted it returns a 403. It's up to you to manage that code.

Dealing with the 403 code

When the client ip is forbidden, the system will return a 403 error (forbidden). This returns a blank page. You can set up the page that the user will see following this docs:

Limitations

Currently only working for IPv4

Releases

V1.1 - Added CSV parser for better aliases support