Preventing Compromised Devices