A man looks at the screen of his mobile phone in front of an Apple logo outside its store in Shanghai, China on July 30, 2017.

Apple, known for its strict code of secrecy and conduct, expects all its employees to be tight-lipped about its business strategies and developments. However, what happens if it is not the employee who breaches the trust but someone whom he or she confided to? They have to pay the price equally.

This is exactly what happened when the daughter of an Apple employee leaked the details of the company's flagship device iPhone X online. Brooke Amelia Peterson went to the Apple Campus to visit her father and have a look at the iPhone X. There she filmed the phone and shared the video in her vlog and, as expected, the footage went viral.

Filming inside the Apple campus is strictly prohibited and filming of an unreleased phone is definitely a big violation. The father had to pay the price for the violation and he was summarily fired from his job.

Check out the video here:

Apple had requested Amelia to take down the video, but it was too late as many had already seen it.

In another video on youtube, she explained that she had no intention of causing any harm and did the vlog because she "loves making youtube videos." She did not blame Apple for firing her father either, as she believes that rules are there for "happiness and safety of the employees". She added that her father takes full blame for his error and they have no hard feelings against the company.

Although the video did seem as something innocent, it had footage of an iPhone X with special employee-only QR codes. Another significant thing that surfaced was a notes app, which appeared to have codenames of unreleased Apple products.

Amelia said that the backlash was very bad, but held the view that her father is a good man and a dedicated employee of Apple. She also claims that she had no idea that this video would end up being such a big controversy, considering that it was like any other iPhone video from an ordinary youtube channel.