Secure Data Storage in Smart Appliances: Ensuring User Privacy