iOS 12 Includes Setting to Disable USB Access When an iPhone Hasn't Been Unlocked for More Than an Hour - MacRumorsOpen MenuShow RoundupsShow Forums menuVisit ForumsOpen Sidebar
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

iPhone Duo Display Cracking

Apple Alerts Stores to iPhone Duo's Display Cracking Issue

Friday October 30, 2026 3:20 pm PDT by
In a memo shared with Apple Stores and Apple Authorized Service Providers this week, and later obtained by MacRumors, Apple provided technicians with guidance on how to diagnose and address the iPhone Duo's inner display cracking issue. If a customer reports the issue, Apple advised technicians to inspect the iPhone Duo and repair or replace it in accordance with their standard procedures....
iPad mini OLED feature 1

Apple Executive Comments on New iPad Mini Lacking 120Hz Display

Thursday October 29, 2026 1:47 pm PDT by
While the new iPad mini has an OLED display, the device does not support ProMotion, meaning the display's refresh rate is limited to 60Hz instead of 120Hz. ProMotion support would have allowed for the iPad mini's refresh rate to automatically adjust from 10Hz to 120Hz depending on the content being displayed, but evidently Apple has kept the feature exclusive to the iPad Pro among iPad...
Pinched iPad Mini

Apple Avoids Showing Pinched Fingers on iPad Mini Page in South Korea

Thursday October 29, 2026 11:52 am PDT by
In the U.S. and most other countries, Apple's website shows the new iPad mini being held by pinched fingers, but this is not the case in South Korea. The new iPad mini shown with pinched fingers on Apple's website in the U.S. On its South Korean website, Apple simply shows an image of the iPad mini on its own. The new iPad mini shown without pinched fingers on Apple's website in South Korea ...

Top Rated Comments

110 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
110 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
110 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
110 months ago
I’m perfectly fine with law enforcement officials being unhappy about this.
Score: 26 Votes (Like | Disagree)
Robert.Walter Avatar
110 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
110 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 Watch Ultra 4 Hits All-Time Low Price With Amazon's $99 Discount
Apple Watch Ultra 4 Hits All-Time Low Price With Amazon's $99 Discount
14 hours ago
Reminder: Apple's Big Discount on Beats 360 Ear Cushions Ends Today
Reminder: Apple's Big Discount on Beats 360 Ear Cushions Ends Today
15 hours ago
Here's a New Tour of Apple's HomeView Software
Here's a New Tour of Apple's HomeView Software
15 hours ago
Apple Reveals New iPad Mini's Battery Capacity
Apple Reveals New iPad Mini's Battery Capacity
16 hours ago
Top Stories: Apple's Big MacBook Pro, iPad mini and iMac Updates
Top Stories: Apple's Big MacBook Pro, iPad mini and iMac Updates
17 hours ago
'Pluribus' Season 2 Reportedly Starts Production Today
'Pluribus' Season 2 Reportedly Starts Production Today
1 day ago
iPhone 18 Pro Sales Surge in China, Offsetting Decline in U.S. and Japan
iPhone 18 Pro Sales Surge in China, Offsetting Decline in U.S. and Japan
1 day ago
HomeView Software 27.2: Wallpapers, Control Center, and More
HomeView Software 27.2: Wallpapers, Control Center, and More
1 day ago
Apple Alerts Stores to iPhone Duo's Display Cracking Issue
Apple Alerts Stores to iPhone Duo's Display Cracking Issue
1 day ago
iOS 27.3 Will Enable These Apple Intelligence Features in China
iOS 27.3 Will Enable These Apple Intelligence Features in China
1 day ago
Apple Says iOS 27.3 Beta Coming Next Week
Apple Says iOS 27.3 Beta Coming Next Week
1 day ago
Apple's Flash Storage Suppliers Are Finally 'Getting Their Revenge'
Apple's Flash Storage Suppliers Are Finally 'Getting Their Revenge'
1 day ago
14 New Things Your iPhone Can Do in iOS 27.2
14 New Things Your iPhone Can Do in iOS 27.2
1 day ago
iPhone Duo Review: One Week Later
iPhone Duo Review: One Week Later
2 days ago
Samsung Mocks iPhone Duo Display Cracks in New Ad Campaign
Samsung Mocks iPhone Duo Display Cracks in New Ad Campaign
2 days ago
The MacRumors Show: OLED MacBook Pro, iPad Mini 8, and More
The MacRumors Show: OLED MacBook Pro, iPad Mini 8, and More
2 days ago
MacBook Pro With Touch Display: 15 More Details Revealed
MacBook Pro With Touch Display: 15 More Details Revealed
2 days ago
Russia Places Apple on State Surveillance Registry
Russia Places Apple on State Surveillance Registry
2 days ago
Halloween Weekend Brings Discounts on Apple Accessories and Pre-Orders
Halloween Weekend Brings Discounts on Apple Accessories and Pre-Orders
2 days ago
Apple Has Released More Than 25 New Products in the Past Two Months
Apple Has Released More Than 25 New Products in the Past Two Months
2 days ago
Local Code Launches as Free, Private AI Assistant Tool for Mac
Local Code Launches as Free, Private AI Assistant Tool for Mac
2 days ago
Apple Acquires Ascend.io
Apple Acquires Ascend.io
2 days ago
HomePod Mini 2 Launches Today: All the New Features
HomePod Mini 2 Launches Today: All the New Features
2 days ago
AirTag 2 4-Pack Drops to New Low Price of $69.99
AirTag 2 4-Pack Drops to New Low Price of $69.99
2 days ago
Rian Johnson's iPhone Camera App Goes Viral
Rian Johnson's iPhone Camera App Goes Viral
2 days ago
Where Did All the iPhone Duos Go? Mostly to Apple's Stores
Where Did All the iPhone Duos Go? Mostly to Apple's Stores
2 days ago
Apple's Touchscreen MacBook Pro Could Ship 1.5M Units in 2027
Apple's Touchscreen MacBook Pro Could Ship 1.5M Units in 2027
2 days ago
New Apple TV 4K and iPad Mini: RAM Amounts Revealed
New Apple TV 4K and iPad Mini: RAM Amounts Revealed
2 days ago
Apple Executive Comments on New iPad Mini Lacking 120Hz Display
Apple Executive Comments on New iPad Mini Lacking 120Hz Display
2 days ago
Here's a Hands-On Look at HomePod Mini 2's New Two-Tone Colors
Here's a Hands-On Look at HomePod Mini 2's New Two-Tone Colors
2 days ago

🔗 Related Apple News & Rumors

Stay updated with the latest Apple ecosystem news and verified rumors