Secure Handling of Devices