close (or shut) the door on (or to) exclude the opportunity for; refuse to consider.
2014Daily Telegraph Harman is developing a software barrier which might not be able to prevent a cyber attacker from making mischief with your route guidance, but would firmly close the door on any attempt to attack the operational side of the car.