prij/silverstripe-iprestrictedpage

There is no license information available for the latest version (dev-master) of this package.

Simple SilverStripe module that allows pages to be viewable to certain IP addresses only.

dev-master 2016-01-04 10:53 UTC

This package is not auto-updated.

Last update: 2024-04-13 16:18:07 UTC


README

Simple Silverstripe module that allows pages to be viewable to certain IP addresses only.

Installation

Install the module using Composer or by downloading and extracting itinto the project root folder. Run dev/build?flush=all.

The module extends Page and Page_Controller, so the option is available across all pages.

Usage

Add IP addresses for each page in the Allowed IP Addresses textfield under the Settings tab for that page. If valid IP addresses are entered in this field, the page will be viewable only by those visiting from the listing IP addresses.

To disable, clear the Allowed IP Addresses field.