The necessary starting point for this paper is to avow the importance that the use of databases by public institutions has acquired in the modernization of the State in general, and in the development of information systems to improve the processing and control of social security regimes in particular. Over the years, we have seen how government makes increasing use of databases, above all as ICT tools for the efficient administration of archives and the retrieval of data contained in documents.