Privacy International defends the right to privacy across the world, and fights surveillance and other intrusions into private life by governments and corporations. Read more »


I. Legal framework

Constitutional privacy and data protection framework

The Spanish Constitution recognises the right to personal privacy, secrecy of communications, and the protection of personal data. Article 18 of the Constitution states, "(1) The right of honour, personal, and family privacy and identity is guaranteed. (2) The home is inviolable. No entry or search may be made without legal authority except with the express consent of the owners or in the case of a flagrante delicto. (3) Secrecy of communications, particularly regarding postal, telegraphic, and telephone communication, is guaranteed, except in the case of infractions, and only by judicial order. (4) The law shall limit the use of data processing to guarantee personal and family honour, the privacy of citizens, and the full exercise of their rights."1

The first Spanish Data Protection Act (LORTAD) was enacted in 1992, and was succeeded in 1999 by an amended Data Protection Act (LOPD) that brought Spanish law in line with the European Union Data Protection Directive.2 The LOPD applies to information held by the public and private sectors. The law establishes the right of citizens to know what personal data is contained in electronic records, and grants citizens the right to correct or delete incorrect or false data in those records. Additionally, the LOPD also restricts the disclosure of personal information to a third party by requiring the consent of the individual to the specific purpose for which the data was collected. Additional protections are also provided for sensitive personal data. Consumer groups, however, are concerned about the law's provisions allowing use of information without consent unless the consumer has opted out of such use. In 1999, regulations on the secondary measures required to be taken to protect electronic data systems were issued in accordance with the LOPD.3

A new Royal Decree of 19 January 2008, which entered into force on 19 April 2008, implements the LOPD to prevent the use of personal data without the data subject's knowledge and prior consent. The data subject will be able to exercise his right to access, rectify, cancel or oppose the information, and revoke his consent with the data controller easily and free of charge. The Decree also establishes higher security measures for several types of personal data.4

Royal Decree 1720/2007 implements the Organic Law 15/1999 of Data Protection and introduces some novelties: it regulates minors' consent (under 14 years of age, it is necessary to get the parents' consent) and establishes the security measures that must be followed to process personal data in non-computerised databases. The new decree also establishes the administrative procedure a data controller must follow to avoid providing data subjects access to their personal data, the procedure to register codes of conduct, and the conditions upon which a data controller is authorised to process personal data for historic, statistical or scientific purposes. The Royal Decree also addresses other issues that were previously regulated in other royal decrees and instructions,5 such as international transfers of personal data, the enforcement process by the Spanish Data Protection Authority, the data subject's exercise of his right to access his personal data, as well as cancellation, rectification and objection rights.

Another Royal Decree of 8 January 2010 modified the LOPD to prevent the exchange and matching of personal data between databases without data subject consent.6

Sector-based laws

Organic Law 4/2007 of 12 April 2007 about Universities7 allows the publication on the Internet of the grades of university students. Law 30/2007 of 30 October 2007 about Public Contracts8 regulates the conditions under which public bodies may contract data processors to process personal data.

Data protection authority

The Spanish Data Protection Authority (Agencia Española de Protección de Datos, or AEPD) is charged with enforcing the LOPD.9 In 2000, the country's data protection laws and the AEPD's authority to enforce those laws were challenged and the Constitutional Tribunal of Spain issued three judgments clarifying the issues at stake.10 The first was a constitutional challenge against the 1992 law, for breach of the provisions of the country's constitution relating to distribution of power between the State and other agencies (in this case the AEPD). The court rejected this challenge. The second concerned another constitutional challenge which was originally brought against the 1992 law but which carried over to the 1999 law. This judgment upheld the constitutionality of the law generally, although the court struck down certain provisions allowing government agencies to transfer personal information about Spanish citizens without their permission. The court ruled that these provisions infringed on the privacy rights guaranteed to citizens by Title 18 of the Spanish Constitution.11 The third case concerned an employer's processing of an employee's health data. The court ruled that the applicant's constitutional privacy rights were breached when the employer noted the employee's medical diagnosis on his sick leave records.

As part of their enforcement of the country's data protection laws, the AEPD maintains a registry of information databases in Spain and can investigate violations of the LOPD. As of December 2007,12 there were 1,017,266 registered information databases, of which 61,553 were held by private entities, and 955,713 were held by public entities, compared to 815,093 databases registered as of December 2006, of which 56,138 were held by private entities and 758,955 were held by public entities.13

In 2007 the number of queries to the Citizen Services of the AEPD followed a growth trend that has resulted in an increase of 30 percent (for a total of 47,741 consultations). Access to the AEPD website has increased from 1,518,714 in 2006 to 2,230,120 hits in 2007.14

During 200715 AEDP staff grew to 103, from 99 in 2006.16 In 2007, 849 defence of citizens' rights procedures (procedimientos de tutela de derechos) were defended,17 compared to 556 in 2006 and 579 in 2005.18 Also in 2007, there were 879 defence of citizen's rights procedures, 617 regarding the right to access one's personal data, 545 on the right of cancellation, 26 on the right to modify one's personal data and 32 regarding the right of opposition. There were 849 resolutions, of which 617 were admitted and 155 dismissed.19 The AEPD has issued 396 penalties in 2007, compared to 326 in 2006.20

Between 2008 and 2010, the AEPD published various guides about how to implement the LOPD: a "Data Protection Guide for Database Owners" that includes tools and rules to administer databases in compliance with the LOPD;21 a "Guide on Data Security";22 a report on children's rights and parents' duty;23 a guide about how to use video surveillance while complying with the LOPD for companies, associations and individuals;24 and a last one, in 2009, about how to protect workers' personal data.25 The AEPD also developed its website: a new web section now includes practical information about data protection on the Internet.26

In November 2009, the AEPD organised the 31st International Conference of Data Protection and Privacy Commissioners. At the conclusion of this meeting, commissioners presented the Joint Proposal for a Draft of International Standards on the Protection of Privacy with regard to the processing of Personal Data. The purpose of the document is to define a set of principles and rights guaranteeing the effective and internationally uniform protection of privacy with regard to the processing of personal data, together with the facilitation of international flows of personal data around the world.27

The AEPD's annual reports in 2008 and 2009 show that Internet, video surveillance, and lists of defaulters constitute the bulk of data protection-related complaints.

In October 2008, the AEPD's Director made an appearance before the Constitutional Commission of the Spanish Lower Chamber to report the results of the AEPD's 2007 Annual Report. In his speech, the Director said that the priority of the AEPD is the citizens, so it is necessary to raise awareness among citizens regarding the right to data protection by providing more information and supporting their complaints and appeals when they realise that their rights have been violated. He also said that the themes of interest to the AEPD are video surveillance, mobile and Internet advertising, the dissemination of images through the Internet or YouTube or, for example, search engines.28 He stressed: "The conclusion is clear: public awareness in Spain is above the European average."29

In April 2008, the AEPD organised a public briefing to discuss the new developments incorporated into the LOPD. The meeting gathered more than 2,000 people from the public and private sectors.30

The AEPD's 2007 Annual Report includes a section with recommendations that came out of the experience the authority gained, that are particularly relevant to the general public. At the legal level, it affirmed the need to regulate the anonymous online or offline publication of court decisions and regulations of internal reporting systems, managed by workers within a company, in order to ensure the complainant's confidentiality and the rights of the accused. It also stressed the need for a "Plan for the Promotion of Good Practices" as a guarantee of privacy.

The AEPD also noted in its 2007 Annual Report that in the case of peer-to-peer (P2P) litigation, where the legal subjects of privacy and copyright merge, only a law could define which personal data can be used and for which purposes, as well as define the right balance between data protection and intellectual property.31 In that regard, the AEPD recommended an initiative to promote special precautions to avoid the unwanted exchange of sensitive personal data on the Internet via P2P networks.32

(See more details under the "E-commerce" section.)

In January 2005, the AEPD decided that in the interest of transparency and to promote public knowledge of its decisions, it would publish all of its resolutions on its website within a month from the day after the persons concerned had been informed of a decision.33 The only exception would be with regard to the registration of databases in its record of authorised information databases.

Two issues on which the AEPD has been particularly active in 2004 and 2005 is the fight against "spam", and the encouragement of small- and medium-sized businesses (pequeñas y medianas empresas, or PYMES) to register their databases in the General Register of Personal Data (Registro General de Protección de Datos, or RGPD). Although registry of information databases is compulsory, only 10 percent of PYMES that are active in the Spanish territory are complying with the law.34 With regard to "spam", the AEPD announced the signing of a Memorandum of Understanding on 23 February 2005 with the US Federal Trade Commission. This memorandum is aimed at establishing administrative cooperation between Spain and the United States in order to combat the problem of "spam". The AEPD also announced that almost a hundred investigations had been launched in relation to this phenomenon, and these investigations had given rise to 14 legal actions for breaches of data protection rules, of which six have been resolved. Of these six resolved cases, two were classified as "serious breaches", two as "minor breaches", and in the remaining two, proceedings were discontinued.35 In general, however, fines of up to €30,000 are applicable for breaches of anti-spam regulations.

In the 2004 opinion on "The Qualification of the IP Address as Personal Data,"36 the AEPD ruled that IP addresses can be considered "personal data" and therefore, that every data controller that processes such information has to comply with the LOPD requirements. Failure to comply may subject the violator to fines of up to €300,000).37

Major privacy and data protection case law

On 16 August 2010, a judge started to investigate the complaint of an Internet users association (APEDANICA) according to which Google illegally captured and stored from 2008 data from users connected to WiFi networks when it collected photos for its Street View service.38 According to the AEPD, the facts might constitute a violation of the Organic Law of Protection of Information.39

(See more details under the "Location privacy" section.)

An important case the Supreme Court decided in 2008 is the one where the defendant, the "Association against Torture" (Asociación Contra la Tortura), had published on the Internet a list of the names and surnames of people being investigated for torture. In a 26 June 2008 decision, the Court confirmed the AEPD's resolution that had considered that the association had published personal data on the Internet without the data subject's consent, and had fined it. The Supreme Court considered that freedom of speech was not a defence.40

On 28 January 2008, the Court of Justice decided that the "copyright directives do not require the disclosure of personal data in civil proceedings, and that Member States' competent authorities should take measures to ensure the balance between copyright and intellectual property, on the one hand, and privacy and personal data protection, on the other."41 (See more details under the "E-commerce" section.)

The Supreme Court does not support the cancellation of one's personal data in baptismal records: it revoked the Decision of the Audiencia Nacional of 10 October 2007 that had endorsed the view held by the AEPD since 2004. The AEPD had ruled that baptismal records are files that contain personal data; therefore data protection principles, such as the principle of data quality and accuracy should apply to them.42

In 2007, the Supreme Court decided two cases about privacy in the workplace, one involving an employer's use of his employees' fingerprints to control their activities at work, the second dealing with an employer's use of email and Internet monitoring tools in the workplace.

(See more details under the "Major privacy and Data Protection Case Law" section.)

In December 2004, 12 persons from different social movements in the region of Catalonia filed a complaint with the AEPD as a result of the alleged inclusion of their personal data and photographs in an illegal database of a "political" nature held by the National Police Force's Provincial Information Brigade (Brigada Provincial de Información). The plaintiffs had no criminal records, but were part of a group of 30 people whose photographs had been shown to three persons accused of throwing Molotov cocktails at the police station of Sants (a neighbourhood in Barcelona) during their interrogation on 3rd October 2004. This procedure would have been legal if the people whose photographs were shown had had criminal records. A further concern is that the photographs that were shown were not from their national ID cards (DNI), but had been taken during their participation in public activities. The plaintiffs claimed that Article 7.4 of the 1999 LOPD was contravened, as it forbids "databases created with the exclusive scope of storing personal data that reveal the ideology, trade union membership, religion, beliefs, racial or ethnic origin, or sexual preferences." The police denied holding a database to identify people related to social movements, and stated that it only maintains a database of citizens with judicial precedents, although it also admitted using a database for investigations, which operates under the control of the Data Protection Authority.43