The invention relates to a non-transient computer readable storage medium, an electronic device and a protection method thereof. The electronic device comprises a housing, a disassembly
detector, a security
chip and a controller. The disassembly
detector is disposed in the internal space of the housing and is configured to generate a warning
signal based on the disassembly of the housing. The security
chip is configured to store
verification data, the
verification data including a first code in an initial state. The security
chip is communicatively connected to the disassembly
detector and is configured to change the content of the
verification data based on receiving the warning
signal. The controller is communicatively connected to the security chip. When the electronic device performs a startup program, the controller is configured to receive the verification data and confirm whether the verification data conforms to the first code. And if the verification data is consistent with the first code, the controller allows the startup program to continue to proceed, and otherwise, the controller drives the startup program to be paused or terminated. By means of the configuration, the electronic device can detect that the
machine shell is disassembled and forbids or limits starting up, and data stored in the electronic device are prevented from being stolen.