Flashing ROM in Android devices refers to replacing the existing ROM with a custom ROM, which in effect replaces the stock OS in the device with a customized verison of the OS. Replacing the stock OS in the devices causes problems such as device warranty going void, the device being less secure etc.,
To prevent flashing, a combination of two restrictions needs to be pushed to the managed Android devices, as explained below: