Preventing your IoT devices from becoming a hacker's gateway to your privacy