The installation of a video surveillance system in municipal property buildings intended for social rental could have as its legal basis Article 6.1.e of the GDPR, justified in the competences attributed to municipalities by local regulation and housing regulations in the field of social housing and Article 22.1 of the LOPDGDD, insofar as the system of video surveillance cameras is installed in enclosed and delimited spaces and is intended to preserve the safety of persons and goods, as well as their facilities. The controller must draw up a Memory, in the terms of Article 10 of the Instruction 1/2009, which describes in detail the characteristics of the treatment to be carried out and the weighting required to determine whether the measure exceeds the proportionality judgment. If the measure goes beyond the proportionality judgment, the city council could instruct the local police to control the cameras of the video surveillance system.