> ## Documentation Index
> Fetch the complete documentation index at: https://docs.iru.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Configure the AirPlay Security Library Item

> Configure the AirPlay Security Library Item in Iru Endpoint to control AirPlay access on Apple devices. Set passwords and restrict AirPlay destinations.

<Callout icon="apple" color="#B84A7A" iconType="regular">This Library Item is available for Apple devices</Callout>

### What is AirPlay?

AirPlay is Apple's wireless protocol for streaming and sharing media like videos, photos, and music from Apple devices such as iPhone, iPad, and Mac to compatible devices like Apple TV, smart TVs, and speakers. It supports both audio and video streaming and allows screen mirroring to display your device's screen on a larger display.

In organizations, using an AirPlay Security profile ensures that streaming and mirroring content remains both safe and user-friendly. With AirPlay Security, you can manage who can connect to an Apple TV via AirPlay and tailor the authentication requirement to suit organizational needs.

### How does AirPlay Work?

AirPlay uses AES encryption to keep data safe as it travels between devices. Using an AirPlay Security Library Item in Iru Endpoint, you can limit AirPlay connections to devices on the same network and choose to set up a passcode or password for extra security.

### Add an AirPlay Security Library Item

To add this Library Item to your Iru Endpoint Library, follow the steps outlined in the [Library Overview](/en/endpoint/library/library-items-profiles/library-overview) article.

<Steps>
  <Step title="Name the Library Item">
    Give the new AirPlay Security Library Item a **Name**.
  </Step>

  <Step title="Assign to Blueprints">
    Assign to your desired [Blueprints](/en/endpoint/getting-started/blueprints-and-library/configuring-blueprints).
  </Step>
</Steps>

<Steps>
  <Step title="Choose Access Policy">
    Choose an **Access Policy** option.

    * **Allow connections from all devices:** This option will let any nearby device attempt to use AirPlay with the Apple TV, as long as it's in range.
    * **Require devices to be on the same network as Apple TV:** This option requires devices to be on the same network as the Apple TV to AirPlay content.
  </Step>

  <Step title="Select Security Policy">
    Select a **Security Policy** option.

    * **Require a passcode every time:** This option will require the connecting device to enter a passcode that's shown on an enrolled Apple TV at every connection.
    * **Require a passcode once per device:** Require the connecting device to enter a passcode only at the device's *first* connection to each enrolled Apple TV.
    * **Specify a password:** This option lets you set a static password to connect to the Apple TV. Note that this password will *not* be displayed on the Apple TV when an AirPlay connection is initiated.
  </Step>

  <Step title="Save configuration">
    Click **Save**.
  </Step>
</Steps>
