Discovery and Disclosure of Secrets in Marbella
Discovery and disclosure of secrets
Unauthorized access to another person's email, mobile phone, or social media accounts — frequently in the context of a break-up, a workplace conflict, or a corporate dispute — constitutes one of the fastest-growing offenses in Spanish judicial practice in recent years. Article 197 of the Criminal Code protects a fundamental right of broad scope — informational freedom and the privacy of communications — through an equally broad statutory definition, which demands a rigorous analysis of each specific act. At RAKH ABOGADOS we handle this area both in defending the person under investigation and in representing the victim, with the support of computer forensic experts who establish the access, its scope, and its authorship.
Two basic forms: communications (Article 197.1) and data files (Article 197.2)
Article 197.1 of the Criminal Code punishes anyone who, in order to discover another's secrets or violate their privacy, without their consent, seizes their papers, letters, emails, or any other documents or personal effects, intercepts their telecommunications, or uses technical devices for listening to, transmitting, recording, or reproducing sound or images. Article 197.2 of the Criminal Code, for its part, specifically protects personal or family data recorded in files or on computer media, punishing anyone who, without authorization, seizes it, uses it, or modifies it to the detriment of a third party. Case law has clarified that the "seizure" required by both provisions does not demand physical apprehension: it is enough to obtain the content by any technical means allowing its subsequent reproduction, including simply viewing or photographing it.
The moment of consummation: mere access already constitutes the offense
One of the issues of greatest practical significance is that the offense is consummated by the simple unauthorized access, without it being necessary to read the messages in full or subsequently disclose them:
"...se consuma tan pronto el sujeto activo 'accede' a los datos, esto es, tan pronto los conoce y tiene a su disposición, pues solo con eso se ha quebrantado la intimidad protegida."
Tribunal Supremo, Sala de lo Penal, STS 538/2021, de 17 de junio de 2021(The offense is consummated as soon as the perpetrator "accesses" the data — that is, as soon as they become aware of it and have it at their disposal, since that alone breaches the protected privacy.) This doctrine means that simply viewing the inbox of another person's email account, without needing to open a single message, already satisfies the statutory definition. Our defense accordingly focuses on establishing the existence of consent — express or tacit — from the holder of the account or device, a circumstance that entirely excludes the offense and that constitutes, in practice, the most common line of defense in the context of couples or former couples who shared access credentials.
The aggravating circumstance of disclosure (Article 197.3 CP) and non-consensual sexting (Article 197.7 CP)
Article 197.3 of the Criminal Code imposes a higher sentence — from two to five years' imprisonment — on anyone who discloses, reveals, or transfers to third parties the data, facts, or images discovered, with a reduced penalty where the person disclosing them did not take part in the original discovery. Alongside this offense, Article 197.7 of the Criminal Code separately punishes the disclosure, revelation, or transfer to third parties of images or audiovisual recordings of another person obtained with their consent at their home or any other place beyond the sight of third parties, when they seriously affect that person's privacy and are carried out without their consent — the scenario known as "revenge porn" or non-consensual sexting — with the sentence aggravated to its upper half when the acts were committed by a spouse or partner, or when the victim was a minor or a person with a disability in need of special protection. Case law has clarified that these offenses are semi-public: prosecutable only upon a complaint by the victim, except where the victim is a minor or a person with a disability, in which case the Public Prosecutor's Office may act ex officio.
Unlawful access to computer systems (Article 197 bis CP): "hacking" properly speaking
Article 197 bis of the Criminal Code separately punishes, regardless of whether specific personal data is actually accessed, anyone who accesses all or part of an information system without authorization by breaching the security measures established to prevent it, or remains within it against the will of the person with the legitimate right to exclude them. This is the offense applicable to unauthorized access to email accounts, social media, or mobile devices through the breaching of passwords or security measures, regardless of the content ultimately accessed. Article 197 ter of the Criminal Code further punishes, as an autonomous preparatory act, the production, acquisition, or supply of computer programs or of passwords and access codes specifically designed to commit these offenses.
Frequently invoked defenses and their rejection by case law
In the context of a couple or former couple, it is common for the person under investigation to invoke necessity — to uncover an infidelity — or the legitimate exercise of a right as a justification for accessing another's device. Case law systematically rejects these arguments, on the grounds that there is no serious and imminent danger of the kind necessity requires, nor any right that legitimizes non-consensual access to another person's private communications, whatever the romantic relationship between them. In the employment context, the mere fact that an employer provides a corporate email account to an employee does not legitimize access to that employee's personal correspondence without express authorization and without observing the previously notified monitoring protocols, a matter on which there is settled case law taking a restrictive approach.
Our defense strategy
- Establishing consent: we gather the evidence — messages, testimony, the parties' habitual practice — establishing express or tacit authorization for the access, a circumstance that entirely excludes the offense.
- Challenging the procedural requirement: we verify compliance with the requirement of a prior complaint by the victim, a prerequisite without which the proceedings must be dismissed, save for statutory exceptions.
- Correct legal classification: we determine whether the facts fall under Article 197.1, 197.2, or 197 bis of the Criminal Code, with a direct impact on the applicable sentence and the required evidence.
- Representation of the victim: we prepare the complaint, the appearance as private prosecution, and the computer forensic expert evidence needed to establish the access, its scope, and the identity of the person responsible.
Have you accessed, or been accused of accessing, another person's email, mobile phone, or social media without their consent, or have you been the victim of this kind of intrusion? Properly establishing consent and correctly classifying the facts in legal terms are decisive. At RAKH ABOGADOS we combine legal rigor and computer forensic expertise to defend your interests throughout Spain.
Frequently asked questions, glossary and comparisons
Frequently asked questions
Is it a criminal offense to access another person's email or mobile phone without their consent?
See answer in Frequently Asked Questions →