A year ago, the Federal Bureau of Investigation made an extraordinary demand of Apple. To get inside a dead terrorist’s iPhone, law enforcement officials wanted the company to create a hackable version of the software that runs all iPhones.
To many legal experts, it wasn’t obvious that Apple had a winning case against the request. But facing great legal and political opposition, Apple took a stand anyway. Timothy D Cook, Apple’s chief executive, argued that the company had a financial and moral duty to protect its users’ privacy and security. He made clear that Apple would obey American law —

