Preventing the Spread: the Swiss Cheese Effect