The fact that information is the most valuable commodity is very important to urban planners. They anticipate great results from information collected through the city infrastructure to ensure a better life quality and energetic sustainability of the cities. Smart cities systematically take use of the information and communications technology (ICT) with the purpose of social and ecological progress. Due to the significant affect of the ICT on the privacy of an individual this thesis focuses mostly on identifying the digital rights of an individual and proposes possible ways to ensure a higher standard of privacy for the users. Educational activities and the procedure of anonymisation and pseudonimisation have the main role in this process. In the main part of this work the national and European legislation in the field of data protection are presented. As data collecting in Smart cities is mostly through smart devices, the focus is on legal solutions that concern the consent of the user in collecting data, processing data, transparency of the process and data minimization. Alternative solutions to provide privacy, such as Privacy by design and Sticky policy, are presented. The final part of the work presents the role and working methods of law enforcement for systematically using ICT in Smart cities. In conclusion, with passing the General Data Protection Regulation, the European Union began to specifically regulate the institution of consent and gave more digital rights to individuals. However, with the development of ICT it will be necessary to think about new approaches in giving consent and setting the boundary for privacy.