Apple insists that the US government doesn't have backdoor access to its data(despite signs to the contrary). So what happens when law enforcement comes knocking at the company's door, then? We have a fairly good idea as of this week. The company has published guidelines showing just what data it can provide to the authorities and the legal steps needed to get that information. As a rule, Apple can hand over anything from iCloud and its stores as long as there's a proper court order, subpoena or warrant. It can also pull call records, contacts, text messages and media from locked iOS devices sent to its headquarters in Cupertino, although calendars, email and third-party apps are off-limits.