Lawfulness
Lawfulness is the requirement in Art. 5(1)(a) GDPR that personal data be processed lawfully, which means on the basis of one of the six legal bases listed in Art. 6(1): consent, performance of a contract, compliance with a legal obligation, protection of vital interests, performance of a task in the public interest or exercise of official authority, and legitimate interests of the controller or a third party. Processing without a legal basis is unlawful even if it is transparent and secure.
For special categories of personal data such as health and genetic data, lawfulness has a second layer: in addition to an Art. 6 basis, one of the exceptions in Art. 9(2) must apply, for example explicit consent, health care provision, public health, or scientific research with appropriate safeguards. Member State law may add conditions (Art. 9(4)), and processing must also comply with any other applicable law, since "lawful" is read broadly by the Court of Justice.
In clinical research, the lawfulness analysis is usually the first and most consequential step of the DPIA: the EDPB considers that a sponsor typically relies on Art. 6(1)(c) and 9(2)(i) for safety and regulatory obligations, and on Art. 6(1)(e) or (f) with 9(2)(j) for the research itself, rather than on consent. The choice of basis determines which data subject rights apply, what happens on withdrawal, and what must be said in the informed consent form. It should be documented per purpose and per country, since national research laws differ.
No. Security protects processing but does not supply its legal justification. Under the EU GDPR, identify an Article 6 basis and, for health data, an applicable Article 9 condition. Then address security and the other principles. A secure research database can still be used unlawfully if those foundations are missing.
