Apple chief executive Tim Cook met yesterday with China’s vice premier Ma Kai in Beijing to discuss data security, Xinhua news agency reported.

The meeting comes just days after Greatfire.org claimed Chinese authorities were behind a countrywide man-in-the-middle attack on Apple’s iCloud service in China on the day the iPhone 6 went on sale.

The group, which monitors online censorship in China, said the attack went after users’ personal information and was similar to attacks in China against Google and Yahoo in the past.

China officials have denied that the government was involved in the iCloud hack.

Xinhua said Ma and Cook discussed protection of users’ information as well as ways to cooperate on information and communication issues.

On Tuesday Apple appeared to have rerouted user data to bypass the hack, Greatfire told Reuters.

While in China, Cook spent two hours ‘inspecting’ a Foxconn iPhone workshop in Zhengzhou, the capital of Henan province.

Foxconn’s three workshops in Zhengzhou employ 300,000 workers and expect to make 120 million iPhones this year.