With IoT many applications and services have been emerging in the areas such as, smartcities, surveillance, healthcare, security, etc. The services offered can be ubiquitously accessed through smart device applications by the users. The interaction between smart devices and cloud based web services is a common scenario of IoT deployment. Security is a major concern in IoT and some papers have proposed a secure communication channel between the users and devices of a smart home in terms of authentication, authorization and antitheft mechanism. However, a reliable communication is considered in most of the cases. In this paper,a study is conducted by assuming a lossy communication channel and thus the employment of a suitable routing protocol to an existing IoT security system.