Skip to content
A
Alonso Sala
CRIMINAL LAWYERS
ES

Criminal Lawyers in Secrets Disclosure Defense

Criminal Lawyers in Sexting (Art

Last updated:

Specialist Defense in Secrets Disclosure Crimes

The offence of discovery and revelation of secrets, regulated in Arts. 197 to 201 of the Spanish Criminal Code, protects the fundamental right to personal and family privacy and the secret of communications (Arts. 18.1 and 18.3 SC). Consolidated Supreme Court case-law has precisified the contours of the type: it requires unlawful appropriation of papers, letters, email messages or any other personal documents or items; interception of communications by technical artifice; breach of computer keys or security measures; or the use of listening, transmission, recording or reproduction devices of sound or image without consent. As criminal lawyers specialising in offences against privacy, we tackle each file with specialised forensic computer expertise.

The typical modalities are varied and constantly sophisticated. Access to other persons' private communications (WhatsApp, email, social media) through improper use of known passwords or breach of keys. The installation of stalkerware (spyware) on third-party devices to monitor calls, messages, location, microphone and camera, frequently in gender-violence or couple-conflict contexts. The secondary sexting or non-consensual sharing of intimate images received with consent limited to the recipient (Art. 197.7 CP). The clandestine recording of conversations between third parties (Art. 197.1 CP), distinct from recording one's own conversations which case-law has considered lawful. The undue work access to employees' professional e-mail without acceptable-use policies. And the revelation of trade secrets (Arts. 278-280 CP) in cases of unfair competition and employee betrayal.

The penalties are significant. The basic type under Art. 197.1 CP (appropriation of papers, messages or interception of communications) carries prison from 1 to 4 years and fine of 12 to 24 months. If the discovered data are disclosed or transferred to third parties (Art. 197.3 CP), penalties rise to prison from 2 to 5 years. Sextortion and non-consensual sharing of intimate images (Art. 197.7 CP) sanctions with prison from 3 months to 1 year or fine, aggravable when there is affective relationship, particularly vulnerable victim or profit motive. Revelation of trade secrets carries prison from 2 to 4 years (Arts. 278-280 CP), expandable to 3-5 years when own or third-party profit motive is obtained. To custodial penalties always corresponds civil liability for moral and patrimonial damages caused.

The technical defence articulates several complementary lines. First, the prior consent: the partner or ex-partner, the employee, the family member may have consented to access at some point; expertise documents the scope and revocation of consent. Second, the reasonable expectation of privacy in work contexts (STC 39/2016, CJEU López Ribalda): if there was an acceptable-use policy, legitimate control and prior notification to the employee, the employer's access to professional e-mail is lawful. Third, the recording of own conversation (Art. 18.3 SC interpreted by STS 298/2013, 414/2014): legally, whoever participates in a conversation may record it without it constituting an offence, even if the other party ignores the recording. Fourth, the mistake of fact or prohibition in accidental access or ignorance of ownership cases. Fifth, the challenge to the digital chain of custody of the material presented by the prosecution, frequently defective in police investigations.

In current forensic practice we observe exponential growth in proceedings for discovery and revelation of secrets, especially linked to couple conflicts, gender violence with digital-stalking component, labour conflicts with unlawful employee monitoring, executive betrayal copying databases before exit, sextortion and revenge porn after break-ups, and digital grooming of minors. Organic Law 1/2022 on the integral guarantee of sexual freedom, Act 1/2019 on Trade Secrets, Organic Law 1/2025 on Justice Service Efficiency, the EU GDPR 2016/679 and recent case-law on electronic evidence and digital chain of custody have transformed the regulatory framework. At Alonso Sala, we tackle each file with certified forensic computer experts, manage urgent content-removal requests and articulate the defence or prosecution with the urgency and discretion the matter demands.

Secrets Disclosure Defense Services

Our secrets disclosure crime specialists design advanced defense strategies, thoroughly analyzing the expectation of privacy, consent, and developing digital forensics when necessary.

  • Partner Espionage: Installing spyware (stalkerware) on a partner's mobile is a serious crime of discovery of secrets, often concurrent with gender violence.
  • Business Control: Can the boss read the employee's emails? Only if there is a clear and notified device usage policy that eliminates the "expectation of privacy". Otherwise, it is a crime.
visibility_off

Why Alonso Sala for Discovery of Secrets?

Digital espionage, sexting, and trade secrets. Mastery of privacy expectation vs. corporate policies

  • shield'Privacy expectation' strategy in labor context (company policies).
  • shieldSecondary sexting defense: metadata analysis to prove non-dissemination.
  • shieldForensic stalkerware analysis to identify installer.
  • shieldTrade secrets litigation: economic damage valuation vs. criminal typicality.

Privacy Crimes in Spain: Discovery & Disclosure of Secrets — Defence Guide

Privacy crimes — discovery and disclosure of secrets (Art. 197 CP), illegal access to computer systems (Art. 197 bis), and non-consensual image sharing (Art. 197.7) — are among the fastest-growing offences in Spain. The digital environment has made private communications, intimate images and personal data especially vulnerable. These offences carry prison sentences of up to 5 years and require specialised technical defence combining legal expertise with digital forensics.

Penalty Table: Privacy Crimes

OffenceArticleDescriptionPenalty
Discovery of secrets (basic)Art. 197.1Seizing letters, emails, or intercepting telecommunications1 – 4 years prison
Disclosure to third partiesArt. 197.3Revealing or transferring discovered secrets2 – 5 years prison
Sensitive data (health, sexuality, ideology)Art. 197.5Discovery/disclosure involving specially protected data3 – 5 years prison
Illegal access to computer systemsArt. 197 bisUnauthorised access breaching security measures6 months – 2 years
Non-consensual image sharing (sexting)Art. 197.7Sharing intimate images obtained with consent3 months – 1 year
Professional perpetratorArt. 197.4Crime committed by person in charge of data filesUpper half + disqualification

Key Defence Strategies

Consent Defence

If the victim gave express consent to access their communications or devices, the crime is excluded. The defence must prove that consent was freely given, specific and not obtained through deception.

Fruit of the Poisonous Tree

If the prosecution's evidence was obtained through illegal means (hacked WhatsApp, unauthorised wiretap), it is inadmissible under Art. 11.1 LOPJ. Challenging the chain of custody is critical.

Lack of Criminal Intent (Dolo)

If the access was accidental or by mistake (opening someone else's email by confusion, finding an unlocked phone), there is no criminal intent. The prosecution must prove the accused acted knowingly.

Whistleblowing Protection

EU Whistleblowing Directive (2019/1937) protects employees who report illegal activity through proper channels. Revealing secrets to expose crime may be justified, though procedure matters.

IP Attribution Challenge

An IP address alone may not identify the perpetrator. Shared connections (Wi-Fi, VPN, corporate networks) create reasonable doubt about who actually accessed the data.

Statute of Limitations

Basic privacy crimes prescribe in 5 years. Digital evidence is volatile — logs, IPs and server records may be deleted. Early action by both prosecution and defence is essential.

Key Case Law

Doctrina TSWhatsApp access without password is still a crime

The Supreme Court confirmed that accessing a partner's unlocked phone constitutes the crime of Art. 197.1 CP. The absence of a password does not imply consent. Privacy is presumed regardless of security measures.

Doctrina TSEmployee monitoring: Barbulescu doctrine applied

Following ECHR Barbulescu v Romania, the Court ruled that employer monitoring of employee communications requires prior, clear policy notification. Without it, evidence is inadmissible and the employer may face criminal liability.

Doctrina TSNon-consensual image sharing: Art. 197.7 elements

Clarified that Art. 197.7 requires images obtained WITH victim's consent (within a relationship) and shared WITHOUT consent. Images obtained covertly constitute a different offence (Art. 197.1).

quiz

FAQs

Is it a crime to read my partner's WhatsApp if I know their password?expand_more
Yes, absolutely. It is a crime of discovery of secrets (Art. 197 CP) with prison sentences of 1 to 4 years. Consent to a relationship does not include the right to violate privacy. It doesn't matter how you got the key.
As a boss, can I read my employees' emails?expand_more
Only if there is a very clear company policy, notified to and accepted by the worker, which warns that electronic means are for professional use and may be monitored. If no such policy exists, reading their emails is a crime.
If my partner sent me an intimate photo, can I forward it to a friend?expand_more
No. The consent was for you to see it, not to disseminate it. Forwarding it without their permission is a crime of 'secondary sexting' (Art. 197.7 CP), punishable by 3 months to 1 year in prison.
What is 'stalkerware'?expand_more
It is spyware installed on a person's mobile to monitor their calls, messages, location, and activate the microphone or camera without their knowledge. Its installation is a serious crime of discovery of secrets.
Is recording a conversation I am part of a crime?expand_more
No. Recording a conversation in which you are one of the interlocutors is legal and the recording is valid evidence in court, even if the other person does not know. What is a crime is recording conversations of third parties.
What is the penalty for revealing a trade secret?expand_more
If you are an employee who reveals a secret to harm the company, the penalty is 2 to 4 years in prison. If you do it for your own benefit or a third party's, from 3 to 5 years. It is one of the most serious forms of unfair competition.
Is it a crime to access an employee's company email?expand_more
It depends. If there is an acceptable-use policy and the employee was informed, it may be legitimate. Without a prior policy or consent, accessing the employee's corporate email can constitute discovery of secrets.
Is spyware on someone else's devices a crime?expand_more
Yes. Installing spy software on another person's phone, computer or tablet without their consent constitutes discovery of secrets under Art. 197.1 CP, punishable by 1 to 4 years' imprisonment.
Can parents spy on their minor children's phones?expand_more
Parents have a duty to protect minors, which may justify a certain degree of control. But case law sets limits on the digital surveillance of mature minors (over 14).
Is it a crime to look up information about someone in public databases?expand_more
Accessing publicly available databases (Commercial Registry, Official State Gazette) is not a crime. Accessing restricted databases (police, health, tax) without authorization is.

Looking for a Secrets Disclosure Defense Lawyer in Spain?

As a national law firm, we offer specialized criminal defense in courts across Madrid and the rest of Spain. We handle each Secrets Disclosure Defense case with the urgency and technical rigor it requires from day one.

Do you need specialised legal assistance?

The judicial system is complex. We have the criminal-law specialisation and technical resources required to take on the defence.

call