Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

AirPlay Attack Protection: Keep Apple Devices Safe

· 7 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

AirPlay attacks—like AirPlay relay abuse, screen mirroring hijacks, or receiving malicious media—are rare but real. They happen when someone on your Wi-Fi network sends unsolicited AirPlay requests to your iPhone, iPad, Mac, or Apple TV. To keep your devices safe, the core steps are: keep your software updated, use a strong Wi-Fi password, set AirPlay to require a password or restrict it to known devices, and disable AirPlay entirely when you don't need it. This guide walks you through every setting and habit that closes those gaps.

What You'll Need

  • Your Apple device (iPhone, iPad, Mac, or Apple TV) with the latest iOS/iPadOS/macOS/tvOS update installed.
  • Access to your Wi-Fi router's admin page (to change the network password or enable client isolation, if needed).
  • A few minutes to adjust settings—no technical expertise required.

Step-by-Step

  1. Update your device software. Go to Settings > General > Software Update on iPhone/iPad, or System Settings > General > Software Update on Mac, or Settings > System > Software Updates on Apple TV. Install any pending updates. Apple patches security holes regularly, and AirPlay vulnerabilities are often fixed this way.
  2. Change your Wi-Fi password to a strong one. AirPlay attacks require the attacker to be on the same network. If your Wi-Fi password is weak or shared widely, anyone nearby can join and send AirPlay requests. Use a passphrase of at least 12–15 characters, mixing letters, numbers, and symbols. Change it via your router's admin page (usually at an IP like 192.168.1.1 or 10.0.0.1, but check your router's label).
  3. Enable Wi-Fi encryption and disable WPS. In your router settings, make sure WPA2 or WPA3 is selected (not WEP or open). Also disable WPS (Wi-Fi Protected Setup), which can be brute-forced and allow unauthorized network access. This is a router-level change, not an Apple setting.
  4. Turn on AirPlay password on your Apple TV. On Apple TV, go to Settings > AirPlay and HomeKit > AirPlay > Require Password, and choose a password. This stops random AirPlay requests from connecting. On iPhone/iPad, you can't set a password for receiving AirPlay, but you can restrict who can AirPlay to you (see next step).
  5. Restrict AirPlay to known devices on iPhone/iPad. On iOS 15 and later, go to Settings > General > AirDrop & Handoff > AirPlay Receiving. Under "Allow AirPlay For," select "Current User" or "Contacts Only" instead of "Everyone." This prevents strangers on your network from sending media or mirroring to your device. For Mac, go to System Settings > General > AirDrop & Handoff > AirPlay Receiver, and set "Allow AirPlay For" to "Current User" or "Contacts Only."
  6. Disable AirPlay Receiver when not in use. On iPhone/iPad, toggle off "AirPlay Receiver" in the same AirPlay Receiving settings. On Mac, turn off "AirPlay Receiver" in System Settings > General > AirDrop & Handoff. On Apple TV, go to Settings > AirPlay and HomeKit and toggle off AirPlay. If you rarely use AirPlay, keeping it off eliminates the attack surface entirely.
  7. Use a separate guest network for visitors. If you have guests or IoT devices, put them on a separate Wi-Fi network (often called a guest network) that is isolated from your main network. This way, even if a guest's device is compromised, it cannot send AirPlay requests to your Apple devices on the main network. Check your router's settings for a "Guest Network" option.
  8. Enable client isolation (AP isolation) on your router. This feature prevents devices on the same Wi-Fi network from communicating directly with each other. It blocks AirPlay discovery and attacks, but also blocks legitimate AirPlay, so only enable it if you don't need AirPlay between your own devices. Look for "AP Isolation," "Client Isolation," or "Wireless Isolation" in your router's wireless settings.
  9. Keep your Apple ID and device passcode strong. AirPlay attacks often piggyback on other vulnerabilities. Use a strong device passcode (not a simple 4-digit one) and enable two-factor authentication for your Apple ID. This prevents an attacker from gaining broader control of your device through other means.
  10. Monitor your network for unknown devices. Use your router's admin page to see a list of connected devices. If you see something you don't recognize, change your Wi-Fi password immediately. This is a proactive habit, not a one-time fix.

Common Mistakes

  • Leaving AirPlay set to "Everyone." This is the default on many devices and the easiest way for an attacker to send you unwanted content or mirror their screen to your TV.
  • Using a weak Wi-Fi password. Common passwords like "password123" or your pet's name are easily guessed. Attackers don't need to hack your router—they just need to join your network.
  • Forgetting to update software. AirPlay vulnerabilities are patched in iOS/tvOS updates. If you ignore updates, you remain exposed to known exploits.
  • Disabling AirPlay on your Apple TV but not on your iPhone. You might think you're safe because you turned off AirPlay on one device, but your iPhone still accepts AirPlay from anyone on the network.
  • Assuming a firewall protects you. Your Mac's built-in firewall does not block AirPlay by default. You need to specifically restrict AirPlay in the settings above.

Tips

  • Use a HomeKit secure router. If you have a HomeKit-compatible router, you can set per-device restrictions, which can block AirPlay from unknown devices automatically.
  • Turn off AirPlay on your Apple TV when traveling. If you take your Apple TV to a hotel or friend's house, disable AirPlay until you're back on a trusted network.
  • Check for AirPlay requests in Control Center. On iPhone/iPad, swipe down from the top-right and tap the AirPlay icon to see who is currently connected. If you see an unknown device, disconnect it and change your Wi-Fi password.
  • Use a VPN on public Wi-Fi. When on public networks, a VPN encrypts your traffic, but it does not prevent AirPlay attacks. Still, it adds a layer of protection for other data. For AirPlay, it's best to disable AirPlay receiving entirely on public networks.

Troubleshooting

If you think you've been attacked already: Immediately disconnect from the Wi-Fi network, turn off AirPlay Receiver on all devices, and change your Wi-Fi password. Then, restart your Apple devices. If you received a suspicious AirPlay file, don't open it—delete it. Check your device for any strange profiles (Settings > General > VPN & Device Management) and remove anything you don't recognize.

If AirPlay stops working after you change settings: You likely set "Allow AirPlay For" to "Current User" but are trying to AirPlay from a different Apple ID. Make sure you're signed in with the same Apple ID on both devices, or change the setting to "Contacts Only" and ensure the other device is in your contacts.

If you can't find the AirPlay settings: The exact menu names may differ slightly by iOS version. On older iOS versions, look for Settings > General > AirPlay & Handoff. On macOS Monterey and later, it's under System Settings (or System Preferences) > General > AirDrop & Handoff. On Apple TV, it's under Settings > AirPlay and HomeKit.

If you still see unknown AirPlay requests after following all steps: This could be a legitimate device on your network (like a neighbor's phone that auto-joins your open network). Check your router's client list. If you find an unknown device, kick it off and change your Wi-Fi password. If the problem persists, consider enabling client isolation on your router, but note that this will break AirPlay between your own devices.

Frequently Asked Questions

Can someone AirPlay to my iPhone without me knowing?

Yes, if AirPlay Receiving is set to "Everyone" and you're on the same Wi-Fi network, someone can send a video or mirror their screen to your device. You'll see a prompt, but if you're not looking, they can start playing content. That's why restricting to "Current User" or "Contacts Only" is important.

Does AirPlay work over the internet?

AirPlay normally works only on the same local network. However, with AirPlay 2 and HomeKit, you can stream to HomeKit-enabled speakers or Apple TV remotely, but that requires your Apple TV to be set up with HomeKit and your devices to be signed into the same iCloud account. An attacker cannot use this remotely unless they have your Apple ID credentials.

Will a VPN protect me from AirPlay attacks?

A VPN encrypts your internet traffic, but it does not stop AirPlay requests that are sent directly over your local Wi-Fi network. AirPlay discovery uses multicast, which a VPN does not hide. You still need to restrict AirPlay settings.

Is AirPlay safe on public Wi-Fi?

No, public Wi-Fi is risky because anyone on that network can send AirPlay requests. Always disable AirPlay Receiver when on public Wi-Fi, or set it to "Current User" and never accept requests from unknown devices.

Can someone hack my iPhone through AirPlay?

There have been theoretical vulnerabilities, but in practice, AirPlay attacks are mostly nuisance-based (like playing unwanted content). Apple patches known vulnerabilities regularly. Keeping your software updated and restricting AirPlay to known devices reduces the risk to near zero.

Do I need to disable AirPlay on all my devices?

Yes, if you want full protection. Each device (iPhone, iPad, Mac, Apple TV) has its own AirPlay receiver setting. An attacker only needs one open device to cause trouble. So, either disable AirPlay on all devices or restrict them all to "Current User" or "Contacts Only."