how to prevent a data compromise