To disable infrared on a security camera, you can cover the IR lights with tape or paint, or use a IR illuminator to flood the camera with infrared light, which can overwhelm the camera's sensor and render it useless.