Internet of Things (IoT) has attracted considerable attention, let alone acquaintance, in academia and industry in particular over the last few years. The factors behind this attraction are the new capabilities IoT is promising to deliver. On a human level, it creates an image of a future world in which everything in our ambient environment is hooked up to the internet and communicates seamlessly with each other in order to operate smartly. The ultimate aim is to allow objects around us to efficiently sense our environments, interact easily, and eventually create a better world for us: one where everyday objects behave on the basis of what we need and want without explicit orders. That being said, enabling devices to communicate to when they are not properly secured, the internet opens them up to a range of significant vulnerabilities. This research concentrates on security threats and vulnerabilities on each layer of IoT architecture. We survey a vast range of relevant IoT security works that use classical solutions and new emerging security solutions. The advantages of classical solutions are effective in optimizing resources such as memory, bandwidth and computing, but do not face the challenges of scalability and heterogeneity, While the emerging approaches like Software Based Networking and blockchain can offer to IoT through to their efficiency and scalability