A method is provided for protecting flash memory residing on a computing device. The method includes: receiving a data file having a digital signature at a main processor; forwarding the data file from the main processor to a secondary processor for signature validation; validating the digital signature associated with the data file at the secondary processor; enabling a write capability of a flash memory upon successful validation of the digital signature; and writing the data file to the flash memory.