Hacking attacks like the one that hit Target Corp. stores just before the winter holidays are putting top technology executives under severe pressure.