Logo vun Data Localization

Data Localization

Communautéit
mukul975
data-localization

Guides compliance with country-specific data localization requirements across key jurisdictions including Russia (242-FZ), China (PIPL Art. 40, CAC measures), India (DPDP Act), Turkey, Vietnam, and Indonesia. Covers localization assessment, architecture design, and exemption procedures. Keywords: data localization, data residency, PIPL, 242-FZ, cross-border restrictions.

Iwwersiicht

Editeurmukul975
RepositoryPrivacy-Data-Protection-Skills
Skill-Nummdata-localization
Stären
279
Forks
59
Matgeliwwert Fichieren
4
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 4 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum mukul975 op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Data Localization an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/mukul975/Privacy-Data-Protection-Skills/tree/main/plugins/cross-border-transfers-skills/skills/data-localization
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mukul975/Privacy-Data-Protection-Skills.git /tmp/Privacy-Data-Protection-Skills
mkdir -p .claude/skills
cp -r /tmp/Privacy-Data-Protection-Skills/plugins/cross-border-transfers-skills/skills/data-localization .claude/skills/data-localization
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Data Localization an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Data Localization automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Data Localization net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Implementing Data Localization Requirements

Overview

Data localization laws require that personal data of a country's residents be stored, processed, or both within the territory of that country. These requirements exist independently of and in addition to transfer mechanism requirements under the GDPR. Organisations operating globally must map their data localization obligations by jurisdiction, design infrastructure architectures that comply with local storage mandates, and implement exemption procedures where cross-border transfer is permitted subject to conditions.

Country-Specific Requirements

Russia — Federal Law No. 242-FZ (Amendments to Federal Law No. 152-FZ)

Effective: 1 September 2015

Key requirements:

  • Art. 18(5) of Federal Law 152-FZ (as amended by 242-FZ): When collecting personal data, including via the internet, the data operator must ensure that recording, systematisation, accumulation, storage, modification, extraction, and retrieval of personal data of citizens of the Russian Federation are carried out using databases located in the territory of the Russian Federation.
  • The law applies to any organisation collecting personal data of Russian citizens, regardless of the organisation's location.
  • Cross-border transfer is permitted after initial localization — the primary database must be in Russia, but copies may be transferred abroad subject to Federal Law 152-FZ cross-border transfer rules.

Enforcement:

  • Roskomnadzor (Federal Service for Supervision of Communications) is the enforcement authority.
  • Non-compliance can result in website blocking within Russia, fines (up to RUB 18 million for repeated violations under 2023 amendments), and criminal liability for certain violations.
  • LinkedIn was blocked in Russia in 2016 for non-compliance with 242-FZ.

Athena Global Logistics implementation:

  • Primary HR database for Russian employees hosted on servers in Moscow (OVHcloud Russia data centre, Bolshaya Nikitskaya 22).
  • Customer data from Russian-origin shipments stored primarily in Moscow before replication to the Frankfurt analytics platform.
  • Cross-border transfers from Moscow to Frankfurt covered by Russia's cross-border transfer rules (adequate countries list per Roskomnadzor Order No. 274 or consent of the data subject).

China — PIPL Art. 40 and CAC Measures

Personal Information Protection Law (PIPL) — Effective 1 November 2021

Key requirements:

  • Art. 40: Critical Information Infrastructure Operators (CIIOs) and personal information processors handling personal information reaching the volume threshold specified by the Cyberspace Administration of China (CAC) must store personal information collected and generated within the territory of China domestically. Cross-border transfers require a CAC-administered security assessment.
  • CAC Measures on Security Assessment of Outbound Data Transfers (effective 1 September 2022):
    • Security assessment mandatory for: (a) CIIOs; (b) processors handling personal information of over 1 million individuals; (c) processors that have cumulatively transferred personal information of over 100,000 individuals or sensitive personal information of over 10,000 individuals since 1 January of the preceding year.
    • Assessment conducted by the provincial-level CAC and reviewed by the national CAC.
    • Assessment valid for 2 years; must be re-conducted before expiry or upon material change.
  • CAC Standard Contract Measures (effective 1 June 2023): Personal information processors not subject to the mandatory security assessment may use the CAC-published Standard Contract for cross-border transfers, filed with the provincial CAC within 10 working days of execution.
  • PRC Data Security Law (DSL) Art. 31: Important data collected and generated by CIIOs must be stored domestically.

Athena Global Logistics implementation:

  • China operations process personal information of approximately 15,000 individuals (below the 1 million threshold for mandatory security assessment).
  • Localization: Chinese customer and employee data stored on Alibaba Cloud servers in the Shanghai region.
  • Cross-border transfers: Athena uses the CAC Standard Contract filed with the Shanghai CAC for transfers of logistics data to the Frankfurt headquarters.
  • Personal Information Impact Assessment (PIIA) completed before cross-border transfer per PIPL Art. 55.

India — Digital Personal Data Protection Act 2023 (DPDP Act)

Effective: Provisions being brought into force in phases from 2024.

Key requirements:

  • Section 16(1): The Central Government may, by notification, restrict the transfer of personal data by a significant data fiduciary to any country or territory outside India.
  • Section 16(2): The Central Government may prescribe conditions for cross-border transfer to specific countries.
  • Blacklist approach: India adopts a "blacklist" model — transfers are permitted to all countries except those specifically restricted by government notification. As of March 2026, no blacklist notifications have been issued.
  • Significant Data Fiduciary (SDF): Designation by the Central Government based on volume of data, sensitivity, risk to data principals, and other factors. SDFs face heightened obligations including mandatory DPO appointment and data protection audit.
  • RBI data localization: The Reserve Bank of India mandates that payment system data be stored exclusively in India (RBI Circular DPSS.CO.OD.No.2785, April 2018). This applies to all payment data processed by payment system operators.

Athena Global Logistics implementation:

  • Indian operations data stored on AWS Mumbai region (ap-south-1).
  • Cross-border transfers permitted (no blacklist notification as of March 2026) but monitored for future restrictions.
  • RBI payment localization: Indian payment transaction data processed through local payment gateways with primary storage in India.

Turkey — Law No. 6698 on the Protection of Personal Data (KVKK)

Key requirements:

  • Art. 9: Personal data may be transferred abroad only with the explicit consent of the data subject, or if one of the conditions in Art. 5(2) or Art. 6(3) is met and: (a) the destination country provides adequate protection (per KVKK Board list); or (b) the data controllers in Turkey and the destination country provide a written undertaking of adequate protection and the KVKK Board grants permission.
  • Data Localization: No explicit data localization mandate in KVKK, but the Board Regulation on Data Transfer Abroad (2024 amendment) introduced a notification-based system requiring data controllers to apply to the Board before transferring data to countries not on the adequate list.
  • Practical localization: Many organisations maintain Turkish data in Turkey due to the complexity of the Board approval process for cross-border transfers.

Vietnam — Decree 13/2023/ND-CP on Personal Data Protection

Effective: 1 July 2023

Key requirements:

  • Art. 25(4): Data controllers and processors transferring personal data abroad must prepare and maintain a transfer impact assessment dossier.
  • Art. 26: The transfer impact assessment dossier must be submitted to the Ministry of Public Security within 60 days of processing.
  • No strict localization: Vietnam does not mandate data localization for most personal data, but the Cybersecurity Law (2018) Art. 26(3) requires storage of certain data in Vietnam for companies providing services on telecommunications networks or the internet where the data relates to national security, social order, or cybersecurity.

Indonesia — Government Regulation No. 71/2019 (GR 71)

Key requirements:

  • Art. 20: Public electronic system operators must place their electronic systems and data in Indonesia for the purpose of supervision, law enforcement, data access protection, and national security.
  • Art. 21: Private electronic system operators may place their systems and data outside Indonesia, provided they grant access for supervision and law enforcement.
  • Practical impact: Government and public sector data must be stored in Indonesia; private sector data may be stored abroad with access provisions.

Localization Architecture Design

Pattern 1: Primary Local Storage with Replication

┌───────────────────┐     Replication     ┌──────────────────┐
│ Local Data Centre  │ ─────────────────→  │ Central EU DC    │
│ (Country Required) │    (encrypted,      │ (Frankfurt)      │
│ Primary database   │     compliant       │ Analytics,       │
│ All CRUD operations│     transfer)       │ Reporting        │
└───────────────────┘                      └──────────────────┘

Use case: Russia (242-FZ), China (PIPL Art. 40 for CIIOs) Implementation: All create, read, update, delete operations occur on the local database. Encrypted replication to central EU systems for analytics and group reporting, subject to local cross-border transfer rules.

Pattern 2: Local Processing with Central Analytics

┌───────────────────┐     Aggregated/     ┌──────────────────┐
│ Local Instance     │     Anonymised     │ Central EU DC    │
│ Full processing    │ ─────────────────→ │ Only aggregated  │
│ in-country         │                    │ or anonymised    │
└───────────────────┘                     │ data received    │
                                          └──────────────────┘

Use case: Strict localization without cross-border transfer approval (pre-CAC filing in China) Implementation: All personal data processing occurs locally; only aggregated or anonymised data (not personal data) is transferred centrally.

Pattern 3: Hybrid Cloud with Data Residency Controls

┌───────────────────┐
│ Cloud Provider     │
│ Local Region       │ ← Data residency policy enforced
│ (e.g., AWS Mumbai) │   via cloud service configuration
│ Personal data      │
│ stored here only   │
└───────────────────┘
     │
     │ (API access from EU for administration; no data egress)
     │
┌───────────────────┐
│ Central EU DC      │
│ Application logic  │
│ No local PD stored │
└───────────────────┘

Use case: India (DPDP Act), Indonesia (GR 71 private sector) Implementation: Cloud provider's local region stores personal data; application logic may run centrally but personal data does not leave the local region.

Localization Compliance Checklist

JurisdictionStorage RequirementTransfer ConditionsFiling/ApprovalEnforcement Authority
RussiaPrimary DB in RussiaPermitted after localization; subject to 152-FZ transfer rulesNo filing required for localizationRoskomnadzor
China (CIIO/threshold)Domestic storageCAC security assessment or Standard ContractSecurity assessment filed with CAC; Standard Contract filed within 10 daysCAC
IndiaNo localization (yet)Permitted except to blacklisted countriesNo filing (monitor for future requirements)Data Protection Board of India
India (RBI)Payment data in IndiaNot permitted for payment dataRBI compliance reportingReserve Bank of India
TurkeyNo explicit localizationBoard approval or adequate country listBoard application for non-adequate countriesKVKK Board
VietnamCertain data in VietnamImpact assessment requiredDossier to Ministry of Public Security within 60 daysMinistry of Public Security
Indonesia (public)In IndonesiaLimited exceptionsNo specific filingMinistry of Communication
Indonesia (private)May be abroadAccess for supervision requiredNo specific filingMinistry of Communication

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Data Localization?

Guides compliance with country-specific data localization requirements across key jurisdictions including Russia (242-FZ), China (PIPL Art. 40, CAC measures), India (DPDP Act), Turkey, Vietnam, and Indonesia. Covers localization assessment, architecture design, and exemption procedures. Keywords: data localization, data residency, PIPL, 242-FZ, cross-border restrictions.

Firwat Data Localization op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Data Localization besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Data Localization an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/mukul975/Privacy-Data-Protection-Skills/tree/main/plugins/cross-border-transfers-skills/skills/data-localization an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Data Localization benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Data Localization benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Data Localization domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Data Localization gratis?

Jo. De Skill gëtt vum mukul975 ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇