Joint Analysis on Securing Edge Devices