Skip to content
CRYSTAL ITIT Solutions
Offshore

GDPR and IT Outsourcing Outside the European Union: The Framework to Put in Place Before Outsourcing

July 13, 20269 min read
GDPR and IT Outsourcing Outside the European Union: The Framework to Put in Place Before Outsourcing

"Can you outsource software development outside the European Union without breaching the GDPR?" The answer is yes, unambiguously — provided you put in place the framework the regulation specifically provides for this situation. Thousands of French companies work in full compliance with providers in Morocco, Tunisia or elsewhere: the GDPR does not prohibit transfers outside the EU, it regulates them. The confusion comes from two distinct questions being mixed up: the processing relationship (which requires a contract compliant with Article 28 of the GDPR, whether the provider is in Nantes or Rabat) and the transfer to a third country (which requires appropriate safeguards, in practice the European Commission's standard contractual clauses). This article untangles the two, describes the complete arrangement to put in place, and — just as importantly — the technical measures that cut the subject down to size: in a well-organised development project, the provider most often does not need access to real personal data at all. CRYSTAL IT, a software company based in Rabat and nearshore partner of French companies (our IT offshoring services), practises this framework daily: here is how to set it up properly, without blocking your project.

What the GDPR Actually Says: Processing and Transfer Are Two Distinct Subjects

First subject: processing on your behalf. As soon as a provider processes personal data for you — hosting it, manipulating it, accessing it for debugging — you are the controller and it is the processor within the meaning of the GDPR. Article 28 then requires a written contract framing that processing: subject matter, duration, nature and purpose of the processing, categories of data, security and confidentiality obligations, the regime for further processors, assistance to the controller, the fate of data at the end of the contract. This contract — often called a DPA, for Data Processing Agreement — is mandatory whatever the provider's country: a French processor is subject to it exactly like a Moroccan one.

Second subject: transfer to a third country. Chapter V of the GDPR (Articles 44 and following) governs transfers of personal data outside the European Union. Three main routes exist: the adequacy decision, by which the European Commission recognises that a country offers an equivalent level of protection; the appropriate safeguards of Article 46, whose most common instrument is the set of standard contractual clauses published by the Commission; and one-off derogations of strict interpretation, unsuited to a durable processing relationship. Morocco is not covered by an adequacy decision: the normal route for a Moroccan provider is therefore the signature of the standard contractual clauses, in addition to the processing contract. It is a standardised, proven and perfectly workable arrangement.

  • Article 28: a processing contract (DPA) is mandatory as soon as a provider processes data on your behalf — whatever its country.
  • Chapter V (Articles 44 and following): transfers outside the EU are permitted, subject to appropriate safeguards.
  • Morocco has no adequacy decision: the standard route is signing the Commission's standard contractual clauses.
  • The GDPR therefore does not prohibit outsourcing to Morocco: it imposes a precise, standardised, readily available contractual framework.

The Standard Contractual Clauses: The Standard Instrument for Framed Transfers

The standard contractual clauses (SCCs) are contract templates published by the European Commission — the set in force results from Implementing Decision 2021/914 of 4 June 2021 — which the data exporter (you) and the importer (the provider outside the EU) sign as they stand: their substance is not negotiable, which is precisely their point. The 2021 set is modular, with several configurations depending on the relationship; for a French client acting as controller and a development provider acting as processor, the "controller to processor" module applies, and it incorporates the requirements of Article 28 — a single document can therefore cover both subjects.

Signing the clauses comes with two exercises. First, filling in their annexes seriously: a concrete description of the processing, categories of data, technical and organisational security measures — empty or generic annexes deprive the arrangement of its value. Second, documenting a transfer assessment (commonly called a TIA, Transfer Impact Assessment): since the European case law known as "Schrems II", the exporter must verify that the destination country's law does not deprive the clauses of their effectiveness, and provide supplementary measures where needed — encryption, pseudonymisation, minimisation. For a development project where accessible data is limited and the provider is a private company with no obligation of massive disclosure to authorities, this assessment is generally reasonable to document. Morocco moreover has its own data-protection framework, law 09-08 supervised by the CNDP, whose scope we detail elsewhere (Cybersecurity and law 09-08).

  • The SCCs in force result from Implementing Decision (EU) 2021/914: templates signed as they stand, non-negotiable in substance.
  • The "controller to processor" module covers both Article 28 and the transfer: one well-completed document can suffice.
  • The annexes (processing description, security measures) must be filled in concretely — generic annexes protect no one.
  • Document a transfer assessment (TIA) and supplementary measures: encryption, pseudonymisation, minimisation.
  • The Moroccan framework (law 09-08, CNDP) provides a local protection base that eases the exercise.

The Real Question: What Data Does Your Provider Actually Need?

The most powerful compliance lever is not contractual but technical: reducing the personal data the provider accesses, ideally to zero. In a well-organised development project, the team works on development and staging environments fed with fictitious or anonymised data — never with a copy of production. Generating realistic test datasets is a modest investment that simplifies everything: less data transferred means less risk, a smaller scope in the clauses' annexes, and a shorter transfer assessment.

Some situations nevertheless require access to real data: reproducing a specific bug, data migration, production support. Treat them as organised exceptions rather than a permanent right: named access granted case by case, time-limited, logged, on a restricted perimeter, with minimal extraction. This exception logic aligns with the GDPR's minimisation principle and will immediately reassure your DPO or your lawyer. It also has a commercial merit: a provider that spontaneously proposes to work without real data demonstrates a maturity that should weigh in your selection grid (How to Choose a Software Development Provider in Morocco).

  • The best transfer is the one that does not happen: development and staging on fictitious or anonymised data.
  • Invest in a realistic test-data generator: modest cost, major compliance benefit.
  • Access to real data = organised exception: named, temporary, logged, minimal perimeter.
  • Minimisation mechanically reduces the scope of the standard clauses and the transfer assessment.

The Architecture That Simplifies Everything: Host in Europe, Develop in Morocco

A tenacious misconception holds that outsourcing development to Morocco means hosting the data in Morocco. It is false, and the most common configuration is the opposite: the application and its production data remain hosted in the European Union — with the hosting provider of your choice — and the Moroccan team develops, tests and deploys to that infrastructure. Production data then never leaves the EU at rest; the transfer subject shrinks to the team's possible remote accesses, themselves limited by the access policy described above.

This architecture has other virtues: it satisfies the requirements of your own large-account clients, who often contractually impose European hosting; it simplifies audits; and it makes reversibility easier, since the infrastructure belongs to you end to end (Reversibility of an Outsourced IT Project). On the development side, source code is not personal data: it circulates freely. This is the scheme we practise for French projects — application with a European host chosen by the client, the client's code repositories, the team in Rabat (our ERP development service). GDPR compliance then becomes a documented, verifiable arrangement, not a brake on the project.

  • Production hosting in the EU + development team in Morocco: the standard configuration, and the easiest to defend.
  • Production data does not leave the EU at rest; only remote accesses remain to be framed.
  • Source code is not personal data: it circulates without transfer constraints.
  • Infrastructure in the client's name satisfies large-account requirements and prepares reversibility.

The Compliance Checklist Before Day One of the Project

Here is the operational sequence, in order. One: map the processing concerned — what personal data does the project touch, where is it hosted, who will access it? Update your record of processing activities accordingly. Two: sign the processing contract compliant with Article 28, or the standard contractual clauses in their controller-to-processor module, with carefully completed annexes. Three: document the transfer assessment and the supplementary measures adopted. Four: put the technical measures in place — environments without real data, named accounts, strong authentication, logging, encryption of flows and backups.

Five: frame further subcontracting — your provider must not be able to engage another processor on your data without your authorisation, in line with the regime provided by Article 28. Six: provide for the fate of data at the end of the contract: return or certified deletion, in an exploitable format. If your project involves high-risk processing, an impact assessment (DPIA) may be required independently of the transfer question — your DPO or your counsel will decide. For a classic development project, the whole represents a few well-invested days of work: the price of serene outsourcing, far below the cost of retroactive compliance or a poorly prepared inspection (Nearshore, Offshore, Onshore).

  • Processing map and record update before any signature.
  • Article 28 contract + standard contractual clauses signed before the provider's first access.
  • Documented transfer assessment, supplementary measures decided and traced.
  • Technical measures from day one: environments without real data, named access, encryption, logging.
  • Further subcontracting subject to authorisation; the fate of data at contract end written in black and white.

Choose a Provider That Carries the Subject with You

The GDPR compliance of an outsourcing arrangement is a shared responsibility, but it is you, the controller, who bears the primary obligation: choosing a processor presenting sufficient guarantees, as Article 28 requires. The choice of provider is therefore itself an act of compliance. The signals that matter: the provider has already signed standard contractual clauses and can talk about them concretely; it proposes environments without real data of its own accord; it accepts the audits provided for in the contract; it designates a contact for data-protection subjects; it applies strict internal access rules and can describe them.

Beware of the provider who brushes the subject aside ("we're used to it, don't worry") as much as the one who promises the impossible ("we are GDPR-certified" — that general certification does not exist). The right answer is that of a professional who knows the arrangement, knows what it implies in its organisation and helps you fulfil your own obligations. That is CRYSTAL IT's approach with its French clients: a European contractual framework proposed from pre-sales, a European-hosting architecture by default, access to real data handled as an organised exception (our IT offshoring services). Well-practised GDPR is not an obstacle to outsourcing: it is a filter that eliminates the providers you should not have chosen anyway.

  • Choosing a processor offering sufficient guarantees is your first compliance obligation.
  • Good signals: SCCs already practised, environments without real data proposed spontaneously, auditability accepted.
  • Warning signals: the subject waved away, or a supposed general "GDPR certification" that does not exist.
  • The GDPR acts as a selection filter: it eliminates fragile providers before they become your problem.

Outsourcing development outside the European Union in compliance with the GDPR is neither forbidden nor acrobatic: it is a standardised arrangement — Article 28 processing contract, standard contractual clauses, documented transfer assessment — completed by common-sense technical measures, starting with development without real data and production hosting in Europe. Put in place before day one of the project, this framework then runs without friction and withstands audits as well as your own clients' requirements. CRYSTAL IT, a software company based in Rabat for more than 20 years, practises this arrangement with its French clients: standard clauses, European architecture, minimised access (our IT offshoring services). If the GDPR subject is what is holding you back from outsourcing, let's talk about it concretely: we will show you the complete framework on a real case, and you will judge on the evidence.

Have a project or a question? Let's talk with a CRYSTAL IT expert.

Request a demo