How do I create a whitelist of IPs that can access the control panel?

By default, the program's only layer of protection against access to the admin control panel is your employee's username and password. If you wish to add an additional layer of protection, the program allows you to create a "whitelist" of approved IPs that can access the administrative control panel. Any IP not on this list will not even be able to see the admin login screen.

To control this list, access your server using an FTP client, and edit the file located at "admin/sd-system/ip_whitelist.php".

On this file you will see the following:

<?php
$whitelist_ips = array();
// $whitelist_ips[] = '123.123.123.123';
// $whitelist_ips[] = '456.456.456.456';

In the above state, the white list feature will not be used by the program. However as soon as an IP is added to the list

To add a whitelisted IP, simply add the following line to the bottom of the file:

$whitelist_ips[] = 'WHITELISTED IP HERE';

So if your IP is "1.2.3.4", you would input:

$whitelist_ips[] = '1.2.3.4';

You can find your IP by visiting this webpage.

Article Links

  • No internal page links.

Related Articles

Article Tags

  • No tags found.

Details

Published on 2013/03/09.
Last updated on 2013/03/09.

Was this article helpful?
Yes (0) - No (0)

Share This Article