ConfigurationSecure Publish Web Service

Secure Publish Web Service

Sana Commerce 8.2
Your provider

Secure Publish Web Service

The Publish Web Service should be secured to prevent the preview functionality from being a security vulnerable. The IP address of the calling web service will always be checked. Therefore, the allowed IP address (ranges) in the 'PublishWebServiceIpCheck' configuration value must be specified.

By default the calls from the server where the Starter Site is installed are allowed. Thus if the Starter Site and backoffice are installed on the same server this chapter should be skipped.

In case if the Starter Site and the backoffice are installed on the different servers you should add the backoffice IP address to the configurable list of allowed IP addresses.

To configure the allowed IP address (ranges):

Step 1: Open the 'web.config' file which is located in: 'SDK\StarterSite\Management\Web.config'.

Step 2: Locate 'PublishWebServiceIpCheck' application setting:

<?xml version="1.0"?>
                    <add key="PublishWebServiceIpCheck" value=""/>

Step 3: Specify allowed IP addresses (ranges).

Possible IP (ranges) formats:
  • regular IP (e.g.;
  • IP with wildcards (e.g. 10.*.*.*);
  • IP range (e.g.
Multiple values can be separated by the '|' character.
ConfigurationSecure Publish Web Service