He was also handed a three-month suspended jail term and will be deported immediately, the report said.
According to official records, the defendant, who worked as a computer programmer with the media company, resigned and threatened to hack its client websites after 4,000 dirhams (USD 1,080) was deducted from his salary.
"He sent WhatsApp messages to another programmer at the company saying that he will hack the websites if the company did not repay him the 4,000 dirhams deducted from his salary.
"He was informed that the deduction would be made if he resigned before the end of the probation period," said the company owner.
After investigation, the police said that the data found on the defendant's personal laptop confirmed that he had accessed the websites.
The defendant has denied the charges.
(This story has not been edited by Business Standard staff and is auto-generated from a syndicated feed.)