Category Filter

How to Set Up AirPlay Security on Apple TV?

AirPlay security settings prevent unauthorized streaming to Apple TV via AirPlay, either by setting up an AirPlay password or by restricting devices in a different network to connect to the TV. AirPlay security settings can be configured on an Apple TV running tvOS 11 or later.


Airplay security is supported on Pro, Enterprise, Ultimate or Ultra subscription plans.

Setting up AirPlay Security policy

To set up AirPlay security,

  1. Access Policies tab.
  2. Create a new policy by clicking on the New Policy > New Blank Policy or continue with an existing policy.
  3. From AppleTV, select AirPlay Security.

Available AirPlay Security features

The following are the AirPlay Security features available for AppleTV in Hexnode.

  1. Access type: Select the mode by which an AirPlay supported Apple device can be connected to an Apple TV via AirPlay. The available options are Any (default) and WiFi only.
    • Any: Allow connection between Apple TV and AirPlay supported Apple device on different networks.
    • WiFi only: Allow connection between AirPlay supported Apple device and Apple TV which are on the same network (same WiFi or Ethernet).
  2. Security type: Choose how secure the connection needs to be. The available values are None (available only if the access type is ‘WiFi only’), Passcode once (default), Passcode always and Password.
    • None: No AirPlay security is set up. Which means, an AirPlay supported Apple device in the same network as that of the Apple TV can connect to it without any authentication.
    • Passcode once: While creating a connection between an Apple TV and an AirPlay supported Apple device, a passcode is displayed on the TV screen. Enter this passcode on the AirPlay supported Apple device to start streaming. The passcode is not required if you make a second connection between the same set of devices.
    • Passcode always: A passcode is displayed on the TV screen every time you try to stream content via AirPlay. Enter this password on the AirPlay supported Apple device to start streaming.
    • Password: Set up an AirPlay password which is required while a connection between an AirPlay supported Apple device and an Apple TV is made.
  3. Password (if Security type is selected ‘Password’) – Create a password for AirPlay in Hexnode portal. When a connection is made, the device which is connected to the Apple TV will prompt for a password. Enter the password in Hexnode portal there to start streaming. Unlike Passcode once, there will be no password displayed on the TV.

Associating AirPlay Security with Apple TV

If you are still setting up the policy, before saving,

  1. Go to Policy Targets tab.
  2. Click on + Add Devices.
  3. Select devices from the list. You can also search for a specific device.
  4. Click OK.

If you want to add more devices, clicking on + Add Devices again will help you, retaining any devices selected before. Policies can be associated with device groups, users and user groups from the same screen.

If you have finished setting up and saved the policy, associate the policy to Apple TV by the following methods:

  1. From Policies, check the policies which need to be applied.
  2. Select Associate Targets from Manage.


Go to Manage > Devices > select your device > Actions > Associate Policy > select the policy > Associate.