WebMail Pro 8 documentation

Restricting and disabling admin access

By default, admin can log into WebMail Pro 8 interface using superadmin login and empty password. Upon logging in, it's possible to change admin password, as well as admin login username if necessary. Admin credentials can be reset as shown here.

If you wish to restrict admin access so that it can only be available from one or several IP addresses, that's done by editing data/settings/modules/AdminAuth.config.json configuration file:

{
    "Disabled": [
        true,
        "bool"
    ],
    "SuperadminWhitelistIp": [
        [],
        "array"
    ]
}

NB: if AdminAuth.config.json file is missing under data/settings/modules directory, be sure to click "Update configuration" button in Database Settings screen of admin interface.

You can supply the list of IP addresses under SuperadminWhitelistIp parameter, for example:

    "SuperadminWhitelistIp": [
        ["12.34.56.78","1.234.5.67","123.45.67.8"],
        "array"
    ]

and if the array is empty, that means all the restrictions are lifted.

If you need to disable admin access entirely, you can set Disabled to true in data/settings/modules/AdminAuth.config.json file. You'll still be able to edit configuration files directly, of course, this is only about blocking WebMail Pro 8 admin access via web.

The same effect can be achieved by setting AdminLogin to an empty string in main in data/settings/config.json configuration file.