iOS 12 Includes Setting to Disable USB Access When an iPhone Hasn't Been Unlocked for More Than an Hour

In iOS 12, there's a new setting that will effectively put an end to law enforcement access to iPhones and iPads using USB devices like the GrayKey box, preventing USB accessories from connecting when it's been more than an hour since the iPhone was last unlocked.

Located under Touch ID & Passcode, the new setting, which requires a passcode to be entered to allow a USB accessory to connect after an hour, is enabled by default.

ios12usbaccessoriessetting
You can toggle off the setting to allow USB accessories to connect at any time, but most users are likely going to leave this set to the default setting as there's not a whole lot of benefit to turning it off. With this turned on, you'll need to enter your passcode for a data connection to the iPhone using a USB device, such as when you connect it to iTunes on a computer, but charging via the Lightning port will continue to work fine.

The new setting is of interest because it's an expansion of USB Restricted Mode, a feature Apple toyed with during the iOS 11.4 beta. USB Restricted Mode was designed to disable USB access to the Lightning Connector after 7 days, but iOS 12 cuts that time period way, way down.

Law enforcement officials use USB access to an iPhone or an iPad to connect accessories like the GrayKey box, a tool that plugs into the Lightning port of an iPhone and uses the data connection in an attempt to brute force a passcode.

With the new setting, an iPhone's Lightning port data connection will not work with the GrayKey box if it's been more than an hour since a passcode was entered, rendering it effectively useless unless used immediately after an iPhone is obtained from a suspect.

Law enforcement officials are likely going to be unhappy with the changes Apple is making in iOS 12 because it's going to make iOS 12 devices a lot harder to get into, but from a customer point of view, this setting offers protection from hackers and other bad actors who may be able to get ahold of this kind of technology.

Note: Due to the political nature of the discussion regarding this topic, the discussion thread is located in our Politics, Religion, Social Issues forum. All forum members and site visitors are welcome to read and follow the thread, but posting is limited to forum members with at least 100 posts.

Related Forum: iOS 12

Popular Stories

iOS 26

iOS 26.4 and iOS 27 Features Revealed in New Leak

Friday December 12, 2025 10:56 am PST by
Macworld's Filipe Espósito today revealed a handful of features that Apple is allegedly planning for iOS 26.4, iOS 27, and even iOS 28. The report said the features are referenced within the code for a leaked internal build of iOS 26 that is not meant to be seen by the public. However, it appears that Espósito and/or his sources managed to gain access to it, providing us with a sneak peek...
Apple Foldable Thumb

Leak Reveals Foldable iPhone Details

Monday December 15, 2025 9:09 am PST by
The first foldable iPhone will feature a series of design and hardware firsts for Apple, according to details shared by the Weibo leaker known as Digital Chat Station. According to a new post, via machine translation, Apple is developing what the leaker describes as a "wide foldable" device, a term used to refer to a horizontally oriented, book-style foldable with a large internal display....
iOS 26

Apple Releases iOS 26.2 With Alarms for Reminders, Lock Screen Changes, Enhanced Safety Alerts and More

Friday December 12, 2025 10:10 am PST by
Apple today released iOS 26.2, the second major update to the iOS 26 operating system that came out in September, iOS 26.2 comes a little over a month after iOS 26.1 launched. ‌iOS 26‌.2 is compatible with the ‌iPhone‌ 11 series and later, as well as the second-generation ‌iPhone‌ SE. The new software can be downloaded on eligible iPhones over-the-air by going to Settings >...
apple beta 26 lineup

Apple Leak Confirms Work on Foldable iPhone, AirTag 2, and Dozens More Devices

Monday December 15, 2025 2:05 pm PST by
Last week, details about unreleased Apple devices and future iOS features were shared by Macworld. This week, we learned where the information came from, plus we have more findings from the leak. As it turns out, an Apple prototype device running an early build of iOS 26 was sold, and the person who bought it shared the software. The OS has a version number of 23A5234w, and the first...
iOS 26

iOS 26.2 Coming Soon With These 8 New Features on Your iPhone

Thursday December 11, 2025 8:49 am PST by
Apple seeded the second iOS 26.2 Release Candidate to developers earlier this week, meaning the update will be released to the general public very soon. Apple confirmed iOS 26.2 would be released in December, but it did not provide a specific date. We expect the update to be released by early next week. iOS 26.2 includes a handful of new features and changes on the iPhone, such as a new...
macOS Tahoe 26 Thumb

Apple Releases macOS Tahoe 26.2 With Edge Light

Friday December 12, 2025 10:08 am PST by
Apple today released macOS Tahoe 26.2, the second major update to the macOS Tahoe operating system that came out in September. macOS Tahoe 26.2 comes five weeks after Apple released macOS Tahoe 26.1. Mac users can download the macOS Tahoe update by using the Software Update section of System Settings. macOS Tahoe 26.2 includes Edge Light, a feature that illuminates your face with soft...
AirPods Pro Firmware Feature

Apple Releases New Firmware for AirPods Pro 2 and AirPods Pro 3

Thursday December 11, 2025 11:28 am PST by
Apple today released new firmware designed for the AirPods Pro 3 and the prior-generation AirPods Pro 2. The AirPods Pro 3 firmware is 8B30, up from 8B25, while the AirPods Pro 2 firmware is 8B28, up from 8B21. There's no word on what's include in the updated firmware, but the AirPods Pro 2 and AirPods Pro 3 are getting expanded support for Live Translation in the European Union in iOS...
Apple Logo Top Half

Early iOS 26 Software Leak Uncovers Dozens of Upcoming Apple Features

Monday December 15, 2025 3:05 pm PST by
Software from an iPhone prototype running an early build of iOS 26 leaked last week, giving us a glimpse at future Apple devices and iOS features. We recapped device codenames in our prior article, and now we have a list of some of the most notable feature flags that were found in the software code. In some cases, it's obvious what the feature flags are referring to, while some are more...

Top Rated Comments

Khedron Avatar
98 months ago
In before that guy who's been professionally cracking iOS for a decade tells us he already knows how to bypass this setting.
Score: 57 Votes (Like | Disagree)
Mr. Heckles Avatar
98 months ago
This is just awesome! I’m glad it’s an hour and not a week.
Score: 38 Votes (Like | Disagree)
Mr. Heckles Avatar
98 months ago
what are you hiding?
i just had a 4 digit pin lol
Banking info, emails, contacts of friends and family, photos, personal info, and more. No one needs to see this info unless I let them. Period.
Score: 28 Votes (Like | Disagree)
justiny Avatar
98 months ago
I’m perfectly fine with law enforcement officials being unhappy about this.
Score: 26 Votes (Like | Disagree)
Robert.Walter Avatar
98 months ago
Should also be triggered when a phone is put into SOS mode and whenever TouchID/FaceID is disabled.

If it’s not doing that, that would seem to be an oversight.
Score: 19 Votes (Like | Disagree)
jermwhl Avatar
98 months ago
Good - **** the police
I was wondering why this was listed under "political, religious, and social issues". I guess this is why, lol.
Score: 15 Votes (Like | Disagree)