What does the law say about cybersecurity?
Cybersecurity is a regulated field at national, European and international level. Standards define frameworks to harmonise the management of criminal risks in IT security. Private companies and public organisations, like every individual, need to know the regulations they must follow. Which laws apply to cybersecurity?
Why do we need cybersecurity laws?
As the President of the European Commission, Ursula von der Leyen, put it: any device that can be connected can be hacked. The vulnerability of individuals and professionals only increases as society goes digital. And cyberattacks can be carried out from anywhere in the world.
A hacker based in the United States who attacks a French organisation raises a legal problem: which law applies to them? To address governments’ growing concerns, legal frameworks are defined as technology innovates and evolves. On top of national regulations, larger-scale standards have been added to better manage IT dangers, which know no borders.
So it is not only about fighting cybercrime, but also about providing clear guidelines to properly secure information systems (IS). What are the cybersecurity laws?
What is the Godfrain Law of 5 January 1988?
Contrary to what some might think, IT security legislation did not start to develop only with companies’ digital transition. New technologies have been part of society and of legal concerns for much longer. The first French law in this area is the Godfrain Law of 5 January 1988.
What does the Godfrain Law regulate in cybersecurity?
Since it was enacted, this law has been one of the foundations of regulation on cybercrime and hacking. Whenever the law on new information and communication technologies (NICT) is concerned, this is the law that applies. It regulates:
- automated data processing systems;
- the falsification of computerised documents;
- any attempted computer offence by organised groups.
How has the Godfrain Law evolved?
This law has been affected by three texts, which add a few subtleties. First, the LCEN of 2004, which adds criminal penalties when IT vulnerabilities are published or supplied to third parties. Next, Directive 2009/136/EC, which introduced the obligation to alert the competent authority in the event of a security breach. Finally, Decree No. 2012-436 of 30 March 2012, which applies the 1978 law known as the “Informatique et Libertés” (Data Protection) Act, regulating data processing and the filing of personal records.
Two cases illustrate how the Godfrain Law is applied: the Kitetoa case involving Le Canard Enchaîné in 1999, and the Damien Bancal case in 2009. In both cases, security flaws led to data leaks.
What should you know about the Cybersecurity Act, the European legal framework?
The Cybersecurity Act is the European authorities’ response to the rise of cybercriminals. To counter their actions, a European legislative framework was designed, with the national cybersecurity agencies of the Member States and the European Union contributing to it. The text came into force on 27 June 2019 as the first major cybersecurity regulation at European level.
What is at stake with the Cybersecurity Act?
First, this European law strengthens the remit of the European Union Agency for Cybersecurity, ENISA. The Agency applies the standards and guides Member States in their cybersecurity strategies in line with the provisions of the law.
The Cybersecurity Act thus provides a European cybersecurity certification framework. It applies to information and communication technology products, services and processes, which are tested by a third-party body to obtain a certification according to how well they resist IT risks.
How does the Cybersecurity Act work?
This law is mandatory within Member States. Private companies and organisations apply the certification on a voluntary basis, as long as national legislation does not make it compulsory. For example, the Cybersecurity Act encourages every organisation to:
- secure the entire life cycle of a product or service through updates;
- protect its data, especially during collection, processing and storage, to prevent any disclosure or alteration;
- ensure that only authorised people can access personal data.
The Cybersecurity Act defines three assurance levels: products, data or processes can be classified as basic, substantial or high. The tests carried out provide different degrees of assurance. Connected cars, for example, must have a high assurance level, which requires testing simultaneous attacks and analysing the technical documentation.
How useful is the ISO/IEC 27001 standard in cybersecurity?
In line with the tests carried out for Cybersecurity Act certification, the ISO/IEC 27001 standard applies internationally and helps improve the information security management system (ISMS).
Although it is not a legal obligation, the standard is a decisive security issue for a company. It places risk management at the heart of its concerns. For example, it is mandatory to:
- define a security policy;
- assess potential and existing risks to data;
- define processes to manage the risks identified;
- monitor risks in order to reduce them continuously.
How can data be protected by applying the GDPR?
Among the laws that affect cybersecurity, the General Data Protection Regulation has become essential. This European regulation follows on from the aims of the French Data Protection Act of 1978. It has applied since 25 May 2018, with the aim of strengthening control over the use of citizens’ data.
What should you know about the GDPR?
- It applies to any organisation, public or private, located in the European Union or doing business with a European resident.
- It concerns the processing of personal information, such as location, age or purchasing behaviour: in short, anything that can identify a person.
- Each data processing operation must be justified by a legitimate purpose within the company and its professional activities.
NIS 2: the directive that will affect more than 10,000 organisations in France
The European NIS 2 directive (2022/2555) greatly extends cybersecurity obligations. More than 10,000 French entities in 18 sectors (local authorities, administrations, medium-sized and large companies) will be classified as “essential entities” or “important entities”, under the supervision of ANSSI.
- cyber risk management and appropriate security measures;
- notification of significant incidents;
- penalties of up to €10 million or 2% of worldwide turnover (€7 million or 1.4% for important entities).
Where does France stand? Transposition is taking place through the bill on the resilience of critical infrastructure and the strengthening of cybersecurity, adopted by the Senate in March 2025 and by the special committee of the National Assembly in September 2025. As of October 2026, it has not yet been finally adopted: its debate in plenary session has been postponed. Organisations can already check their status on MonEspaceNIS2, ANSSI’s online service.
Cyber Resilience Act: the security of digital products
The Cyber Resilience Act (Regulation (EU) 2024/2847) sets cybersecurity requirements for all products with digital elements: software, connected devices, network equipment and more.
- since 11 September 2026, manufacturers must report actively exploited vulnerabilities and serious incidents to ENISA (alert within 24 hours);
- from 11 December 2027, the regulation will apply in full: security by design and updates throughout the product life cycle.
DORA and the AI Act: finance and artificial intelligence
Since 17 January 2025, the DORA regulation has required banks, insurers and other financial entities to guarantee their digital operational resilience: IT risk management, testing, incident reporting and oversight of their service providers.
On the artificial intelligence side, the AI Act is gradually regulating uses. Prohibited practices have applied since February 2025; obligations for “high-risk” AI systems have been postponed to 2 December 2027 by the “Digital Omnibus” adopted in July 2026.
What is the cyberscore?
Helping internet users understand the real IT risks on the websites they visit is one of the French government’s priorities. The law of 3 March 2022 contributes to this by creating a cyberscore, similar to the Nutri-Score for food.
This label is meant to inform users about the security level of platforms and the data they host. To obtain it, the platforms concerned must carry out an audit with providers qualified by ANSSI. The law provided for entry into force on 1 October 2023, but it depends on implementing texts that set the thresholds for the platforms concerned and the audit criteria.
Key figures
These legislative developments reflect the European Union’s determination to strengthen companies’ resilience to cyberattacks and to better protect critical infrastructure.
- 10,000+ French entities in 18 sectors will be covered by the NIS 2 directive (ANSSI).
- 24 hours: the deadline for a manufacturer to alert ENISA to an actively exploited vulnerability, mandatory since 11 September 2026 (Cyber Resilience Act).
- 2027: the Cyber Resilience Act will apply in full to all digital products sold in Europe from 11 December 2027.