This article applies to organisations with a 'Hybrid' setup (both On-Premise Appliance and Cloud), as well as On-Premise only and Cloud only setups.
Categories are used to group URLs, domains, search phrases, file types or video IDs to base filtering policies on. You can use our Standard categories, or create your own Custom categories. For example, you may need to create a custom category to:
- Allow web-enabled network appliances, like VoIP Phones or wireless LAN (WLAN) equipment.
- Provide an exception to filtering policies. For example, you may block the 'News' category, but add Mylocalpaper.co.uk to a custom category to allow access to that site.
If you have a Hybrid setup (both Cloud and On-Premise Appliance), you can manage your Custom Categories and Web Filter Policies in either place. To sync, log out of the On-Premise Appliance, or in Cloud go to Filter > Publishing and select Publish.
On-Premise Appliance
Before you begin
Before creating a new policy, check if the URL is already included in an existing category used in one of your policies.
Add a custom category
- Go to Guardian > Policy Objects > Categories.
- Go to the Manage categories section.
- Enter the Name of your custom category.
- Enter an optional descriptive Comment.
- If you are part of a multi-tenant setup, select the tenants to use this category.
- You can:
- Use the Domain/URL filtering section, enter domains or URLs to block or allow: URL or domain filtering.
- Select Advanced - see the Advanced settings section below.
Tip
If you have items in a list, select Edit in full-text mode and paste the list. To ensure they appear in the list correctly, select Edit in list mode.
- Select Save.
- You can now use this custom category in any Filter, HTTPS Inspection or Content Modification Policy.
Advanced settings
Search Term Filtering
Allows or blocks usage of specific phrases or words users can search for: Search term filtering
URL Patterns
Allows or blocks regular expressions to match domains/subdomains or URL strings. Use a PERL compatible regular expression, per line. For example, adultsite|gambling looks for URLs containing either the word adultsite or the word gambling.
Avoid using brackets ( ), dots ., or asterisks *, as these use a lot of memory.
Tip
Wildcards (.*) are not required at the start or end, as we presume all prefixes and suffixes. For example, you don’t need to add ‘www’, and adding smoothwall\.cloud includes portal.smoothwall.cloud and smoothwall.cloud/filter.
File Types
Allows or blocks specific file extensions. Enter the File types or file name extensions, one per line. You must include the dot - for example, .doc.
Video ID filtering
Allows or blocks videos based on their ID. For example, in the URL youtube.com/watch?v=IDDkcQFrhLk, the video ID is 'IDDkcQFrhLk'.
See our guides for YouTube and Vimeo for examples of using video ID filtering.
Cloud Filter
- Go to Filter > Custom categories.
- Select Add category.
- Enter the Name of your custom category and an optional Description.
- Select All tenants, or select a tenant.
- Enter items into the Domain/URL list or Search Terms tab:
- Domain/URL list: Enter domains or URLs to block or allow: URL or domain filtering
- Search Terms: Allows or blocks usage of specific phrases or words users can search for: Search term filtering
- Select Add category.
- Go to Publishing from the left-hand menu and select Publish.