Create a text file and list the category name and URLs to be filtered. The following is example syntax:
define category HTTP_whitelist
example.com
example1.com
example2.com
end
define category FTP_whitelist
example3.com
example4.com
example5.com
end
Save the text file into a web server folder.
Configure the Edge SWG (ProxySG) to reference the text file:
From the Management Console, select the Content Filtering > Local Database tab.
(Optional: If authentication is required): In the Username field, enter the administrator username; click Change Password and enter the relevant password.
In the URL field, enter the path to the text file on the web server. For example: http://x.x.x.x/Local/CustomLocalDatabase.txt.
Clicking Download Now; click View Download Status to confirm your local database was successfully imported and compiled.
Enable local database filtering on the Edge SWG (ProxySG):
From the Management Console, select the Content Filtering > General tab.
Select Use Local Database.
Click Apply.
Create a policy to enforce the filtering:
Select Configuration > Policy > Visual Policy Manager; click Launch to display the VPM.
In a Web Access Layer (Policy > Add Web Access Layer if one is not already present), right-click a Destination cell and select Set.
In the dialog, click New and select Request URL Category.
Select Local.
Click OK to close all dialogs and click Install Policy button to enable the policy configuration.