A small dc motor working and moving a disc. When device/motor is power off, a hacker with a strong magnet came and rotate the motor; without touching the motor, just moving the magnet near the motor is sufficient to cause the motor-nucleus to rotate, and hence the shaft rotate and the disc likewise. A friend told me this happens also with dc stepper motors, but not sure (Currently, no stepper motors available to test.)
Can you suggest a measure/solution to prevent magnet to rotate a motor?
Thanks