Preparing for an attack that breaches your defenses is the best way to minimize the damage it can do.