Technical documentation - Basic server setup in settings.config version 5.3 and later

Version 5.3 and later

Settings.config is used to define a few core properites of a server running WebViewer as default site.

Configuration

File location is C:\inetpub\wwwroot\AssertWeb\App_Data\

 

<?xml version="1.0"?> <Settings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <!-- If no site in URL direct user to this site --> <DefaultSite>MySite</DefaultSite> <!-- If an invalid site is in the URL direct user to default site --> <AutoChangeInvalidSite>true</AutoChangeInvalidSite> </Settings>

 

Security

A security option will encode selected data. This will increase security and compatability with Microsoft WAF rules and CloudFlare settings. It will add a small overhead performance cost to each request, which in most cases are not noticable.

<EnableSecureJson>true</EnableSecureJson>

Limit site access per url

It is possible to limit which sites can be accessed per url. The default setting is that all sites are accessible on all URLs.

<HostPermissions> <HostPermission> <Host>www.domain1.com</Host> <AllowedSites>Site1, Site2</AllowedSites> </HostPermission> <HostPermission> <Host>www.domain2.com</Host> <AllowedSites>Site3</AllowedSites> </HostPermission> </HostPermissions>

Offline synchronize login token settings