The agency's director promises to discipline a handful of workers who jeopardized network security by visiting and transmitting x-rated material.