Restrict Remote Access to the PPM Purge Tool to Specified IP Addresses

If you need to access the PPM Purge Tool remotely, you may want to restrict remote access to the PPM Purge Tool to specified IP addresses .

  1. Go to the <purge_home>/jetty/webapps/ROOT/WEB-INF directory.
  2. Open the web.xml file.
  3. Add IP addresses you would allow remote access to the purge tool to the <param-value> line. The IP addresses shall be separated by commas.

    For example, if you want to allow remote access from the IP address of 126.1.1.1, add it behind the default value for the <param-value> line as follows:

    <filter>
        <filter-name>RemoteIpFilter</filter-name>
        <filter-class>com.kintana.purge.filter.RemoteIpFilter
    </filter-class>
        <init-param>
            <param-name>allow</param-name>
            <param-value>127\.0\.0\.1,0\:0\:0\:0\:0\:0\:0\:1,126\.1\.1\.1</param-value>
        </init-param>
    </filter>
  4. Save the file.

Note: The default value of 127\.0\.0\.1,0\:0\:0\:0\:0\:0\:0\:1 for <param-value> means support for IPv4 and IPv6 localhosts.