A TOP security expert admitted downloading 90,000 child porn files from the internet.

Former Home Office security chief, David Tracey, 48, admitted accessing more than 60,000 photos and 30,000 movies of children while holed up in the bedroom of the house he shared with his ex-wife.
 

Basildon Crown Court heard Tracey, from Billericay, attempted suicide twice after cops found the images on his computer in December 2010.

Judge Ian Graham told Tracey he would not be jailed so he could attend internet sex offender rehabilitation classes.
 

He was handed a three-year community order, a sex offences prevention order and ordered to pay £750 costs and a victim surcharge.
 

Tracey was suspended and later dismissed from his job as an anti terror officer when the allegations came to light.

He was in charge of overseeing security for the UK’s royal palaces and part of the Office for Security and Counter Terrorism at Whitehall.