10.5. Content types

Based on filtering by content type, you can block downloads of certain files, e.g. prohibit all *.doc files.

You can also subscribe for additional content types offered by UserGate. Note that these lists of content types are read-only. You will also need the corresponding license to use them. For more details on product licensing, please refer to UserGate licensing.

To set up filtering by content type, perform the following steps:

Name

Description

Step 1. Create a new list of content types or select a predefined list from UserGate

Click Add and specify the name for the new list of content types.

Step 2. Add the necessary MIME types to your list

Add the content types you want to prohibit in the MIME format. You can find description of various MIME types on the Internet, e.g.: https://www.iana.org/assignments/media-types/media-types.xhtml.

For example, to block all *.doc files, add the following MIME type: application/msword.

Step 3. Create a new content filtering rule containing one or more lists

Please refer to Content filtering.

Network administrators can create custom lists of content types and distribute them from a single center to all UserGate servers. To create a new list of IP addresses, perform the following steps:

Name

Description

Step 1. Create a new file with necessary content types

Create a new file called list.txt containing a list of content types.

Step 2. Put this file into a new archive

Zip the file into a new archive called list.zip.

Step 3. Create a new file with the necessary version of your list

Create a new file called version.txt and specify the list version (e.g. "3") in it. Make sure to increment this value each time you update the list.

Step 4. Publish files on your web server

Publish list.zip and version.txt on your website and make them available for download.

Step 5. Create a new list of content types and provide an URL for installing updates

Create a new list of content types on every UserGate server. When creating a new database, make sure to provide an URL for installing updates. UserGate will be checking for a new version on your website every 4 hours and automatically update your list once a newer version is released.