With the rise in smart devices and home control systems, the term Smart House, which denotes a home incorporating interconnected devices, became significantly more frequent. A large number of devices means a large number of technologies developed by various manufacturers and characterised by numerous functions and low safety. Besides explaining the threats to the above-mentioned systems and devices, this thesis also presents their possible solutions. The purpose of this work is to thoroughly examine the threats and good practices, and then use them as guidelines for building a Smart House system. The implementation is divided into three parts: network, web application on the main unit, and microcontrollers as end devices. We discovered that...