Today’s devices, which make up the Internet of Things (IoT) and Cyber-Physical Systems (CPS), are becoming increasingly more heterogeneous, mobile and intelligent. They represent an untapped computational resource that is available on site. By taking advantage of these devices we reduce the need for distant service providers: direct communication with neighbour devices becomes key for handling local tasks and information. Thus, the traditional cloud is “descending” to the network edge and becoming “diffused” among the client devices in both mobile and wired networks. Since single individuals are now becoming walking sensor networks, with many types of devices (smart-shirts, smartphones, smart glasses, smart watches…), human behavior begins to have a significant impact on the availability of resources. This means that security risks rise tremendously in these distributed clouds.The objective of this paper is to present an analysis of security in the future Internet - an Internet that integrates the concepts of Fog of Things (FoT) and Human in the Loop (HiTL). This paper also describes our model and the platform that we implemented for the evaluation tests.