Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
titleThis configuration option was added in Profound.js 4.9.0.

Previous versions allow access to the Connector from any remote host. 

This option is used to control access to Connector APIs from remote hosts on a Profound.js instance installed on IBM i. By default, no access to Connector APIs is allowed from remote hosts. To allow access, this property can be set to an array of IP addresses to allow, or to a function that will be invoked before each request to check the IP address. The IP address for each request will be passed to the function. If the function returns Boolean true, the request will be allowed. Otherwise the request will be denied.


Code Block
titleAllow access from specific IPs
connectorIPFilter: ["", ""]
Code Block
titleAllow access from entire subnet
  connectorIPFilter: function(ip) {
    if (ip.indexOf("192.168.1.") == 0)
	  return true;