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

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

M5 MacBook Pro

RIP, MacBook Ultra

Monday October 19, 2026 9:37 am PDT by
Apple today sent out invites for an experience in Los Angeles on Wednesday, October 28, and the "Pro and tell" tagline on the invitation likely means that the rumored MacBook models with touch-enabled OLED displays will stick with MacBook Pro branding instead of the once-rumored "MacBook Ultra" name. The long-rumored "iPhone Ultra" ended up being named iPhone Duo, so speculation that Apple...
iPhone Duo Trio

Here's What Apple's Apps Look Like on the iPhone Duo

Tuesday October 20, 2026 11:12 am PDT by
With just three days to go until the iPhone Duo is released, Apple is getting ready for the launch. Behind the scenes, the App Store now has screenshots of Apple's built-in apps running on the Duo. We've seen some apps in marketing materials, but images of the ones we haven't seen give us an idea of what it will be like using the iPhone Duo day to day. Many apps are shown in landscape...
apple pro tell logo

Apple Announcing New Products Next Week: 'Pro and Tell'

Monday October 19, 2026 9:05 am PDT by
Apple's Greg Joswiak today hinted at new product announcements coming next week, sharing a social media post that says "Can't wait to pro and tell next week." Rumors suggest Apple is planning to debut the new MacBook Pro with an OLED touchscreen display, an M6 entry-level MacBook Pro, an M6 iMac, an iPad mini with an OLED display. Can't wait to pro and tell next week....

Top Rated Comments

109 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
109 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
109 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
109 months ago
I’m perfectly fine with law enforcement officials being unhappy about this.
Score: 26 Votes (Like | Disagree)
Robert.Walter Avatar
109 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
109 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)
Latest Stories
Apple Pulls Keynote, Pages and Numbers From App Store
Apple Pulls Keynote, Pages and Numbers From App Store
1 minute ago
Apple Updates More Apps With iPhone Duo Support
Apple Updates More Apps With iPhone Duo Support
31 minutes ago
Apple Will Label Apps 'Made for iPhone Duo' in App Store
Apple Will Label Apps 'Made for iPhone Duo' in App Store
3 hours ago
Amazon Takes $49 Off iPad With Prices Starting at $399.99
Amazon Takes $49 Off iPad With Prices Starting at $399.99
4 hours ago
F1 on Apple TV Now Available in Dolby Atmos
F1 on Apple TV Now Available in Dolby Atmos
4 hours ago
Apple Reveals More Than 50 Apps That Will Be Updated for iPhone Duo
Apple Reveals More Than 50 Apps That Will Be Updated for iPhone Duo
5 hours ago
Apple Blocks Certificates That Could Help Attackers Fake Websites
Apple Blocks Certificates That Could Help Attackers Fake Websites
6 hours ago
Giant iPhone Duo Installations Spotted at Apple Fifth Avenue
Giant iPhone Duo Installations Spotted at Apple Fifth Avenue
7 hours ago
iPhone Duo 2 Prototypes Include Under-Display Face ID
iPhone Duo 2 Prototypes Include Under-Display Face ID
7 hours ago
Tesla App Gains iPad and iPhone Duo Support
Tesla App Gains iPad and iPhone Duo Support
11 hours ago
Apple Reportedly Boosts iPhone Duo Orders by 44%
Apple Reportedly Boosts iPhone Duo Orders by 44%
12 hours ago
Fortnite Returning to Australian App Store After Court Ruling
Fortnite Returning to Australian App Store After Court Ruling
12 hours ago
Apple Ordered to Open iPhone to Rival App Stores in Australia
Apple Ordered to Open iPhone to Rival App Stores in Australia
12 hours ago
Apple Suppliers Face Hurdles Cutting Circuit Board Emissions
Apple Suppliers Face Hurdles Cutting Circuit Board Emissions
13 hours ago
Things Updated for iPhone Duo With Adaptive Layout
Things Updated for iPhone Duo With Adaptive Layout
13 hours ago
Simplicity and Siri AI Are HomeView's Killer Features, Apple Says
Simplicity and Siri AI Are HomeView's Killer Features, Apple Says
14 hours ago
iPhone Duo Reviewers Really Miss Face ID
iPhone Duo Reviewers Really Miss Face ID
19 hours ago
Does the iPhone Duo Run Hot? Here's What Reviews Found
Does the iPhone Duo Run Hot? Here's What Reviews Found
20 hours ago
Apple Music's New Look is Now Live on Apple's Website
Apple Music's New Look is Now Live on Apple's Website
21 hours ago
Anthropic Launches Claude Duet, a Proactive AI Agent
Anthropic Launches Claude Duet, a Proactive AI Agent
21 hours ago
What 32,000 Folds Did to the iPhone Duo's Hinge
What 32,000 Folds Did to the iPhone Duo's Hinge
22 hours ago
iPhone Duo's Hidden FaceTime Camera Takes 'Trash' Photos
iPhone Duo's Hidden FaceTime Camera Takes 'Trash' Photos
23 hours ago
iPhone Duo Has 'Edge Light' Feature That Debuted on Macs Last Year
iPhone Duo Has 'Edge Light' Feature That Debuted on Macs Last Year
1 day ago
Apple Support App Updated for iPhone Duo's Larger Display
Apple Support App Updated for iPhone Duo's Larger Display
1 day ago
Amazon Sweetens the Deal on Entry-Level 16-Inch MacBook Pro With $570 Off
Amazon Sweetens the Deal on Entry-Level 16-Inch MacBook Pro With $570 Off
1 day ago
iPhone Duo Tips Over on MagSafe Stands When Unfolded
iPhone Duo Tips Over on MagSafe Stands When Unfolded
1 day ago
Apple Music's New Look Officially Announced
Apple Music's New Look Officially Announced
1 day ago
iPhone Duo Supports Apple Pencil Starting With iOS 27.2
iPhone Duo Supports Apple Pencil Starting With iOS 27.2
1 day ago
iPhone Duo Accessories Roundup: Cases and Screen Protectors From OtterBox, ZAGG, and More
iPhone Duo Accessories Roundup: Cases and Screen Protectors From OtterBox, ZAGG, and More
1 day ago
Apple Stores Will Have 'Limited' Availability of iPhone Duo for Walk-In Customers
Apple Stores Will Have 'Limited' Availability of iPhone Duo for Walk-In Customers
1 day ago