Skip to main content
The DirectGVR client application hosts its skin web resources on an internal protected web server.

Skin web server runs conditionally

Some web rendering engines afford the host application the ability to reroute requests internally without having to run a web server to host the skin. Your client must be using Chromium Embedded Framework (CEF) in order for the host application to not use the skin web server. Using CEF is determined by enabling the option in the host configuration file (app.yaml or app.json)
There is only one exception during the self-update process, when the host application first restarts itself with the --wfselfupdate flag. While it is applying the self-update patch it runs the skin web server in order to process the internal workflows. After the self-update patch is applied the application restarts and the skin web server runs conditionally again.

Changes to the skin web server URL

  • When the application uses the skin web server, the URL to access skin resources is in the format: http://127.0.0.1:[random-port]/
    • Example: http://127.0.0.1:33491/
  • When the application routes requests internally without the skin web server, the URL to access skin resources is in the format: http://[random-guid].skin/
    • The random guide is a base32-encoded UUID.
    • Example: http://7y2knsibtgf6akj6e2ehabstuypumhxw.skin/
The skin web server URL can be accessed via JavaScript by expanding the {contentUrl} macro:

Incoming connections to skin web server

The internal skin web server places certain security restrictions on incoming connections as defined below.

Process limitations

Only child processes are allowed to make connections to the internal skin web server. Additionally, the child processes cannot be more than a certain number of generations away from the skin web server process. Any other incoming connections activated by other applications are forbidden.

IP address limitations

Only incoming connections with a localhost address are allowed. Any other incoming connections with a different IP address are forbidden.

Rate limiting failed requests

There are additional limitations on the number of failed requests that can be made to the internal skin web server:
  • If 5 failed requests from a single incoming TCP port are received within a 4-minute time span, the incoming TCP port will be blocked for the next 4 minutes.
This can be tested in JavaScript by performing 5 GET or POST requests in a single keep-alive session to non-existent content on the skin web server.