terr.restricted.execution.mode
The property terr.restricted.execution.mode is set by default to true to ensure that executing certain operations defined as restricted generates an error. Applies only if you are using the TERR engine in your Spotfire Statistics Services installation (that is, you set engine.type=TERR).
Property Name | Default Value | Property Description |
---|---|---|
terr.restricted.execution.mode | true | This option specifies that
TERR evaluates expressions by calling the function
terrUtils::evalREX, which ensures that they do not perform I/O on the file system and cannot engage in potentially malicious behavior (such as deleting files or uploading confidential data to the internet). If such an evaluation is attempted,
TERR generates an error, such as
"Error: restricted call to Native[tempfile]", and execution of the expression is terminated.
Restricted behavior includes the following non-exhaustive list of operations.
Note: If
terr.restricted.execution.mode=true, then
Spotfire Statistics Services attempts to detect if the version of
TERR it is running has
terrUtils::evalREX defined. If it does not, then it cannot start any
TERR engines, and the system generates many logging errors reading
"TERR engine does not support evalREX (update TERR or set spserver.properties item 'terr.restricted.execution.mode=false')"
See Recommendations for safeguarding your environment for more information. For more information about terrUtils::evalREX, see its help file in the TIBCO® Enterprise Runtime for R Language Reference. |
Related reference
Copyright © 2021. TIBCO Software Inc. All Rights Reserved.