Spotfire® Server and Environment Security

Spotfire Service for Python

The Spotfire Service for Python provides Spotfire clients with the ability to execute Python code, using the available Python interpreter, on the Python service node.

Spotfire Service for Python is required to execute data functions in Spotfire files from Spotfire Automation Services and Spotfire Web Player, because those services do not have Python interpreters.

The Spotfire Service for Python itself is running the service as the same user account as is running the node manager on which the service runs. See Node Manager.

By default, Python scripts executed by the Spotfire Service for Python on behalf of its users are executed in a different execution context, as explained here.

Python service component Default Description
Service account NT Authority\System or spotfire (Linux) Default: NT Authority\System or root (Linux)
Log files <node manager installation>/logs

See the topic Spotfire Service for Python Logs in the Spotfire® Service for Python Installation and Administration guide for more information.

Table 1. The Spotfire Service for Python ports and protocols
Name Default Port and Protocol Function Description Secure/Encrypted
Communication port Next available general purpose 950<x>/tcp. (For example, 9502/tcp, or 9503/tcp, and so on, depending on the other data function services installed.) For secure (HTTPS) internal communication. Cannot be accessed directly. Yes
Python engine ports 62001/tcp -> 63000/tcp Host-internal communication between Spotfire Service for Python and the Python interpreter. No