I just secure the probe to the heating device, and don't put it in the cage. I take temps in the cage with a temp gun and adjust the thermostat to produce the right temps.
In the few instances I've put probes for thermostats or thermometers in the cage, I don't secure them, I just stick them under the edge of the hide.