The declaration to configure screen-sharing host settings and restrictions.
| Setting | Type | Required | Default | Manual Install | Supported OS |
|---|---|---|---|---|---|
Maximum number of Virtual Displays MaximumVirtualDisplays The maximum number of virtual displays to make available to clients. Range: 0 - 2 | integer | optional | — | ✓Yes | macOS (14.0+) |
UDP Port base PortBase The initial UDP port number to connect to the host. Screen sharing requires multiple connections, so the system increments this value by 1 for each additional connection. This doesn't change the port number that the system uses to initially establish a connection with a host, which is always TCP port 5900. Range: 1024 - 65535 | integer | optional | — | ✓Yes | macOS (14.0+) |
Prevent copying files from host PreventCopyFilesFromHost If `true`, the system prevents users from copying files from the screen-sharing host. | boolean | optional | false | ✓Yes | macOS (14.0+) |
Prevent copying files to host PreventCopyFilesToHost If `true`, the system prevents users from copying files to the screen-sharing host. | boolean | optional | false | ✓Yes | macOS (14.0+) |
Prevent High Performance connections PreventHighPerformanceConnections If `true`, the system prevents clients from establishing high-performance connections to the host. | boolean | optional | false | ✓Yes | macOS (14.0+) |