As painful as breach incidents are for the service provider and affected companies, they also offer a teaching moment.