Web Templates

To customize both the appearance and content of messages that are displayed to users, you can upload HTML files to Sophos UTM on AWS. As a guide, Sophos provides several sample templates. These templates show you how to use variables that can dynamically insert information that is relevant for individual user messages. For example, if a file is blocked because it contains a virus, you can include a variable that inserts the name of the virus that was blocked.

Customizing Web Templates

Caution – Customizing Sophos UTM on AWS notifications is an advanced topic. Only those with sufficient knowledge of HTML and JavaScript should attempt these tasks.

You can upload custom versions of Sophos UTM on AWS notifications, including block messages, status messages, error messages, and authentication prompts. The four sample templates contain working examples of variables as well as several sample images. Either use the sample templates as a basis for your custom messages and notifications or upload your own HTML files. Valid variables are described in Using Variables in Sophos UTM on AWS Web Templates in the Sophos Knowledge Base.

If you want to use the text from a message configured on the Web Messages tab, you can insert the appropriate variable in your custom template. For more information, see chapter Web Messages.

To download the sample templates and images, click the link below, and save the .zip file:

http://www.astaro.com/lists/Web_Templates.zip

Note – The zip file contains examples with and without embedded images. If an image is embedded into an HTML file, you do not need to upload the corresponding image.

Uploading Custom Web Templates and Images

Once you have edited and saved your custom template, you are ready to upload it to Sophos UTM on AWS.

To upload a web template or image:

  1. Open the Upload File dialog window.

    Click the Folder icon next to the name of the type of template that you want to upload, or click the Folder icon next to Images if you want to upload an image.

    Note – The supported file types are .png,.jpg, .jpeg, and .gif. Use embedded images and stylesheets with HTTPS connections.

    The Upload File dialog window opens.

  2. Select the template or image.

    Browse to the location of the template or image that you want to upload.

    Once you have selected the template or image, click Start Upload.

    The Upload File dialog window closes.

  3. Click Apply.

    The template or image will be uploaded.