Whether on purpose or inadvertent, disclosures of classified or sensitive information can cost troops their careers.