This time things have gone seriously for Apple. Recently, Apple Inc. planned to eliminate security an iPhone security vulnerability that has been till date used by U.S. law enforcement agencies to hack into the devices during investigations.

Apple in a statement added that, this patch prevents an iPhone’s USB port from being used for anything but charging, an hour after the device has been locked, and thus blocking access to data. Now, as per New York Times, this move is already being criticized by some in the law-enforcement community.

A company spokesperson added in a statement that “We’re constantly strengthening the security protections in every Apple product. We have the greatest respect for law enforcement, and we don’t design our security improvements to frustrate their efforts to do their jobs.”

iPhone-8

Apple’s privacy practices have often put the company at odds with police and other government investigators. In 2016, the U.S. Justice Department clashed with Apple when the company refused to unlock an iPhone connected to a mass shooting in San Bernardino, California.

The changes to the default settings of the iPhone are intended to stop unauthorized access to the phones via the USB port. Back in 2016, a court order demanded that Apple would help FBI unlock the phone used by San Bernardino gunman Syed Rizwan Farook.

The company resisted and the FBI eventually paid experts to develop technology that unlocked the phone. After this, the FBI has never named the security firm or group of hackers who did the work.