1. Anyone who, in order to discover the secrets or violate the privacy of another, without their consent, seizes their papers, letters, emails, or any other documents or personal effects, intercepts their telecommunications, or uses technical devices for listening, transmitting, recording, or reproducing sound or images, or any other communication signal, shall be punished with imprisonment for one to four years and a fine of twelve to twenty-four months.
2. The same penalties shall be imposed on anyone who, without authorization, seizes, uses, or modifies, to the detriment of a third party, confidential personal or family data of another person that is recorded in computer, electronic, or telematic files or media, or in any other type of public or private file or record. The same penalties shall be imposed on anyone who, without authorization, accesses such data by any means, or who alters or uses it to the detriment of the data subject or a third party.
3. A prison sentence of two to five years shall be imposed if the data or facts discovered, or the images captured, referred to in the preceding paragraphs, are disseminated, disclosed, or transferred to third parties.
Anyone who, knowing of their illicit origin and without having participated in their discovery, carries out the conduct described in the preceding paragraph shall be punished with a prison sentence of one to three years and a fine of twelve to twenty-four months.
4. The acts described in sections 1 and 2 of this article shall be punished with a prison sentence of three to five years when:
a) They are committed by persons in charge of or responsible for the files, computer, electronic, or telematic media, archives, or records; or
b) They are carried out through the unauthorized use of the victim's personal data.
If the confidential data has been disseminated, transferred, or disclosed to third parties, the penalties shall be imposed in their upper half.
5. Likewise, when the acts described in the preceding sections involve personal data revealing ideology, religion, beliefs, health, racial origin, or sexual life, or when the victim is a minor or a person with a disability in need of special protection, the penalties provided for herein shall be increased by half.
6. If the acts are committed for profit, the penalties provided for in sections 1 to 4 of this article shall be increased by half. If, in addition, they involve data as mentioned in the preceding section, the penalty shall be imprisonment for four to seven years.
7. Anyone who, without the authorization of the affected person, disseminates, discloses, or transfers to third parties images or audiovisual recordings of that person obtained with their consent in a home or any other place beyond the view of third parties, when such disclosure seriously undermines that person's privacy, shall be punished with imprisonment for three months to one year or a fine of six to twelve months.
A fine of one to three months will be imposed on anyone who, having received the images or audiovisual recordings referred to in the preceding paragraph, disseminates, discloses, or transfers them to third parties without the consent of the affected person.
In the cases described in the preceding paragraphs, the penalty will be increased by half when the acts were committed by a spouse or a person who is or has been in a similar relationship of affection with the spouse, even without cohabitation, when the victim is a minor or a person with a disability in need of special protection, or when the acts were committed for profit.