Application-layer encryption is the best way to protect data from hackers that get past your firewall or find a vulnerability in your application.