Prerequisites

This feature is very technical and this documentation is only for technical experts.
You should be familiar with HTTP protocol as well as HTTP Headers.

Overview

Some use case might require that Terminal Service Plus web server returns one or more custom HTTP Headers in addition to the standard ones. This feature answers this specific need.

Setting up a custom HTTP Header

To add your own custom HTTP Header, you need to:

1. Create the file "headers.bin" in the folder "*\Clients\webserver" so that you get "*\Clients\webserver\headers.bin"

2. Add the custom headers separated by new line, like in example below: 
X-XSS-Protection=1; mode=block
X-Content-Type-Options=nosniff

X-Frame-Options=SAMEORIGIN
Content-Security-Policy=frame-ancestors 'self';
and so on you wish.

3. Restart HTML5 webserver (AdminTool > Web > Restart Web Servers) to apply changes


Remember, frenetic hunting for security may have bad impact on HTML5 performing or make it totally unusable. We do not have a list of good practices headers, so add all your headers at your own risk since we do not provide support in case of breakage except recommending to revert all such changes!