Отправьте статью сегодня! Журнал выйдет ..., печатный экземпляр отправим ...
Опубликовать статью

Молодой учёный

The legal nature of the duty to protect the personal data of consumers entering into electronic contracts in the Russian Federation and the Kingdom of Morocco: a comparative study

Препринт статьи
17.11.2026
Поделиться
Аннотация
The growth of electronic contracting has increased the collection, processing and storage of consumers’ personal data, making data protection a legal necessity that extends beyond the confidentiality of information. This study examines the legal nature of the duties imposed on online suppliers and data controllers under Moroccan and Russian law. It analyses consumer rights and data controllers’ obligations and identifies similarities and differences between the two legal systems.
Библиографическое описание
Хмаиддуш, Брахим. The legal nature of the duty to protect the personal data of consumers entering into electronic contracts in the Russian Federation and the Kingdom of Morocco: a comparative study / Брахим Хмаиддуш. — Текст : непосредственный // Молодой ученый. — 2026. — № 47 (650). — URL: https://moluch.ru/archive/650/142440.


Personal data is central to electronic transactions: when purchasing goods or services online, consumers must provide information that allows suppliers to identify and contact them and fulfil the transaction. Such information may include names, addresses, contact details, financial information and other personal data. However, collecting, storing and reusing these data can pose significant risks to consumer privacy, particularly when the data are processed for purposes other than those for which they were collected or disclosed to third parties without a legal basis.

Studies have found that the use of online services and shopping platforms can increase consumers’ exposure to privacy violations, including the misuse of information supplied during online transactions and intrusive online advertising and tracking technologies, such as cookies. They also highlight the importance of personal data in everyday transactions and its use by companies to develop marketing strategies and understand consumer behaviour and preferences. Accordingly, protecting these data is not merely a technical matter; it also requires a legal framework governing their collection, processing and use [1].

In Morocco, Law No. 09-08 on the protection of individuals with regard to the processing of personal data [6] constitutes the primary legislative framework in this area, alongside Law No. 31-08 laying down measures for consumer protection [7]. In the Russian Federation, Federal Law No. 152-FZ of 27 July 2006 “On Personal Data” [8] provides the principal framework for regulating the processing of personal data and the protection of related rights, alongside Law of the Russian Federation No. 2300-1 “On Consumer Protection” [9].

The central question is whether the obligation to protect personal data arises solely from an electronic contract or constitutes an independent statutory duty imposed on the data controller, regardless of whether a direct contractual relationship exists with the data subject.

Personal data comprise information relating to an identified or identifiable natural person, irrespective of its form or storage medium. Such data are particularly important in electronic contracting because consumers provide them at different stages of a transaction, including when creating an account, ordering a product, making a payment or using a service. The information supplied is not limited to basic identifiers; it may also include personal and financial details needed to complete the transaction. Consumers may be identified directly through identity information or indirectly through details such as a telephone number, bank account number or email address.

The risks associated with data processing extend beyond collection to storage, classification, analysis and reuse. Prolonged retention, disclosure to third parties or use for marketing purposes unrelated to the original purpose of collection may infringe consumers’ privacy. Legal safeguards must therefore apply throughout the processing lifecycle, rather than simply preventing disclosure [2].

Determining the legal nature of this obligation requires a distinction between its statutory and contractual sources. First, personal data protection laws impose duties on controllers, including obtaining consent where required, processing data for specified purposes, safeguarding confidentiality and integrity, and enabling data subjects to exercise their right of access. These duties apply irrespective of whether they are expressly stated in an electronic contract; they arise directly under the law.

Second, the contractual relationship may require suppliers to safeguard information obtained from consumers during contract performance and refrain from using it for purposes inconsistent with those for which it was provided. In this context, respecting consumer privacy forms part of proper contractual performance even in the absence of an express contractual clause.

The duty to protect personal data therefore has a dual legal basis: it is an independent statutory duty under data protection law but may also constitute a contractual duty where the breach is connected with performance of an electronic contract. The two duties are not identical: the former derives from mandatory rules governing data processing, while the latter concerns the supplier’s obligations to the consumer under the contract.

The obligation to protect personal data in Morocco is grounded in the Constitution and Law No. 09-08. Article 24 of the 2011 Constitution [10] guarantees the right to respect for private life. This principle is particularly important in digital environments, where personal data can be collected and circulated through a range of technologies.

Law No. 09-08 provides the principal statutory framework for personal data protection. Article 1 defines personal data, while subsequent provisions govern the conditions for processing and data subjects’ rights. The law addresses not only unauthorised disclosure but also the lawfulness, purposes and limits of processing itself.

Article 7 grants data subjects the right to access their personal data, establish whether those data are being processed and obtain information about the purposes of processing and recipients of the data. The right also covers available information about the origin of the data and the logic underlying certain automated processing operations.

Articles 8 and 9 provide for rectification and completion of personal data and the right to object to certain processing operations, subject to statutory conditions. These rights allow consumers to exercise some control over how suppliers and other parties use their information.

With regard to security and confidentiality, Article 23 requires the data controller to take appropriate technical and organisational measures to protect data against destruction, loss, alteration, disclosure or unauthorised access. Articles 25 and 26 also govern access to personal data and the duty of professional secrecy. Breaches of data protection duties—including processing for unauthorised purposes, disclosure to third parties, inadequate security measures or continued processing of inaccurate data despite a request for rectification—may cause material or non-material harm. In such cases, civil liability may provide a remedy for harm arising from infringements of data subjects’ rights [3].

Law No. 31-08 on consumer protection provides complementary safeguards in supplier–consumer relationships, particularly regarding information rights, consumers’ economic interests and certain distance contracts. It does not, however, replace Law No. 09-08: the former governs consumer relations, whereas the latter specifically regulates personal data processing.

Practical example: In Judgment No. 5288 of 30 April 2024 (Case No. 2986/8202/2024), the Casablanca Commercial Court found that a company had used the claimant’s photograph, name, telephone number and email address on a Facebook page for promotional purposes without express consent to that use. The court therefore awarded damages of 30,000 dirhams and ordered the removal of the photograph and personal data, subject to a penalty of 500 dirhams per day of non-compliance. The judgment relied, among other provisions, on Articles 66, 67 and 264 of the Law on Obligations and Contracts, and cited Court of Cassation Decision No. 3127 of 28 June 2011 (Case No. 2006/9/1/2775), concerning the publication of a person’s photograph without their consent. The case illustrates that providing personal data or an image in a professional or contractual relationship does not, in itself, constitute consent to their subsequent use for separate advertising purposes [11].

In the Russian Federation, Federal Law No. 152-FZ “On Personal Data” provides the principal statutory basis for data protection. Article 5 of this law requires personal data to be processed lawfully and fairly for specific, predetermined and legitimate purposes, and prohibits processing that is incompatible with the purposes for which the data were collected.

Article 6 specifies the legal grounds for processing, while Article 7 establishes confidentiality requirements. Controllers and others with access to personal data must not disclose or disseminate them without the data subject’s consent unless federal law provides otherwise.

Article 19 requires legal, organisational and technical measures to protect personal data against unauthorised or accidental access, destruction, alteration, blocking, copying, disclosure and other unlawful acts. Thus, data controllers in Russia must not only refrain from unauthorised disclosure but also take preventive measures to secure processing.

Law of the Russian Federation No. 2300-1 “On Consumer Protection” also guarantees access to information about goods, services and suppliers and provides for liability where information is inadequate or consumer rights are infringed. The relationship between these two Russian laws is therefore functionally similar to that between their Moroccan counterparts: one specifically regulates data protection, while the other safeguards consumer rights more broadly.

Practical example: A judgment of the Kirovsky District Court in Ufa dated 24 February 2025 (Case No. 2-627/2025) illustrates the application of these principles to online consumer transactions. The claimant registered with an online cosmetics retailer and subsequently received marketing emails. The company argued that, by accepting its data processing policy during registration, she had also consented to receive advertisements. The court, however, found no evidence that the consumer could register and make purchases without consenting to the use of her data for advertising. It concluded that making access to the retailer conditional on consent to advertising meant that consent was not freely given. The ability to unsubscribe after receiving an advertisement did not remedy the lack of prior consent. The court also held that registering with the retailer was sufficient to establish consumer interest, even if no purchase was completed. The ruling underscores the distinction between data needed to perform a contract and data processed for marketing purposes [12].

Several practical challenges remain. One is identifying the party responsible for data processing when several entities participate in performing an electronic contract. Another is determining whether consumers understand the purposes for which behavioural data are collected and analysed and can effectively object to their use. Data transfers and third-party access can also make it difficult to track the subsequent use of information. Proving harm and causation following a data breach can be especially difficult when consumers discover only much later that their data have been disclosed or used unlawfully. Effective protection should therefore extend beyond compensation after harm occurs to include preventive safeguards, transparency and mechanisms that allow consumers to exercise their rights [4–5].

The study concludes that the duty to protect the personal data of consumers entering into electronic contracts cannot be treated solely as a contractual obligation. It is primarily grounded in independent statutory rules governing data collection, processing, storage and use. These rules impose duties on data controllers concerning lawfulness, confidentiality, security and respect for data subjects’ rights. Nevertheless, the duty may also have a contractual dimension where a breach is connected with performance of a distance contract with the consumer.

The analysis also shows that Moroccan Law No. 09-08 and Russian Federal Law No. 152-FZ both establish legal safeguards for personal data and provide for sanctions in cases of unlawful use or disclosure. In both jurisdictions, consumer protection legislation complements these safeguards by regulating supplier–consumer relationships.

Several measures could strengthen the legal protection of consumers’ personal data. Suppliers should clearly explain what information will be processed; consumers should be able to exercise their rights of access, rectification and objection to unlawful processing; and data controllers should ensure that electronic services adequately safeguard the confidentiality and security of information. Greater consistency between general consumer protection rules and specific data protection provisions would also help avoid fragmented safeguards and uncertainty over the allocation of responsibility.

References:

1. Bouchaaib, Othman. *Protection of the Personal Data of Consumers Contracting Electronically in Light of Moroccan and Comparative Legislation* (حماية المعطيات الشخصية للمستهلك المتعاقد إلكترونياً في ضوء التشريع المغربي والمقارن). Doctoral Thesis in Private Law, supervised by Bouabid Challat, Mohammed V University of Rabat, Doctoral Studies Centre in Law and Economics, Laboratory of Legal Sciences, Academic Year 2019–2020, pp. 82–88. (In Arabic).

2. Al-Hafidhi, Hassan. Legal Protection of Personal Data between National Legislation and International Conventions (الحماية القانونية للمعطيات ذات الطابع الشخصي بين التشريع الوطني والاتفاقيات الدولية). Master's Thesis in Criminal Law and International Criminal Cooperation, supervised by Mohamed Bazzaz, Moulay Ismail University, Faculty of Legal, Economic and Social Sciences, Academic Year 2017–2018, pp. 17–22. (In Arabic).

3. Al-Radi, Saeed. Legal Protection of the Electronic Consumer (الحماية القانونية للمستهلك الإلكتروني). Master's Thesis in Private Law, supervised by Abdelmajid Kouzi, Sidi Mohamed Ben Abdellah University, Faculty of Legal, Economic and Social Sciences, Fez, Academic Year 2021–2022, pp. 161–162. (In Arabic).

4. Soldatova, V. I. (2020). Protection of Personal Data in the Digital Environment. Lex Russica, 73(2), pp. 33–43. DOI: 10.17803/1729-5920.2020.159.2.033-043. ISSN: 1729–5920.

5. Polyakova, T. A., & Boychenko, I. S. (2021). Digital data circulation: Problems of interaction between data subjects and personal data operators. Law and State: Theory and Practice, (11), pp. 81–82. DOI: 10.47643/1815-1337.2021.11-181. ISSN: 1815–1337.

6. Kingdom of Morocco. Dahir No. 1–09–15 of 22 Safar 1430 (18 February 2009), promulgating Law No. 09–08 on the Protection of Individuals with Regard to the Processing of Personal Data (Dahir n° 1–09–15 du 22 safar 1430 (18 février 2009) portant promulgation de la loi n° 09–08 relative à la protection des personnes physiques à l’égard du traitement des données à caractère personnel). Official Legal Database of the Kingdom of Morocco. Available at: https://bdj.mmsp.gov.ma/Fr/Document/8974-Dahir.aspx (accessed: 10.11.2026). (In French).

7. Kingdom of Morocco. Dahir No. 1–11–03 of 14 Rabii I 1432 (18 February 2011), promulgating Law No. 31–08 on Consumer Protection Measures (Dahir n° 1–11–03 du 14 rabii I 1432 (18 février 2011) portant promulgation de la loi n° 31–08 édictant des mesures de protection du consommateur). Ministry of Justice, Legal Affairs Portal. Available at: https://adala.justice.gov.ma/api/uploads/2024/03/01/protection %20de %20consommateur-1709283839988.pdf (accessed: 12.11.2026). (In French).

8. Russian Federation. Federal Law No. 152-FZ of 27 July 2006, On Personal Data (Federal Law No. 152-FZ «О персональных данных», as amended). ConsultantPlus. Available at: https://www.consultant.ru/document/cons_doc_LAW_61801/ (accessed: 10.11.2026).

9. Russian Federation. Law No. 2300-1 of 7 February 1992, On Consumer Protection (Law No. 2300-1 «О защите прав потребителей», as amended). ConsultantPlus. Available at: https://www.consultant.ru/document/cons_doc_LAW_305/ (accessed: 12.11.2026).

10. Kingdom of Morocco. Dahir No. 1–11–91 of 27 Sha'ban 1432 (29 July 2011), promulgating the text of the Constitution of the Kingdom of Morocco (Dahir n° 1–11–91 du 27 chaabane 1432 (29 juillet 2011) portant promulgation du texte de la Constitution). Official Bulletin of the Kingdom of Morocco, No. 5964 bis, 30 July 2011. General Secretariat of the Government. Available at: https://www.sgg.gov.ma/portals/0/constitution/constitution_2011_fr.pdf (accessed: 10.11.2026). (In French).

11. Kingdom of Morocco. Commercial Court of Casablanca. Judgment No. 5288 of 30 April 2024, Case No. 2986/8202/2024, concerning the unauthorised publication of an employee's personal data, infringement of the right to one's image, and the removal of the published content under penalty. Jurisprudence.ma. Available at: https://www.jurisprudence.ma/decision/publication-non-consentie-des-donnees-personnelles-dun-salarie-condamnation-pour-atteinte-au-droit-a-limage-et-suppression-sous-astreinte-trib-com-casablanca-2024/ (accessed: 16.11.2026). (In French).

12. Russian Federation. Kirovsky District Court of Ufa, Republic of Bashkortostan. Judgment of 24 February 2025, Case No. 2–627/2025, concerning the unlawful processing of a consumer's personal data for advertising purposes without valid consent. LLC «Yekaterinburg Yabloko». SudAct. Available at: https://sudact.ru/regular/doc/IaY6c2oyCGQu/ (accessed: 17.11.2026).

Можно быстро и просто опубликовать свою научную статью в журнале «Молодой Ученый». Сразу предоставляем препринт и справку о публикации.
Опубликовать статью
Молодой учёный №47 (650) ноябрь 2026 г.
📄 Препринт
Файл будет доступен после публикации номера

Молодой учёный