How Detect and Prevent Data Breaches