There are a few ways companies can protect customer data from hackers.