Screen Sharing:Host Settings ()

The declaration to configure screen-sharing host settings and restrictions.

macOS(14.0)
Branch: release

Settings (5)

SettingTypeRequiredDefaultManual InstallSupported OS
Maximum number of Virtual Displays
MaximumVirtualDisplays
The maximum number of virtual displays to make available to clients.
Range: 0 - 2
integeroptional
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
integeroptional
Yes
macOS (14.0+)
Prevent copying files from host
PreventCopyFilesFromHost
If `true`, the system prevents users from copying files from the screen-sharing host.
booleanoptionalfalse
Yes
macOS (14.0+)
Prevent copying files to host
PreventCopyFilesToHost
If `true`, the system prevents users from copying files to the screen-sharing host.
booleanoptionalfalse
Yes
macOS (14.0+)
Prevent High Performance connections
PreventHighPerformanceConnections
If `true`, the system prevents clients from establishing high-performance connections to the host.
booleanoptionalfalse
Yes
macOS (14.0+)