Disable Scripting in On-Premises Printing

Scripting is available in on-premises installations of Geocortex Printing only. Scripting is not available in cloud Printing.

Scripting allows print authors to write code that executes on your server. This can represent a security vulnerability if your print authors are not trusted.

Scripting is enabled by default in on-premises Printing. You can disable it if you want.

To disable scripting in on-premises Printing:

  1. Edit the following web.config file as an administrator:

    [installation_location]\Geocortex Printing\Deployment\web.config

    If you installed Geocortex Printing in the default location, the web.config file is here:

    C:\Program Files\Latitude Geographics\Geocortex Printing\Deployment\web.config

  2. In <appSettings>, find this line:

    <add key="app:allowScripts" value="true" />

  3. Set value to false.

    The line should look like this:

    <add key="app:allowScripts" value="false" />

  4. Save the file.

    Scripting is now disabled.

See also...

Use Scripts in Print Templates

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.0