End-to-end protection in the cloud