OPSEC 101 All guides

THE FULL KIT · JUICE

Make Any Public USB Port Charge-Only on iPhone and Android

Set your iPhone or Android so public USB ports only charge it, and use a data blocker to cut the data wires completely.

Checked 4 Oct 2026 · 7 min read

This guide sets your phone so a public USB port can give it power but not talk to it, and shows you the cheap plug-in blocker that does the same job in hardware. It takes about 10 minutes.

Why bother

A USB port carries data as well as power. A rigged charging port could, in theory, try to copy your photos and contacts or push malware onto your phone, which is why the FBI, the FCC and the TSA have warned travellers about airport and hotel USB ports. The honest picture: the FCC says it is not aware of any confirmed cases of "juice jacking" happening for real. But researchers showed in 2025 that a malicious charger could fake your "Allow" tap on phones from eight vendors, and those makers have been rolling out fixes since. A few settings and an inexpensive adapter make the risk very small, so it is worth doing once.

Before you start

Steps

1 Update your phone

Updates carry the phone makers' fixes for the 2025 "ChoiceJacking" attacks, where a charger pretends to be a keyboard and taps "Allow" for you.

You should see "Your software is up to date" or similar.

2 On iPhone, make wired accessories ask first

  1. Open Settings > Privacy & Security.
  2. Scroll down to the Security section and tap Wired Accessories.
  3. Choose Ask for New Accessories (asks the first time each new accessory connects) or Always Ask (asks every time).

You should see a tick next to your choice. Your iPhone still charges normally from any port; only the data connection waits for your answer.

If you don't see Wired Accessories (iOS 18 or earlier), go to Settings > Face ID & Passcode (or Touch ID & Passcode), scroll to Allow Access When Locked and make sure Accessories (or USB Accessories) is turned off.

If you have ever tapped Trust on a computer or charger you don't recognise, you can clear every trusted computer at Settings > General > Transfer or Reset iPhone > Reset > Reset Location & Privacy. This also resets location and privacy permissions for your apps.

Steps 3 and on are in the full guide

  1. On Android, make sure USB stays on charge-only
  2. Answer prompts with "Don't"
  3. Use your own plug, power bank or data blocker

Open the full guide

Free with the opsec.101 newsletter: a few emails a month, unsubscribe anytime.

Watch the 60-second version →