How to restrict access some Service Portal Pages/Widgets based on IP address rangeSummaryHide Page/Widget on Service Portal if the transaction from particular IP (Internet Provider) AddressInstructions1. Activate the Plugin "Service Portal User Criteria Support". 2. Create IP Rage table. 3. Go to "Service Portal -> Properties". 4. Enable the System Property "Enable use of User Criteria records instead of Roles fields for Service Portal entitlements". 4. Go the Page, Widget or Widget Instance need to be blocked from certain IP Addresses. 5. Create a User Criteria, for example, "Cannot View" User Criteria. Advanced: trueScript: Use the API "gs.getSession().getClientIP().toString();" to get the IP Address of the current transaction. Compare the IP Address to the IP Range table created in Step 2If the transaction IP Address is in the block IP Address rage, return true. Otherwise, return false.