Trade compliance overview

Restrict site access by country or IP address

This article applies to: All editions

Within your Centercode implementation you have the option to create a trade compliance for your Community. This allows you to block a region or IP from accessing your portal, as well as customize the message that displays when someone tries to access your page from a blocked IP address or country. 

Accessing Trade Compliance

  1. Click the Community logo in the top-left navigation menu
  2. Select Community configuration
  3. Click Trade compliance

Configuring Trade Compliance

Centercode's trade compliance tool offers you two different methods to control how users are allowed or barred from accessing your site, both achieved via IP locality

  • Allowed/Blocked countries
    This interface allows you to allow-list or block-list certain countries from accessing your site (via a Centercode maintained IP registry). Double-click any option to switch it from allowed to blocked or vice versa.
  • IP addresses/ranges
    This setting allows you to specifically allow or block custom IP addresses or ranges of IP addresses
  • Block response
    This setting controls what a user will see if they attempt to access the site from a blocked IP address
    • Redirect to URL
      This setting will redirect the user to an offsite URL of your choosing
    • Message
      This setting will allow you to configure a custom in-site message that will be displayed to users when they are IP blocked

Notes


      • Community-level blocks take priority: If a country or IP is blocked at the community level, users will be blocked even if a project tries to allow them.

      • Project-level blocks can add restrictions: Projects can block additional IPs or regions beyond what’s set at the community level.

      • IP-based blocking: Trade compliance uses the user's IP address, not their self-selected country or location from their account settings or a user profile. For example, A user who claims to be in Canada (via a profile or account settings) won’t be blocked unless their IP also matches a Canadian address.
      • Block based on profile data instead: If you would like to block users who select a certain location on either the My account settings page or a custom form element (e.g. on a user profile), place users on a team with no access. A notice macro can be configured to filter on the desired address field(s) and move users that select an inappropriate country to a new team. This team should then have content set as a block notice to bar those users from accessing the system.