Intelligent devices are providing new services and we are almost unaware of their presence: our car is not anymore a mechanical machine, as it became a connected device where electronics suppose an important part; in hotels, we no longer use a key as we can open our room with a card or with our mobile phone; our home thermostats can be connected to a weather forecasting service to take advantage of the temperature of the environment. Those are all examples of the applications that allow embedded technologies, wireless communication networks, and in summary, the "Internet of Things" (IoT). This subject analyzes the problems and the best practices to make this kind of systems secure.