Internative Logo

KVKK-Compliant Software: Technical Measures in the Architecture

KVKK-Compliant Software: Technical Measures in the Architecture

KVKK compliance usually starts with a privacy notice, a consent form and a VERBİS registration. But what actually processes personal data is software: the form, the database, the screen and the integration. The technical measures Turkey's data protection law asks for either exist in those layers or they do not. This guide is for product owners, architects, developers and compliance leads who build or commission such a system. It covers the parts of the law that touch software, the decisions that belong in the architecture, and a checklist for release. It is not legal advice; settle the legal basis, the privacy notice and VERBİS with your legal counsel.

Why KVKK is a software team's concern

Law No. 6698 on the Protection of Personal Data (KVKK) defines personal data as any information relating to an identified or identifiable natural person, and processing just as broadly. A users table, an order record or an application log is within scope.

The law separates two roles:

  • Data controller: decides the purposes and means of processing and manages the data filing system. Usually the organisation that commissions the software.
  • Data processor: processes personal data on the controller's behalf. A software company that runs or hosts the system is usually in this role.

Under Article 12, when someone else processes data on the controller's behalf, the controller is jointly responsible with them for the security measures. That is why KVKK belongs in the software's requirements, not only in a contract annex.

The parts of the law that touch software

The table summarises the provisions of Law No. 6698 and its regulations that have a direct counterpart in software.

ProvisionWhat it requiresWhat it means in software
Art. 4 General principlesLimited to purpose, proportionate, kept only as long as neededCollect only the fields you need, define retention periods
Art. 5 and 6 Conditions for processingA legal basis; extra conditions and Board-defined adequate measures for special categoriesTie consent and legal basis to the record, handle special category data separately
Art. 7 and the RegulationDelete, destroy or anonymise once the reason for processing endsAutomated disposal job, anonymisation, disposal log
Art. 9 Transfers abroadAn adequacy decision or appropriate safeguardsHosting region, cloud and AI services that receive data
Art. 10 Duty to informInform people when data is collectedPrivacy notice and its version on the form
Art. 11 and 13 Data subject rightsRequests for information, correction and erasure; answered within thirty days at the latestFind, export, correct and delete one person's data
Art. 12 Data securityTechnical and administrative measures against unlawful processing and accessPermission model, encryption, logging, backups, security testing
Art. 12(5) Breach notificationNotify the data subject and the Board as soon as possibleMonitoring that spots a breach and records that show who was affected

The decisions that belong in the architecture

Most of these are made in the first sprint. Adding them later means rewriting the data model and the access layer.

1. Data inventory and data map

Nothing else works until you know which personal data you hold, why, and in which table, service and third party. Tagging fields in the data model as personal, special category or non-personal keeps the inventory current as the schema changes, instead of leaving it in the legal team's spreadsheet.

2. Data minimisation

Article 4 requires data to be "relevant, limited and proportionate" to the purpose. In software that is the question "why do we need this?" asked of every form field. An age band instead of a date of birth, or a province instead of a full address, covers most reporting needs. Data you never collect cannot leak and never needs disposing of.

3. Permission model

The Authority's Personal Data Security Guide lists an authorisation matrix, authorisation control and user account management among the technical measures. In software that means role-level and record-level permissions: an account manager sees only their own customers, and support sees the national ID number masked. Checks run on the server; hiding a button is not a control. Removing access when someone leaves is part of the same decision.

4. Encryption and key management

Data travels over TLS and is encrypted on disk and in backups. Sensitive fields such as national ID numbers or health data are candidates for field-level encryption. The adequate measures the Board set for special category data (decision 2018/10 of 31 January 2018) require that data be stored using cryptographic methods and that cryptographic keys be kept securely and in separate environments. Keeping the key on the same server as the database, or in source code, therefore does not pass; keys belong in a key management service or a secrets vault.

5. Audit logs

The guide lists both access logs and regular recording of users' actions among the measures. In practice you need two separate records: technical logs, and an audit log that answers "who did what to whose data, and when". The audit log should be stored where it cannot be altered. Technical logs should hold no personal data: a request body logged for debugging can quietly carry national ID numbers into the log system.

6. Retention periods and automated disposal

Article 7 requires data to be deleted, destroyed or anonymised once the reason for processing it ends. Under the related regulation, the interval for periodic disposal is set in the retention and disposal policy and may not exceed six months. Every deletion, destruction and anonymisation is recorded, and those records are kept for at least three years.

In software that means a retention period per data type and a scheduled job that disposes of expired records, including copies in backups and the data warehouse. The bar for anonymisation is high: the data must not be linkable to a person in any way, even combined with other data.

7. Data subject requests

A person can ask whether their data is processed, and ask for it to be corrected or deleted; the controller must answer within thirty days at the latest. A system that cannot gather one person's data across services meets that deadline by hand. Running export and deletion from a single flow removes most of that load.

8. Hosting, cloud and AI services

Article 9 was amended in 2024 by Law No. 7499. Transfers abroad now rest on an adequacy decision or, failing that, on appropriate safeguards such as standard contracts, which must be notified to the Authority within five business days of signing. The software team's job is to make visible where data goes: hosting region, e-mail and SMS providers, error tracking, analytics. For AI features, decide in advance which fields go to the model and which are masked. Decide the legal basis for each transfer with your legal counsel.

9. Special category personal data

Health, biometric and genetic data, religion and criminal convictions are among the special categories. The law prohibits processing them, allows it under specific conditions, and requires the adequate measures set by the Board. Decision 2018/10 lists, alongside encrypted storage, secure logging of every action on the data, at least two-step authentication for remote access, and encryption when the data is sent by e-mail. Keeping this data in a separate schema or service makes it easier to apply those measures only where they are needed.

10. Detecting and reporting a breach

When personal data is obtained by others unlawfully, the controller must notify the data subject and the Board as soon as possible. In decision 2019/10 of 24 January 2019, the Board read that as no later than 72 hours from learning of the breach. Answering "what happened, which data, how many people" in that window depends on what the software recorded; without an audit log, impact analysis is guesswork. Monitoring that alerts on unusual access is a technical precondition for breach notification.

During development

  • Test data and environments: test environments get synthetic or anonymised data, not a production copy; developer access to production data is the exception, recorded and time-limited.
  • Dependencies and security testing: the guide calls for regular vulnerability scanning and penetration testing against known weaknesses. Dependency scanning runs in the build pipeline; Snyk and Trivy are tools used for it. For application security controls, see our web and mobile application security checklist.
  • Backups: the guide recommends that only the system administrator can reach backups and that they are kept off the network.
  • Third-party services: personal data fields are masked in events sent to error tracking (such as Sentry) and analytics tools.

Checklist before release

  1. A data inventory exists and matches the tags in the data model.
  2. Every personal data field has a purpose and a retention period.
  3. Permission checks run on the server; roles and masked views are defined.
  4. Data is encrypted in transit and at rest; keys are stored apart from the data.
  5. The audit log shows who accessed personal data and when; technical logs hold no personal data.
  6. A job disposes of expired data and every disposal is recorded.
  7. One person's data can be found, exported, corrected and deleted.
  8. Every service and region the data goes to is listed.
  9. Special category data is handled separately, with the Board's adequate measures in place.
  10. Records and alerts exist to measure impact when a breach is suspected.

How we handle KVKK at Internative

The permission model, the processing of personal data (KVKK and GDPR) and audit logs are among the first architecture decisions we make, not a layer added once development is done. Where AI is involved, we agree with the client before going live which data goes to which model. If data must never leave the organisation, we look at open-source models running on its own infrastructure. Our information security management is ISO/IEC 27001 certified, and we also hold ISO 9001 and ISO 10002.

If you want to work through the technical side of KVKK in your software with us, see our Data Protection & Privacy page. To see where an existing system stands, start with Security & Compliance Auditing.

Frequently asked questions

What are the KVKK technical measures?

Article 12 requires measures that prevent unlawful processing of and access to personal data and keep it safe. The Authority's Personal Data Security Guide lists them: authorisation matrix and authorisation control, access logs, user account management, network and application security, encryption, key management, penetration testing, intrusion detection and prevention, log records, data masking, data loss prevention, backups, firewalls, up-to-date antivirus, and deletion, destruction or anonymisation.

Is there a certificate for KVKK-compliant software?

The law defines no process that certifies a piece of software as "KVKK compliant". Compliance is the data controller's obligation and also depends on how the software is used. What software can do is provide the measures that make meeting those obligations possible: permissions, encryption, logging, disposal and request handling.

Is the software company a data controller or a data processor?

A software company that builds, hosts or runs a system on an organisation's behalf is usually a data processor; the organisation that sets the purposes and means is the data controller. Under the law, the controller is jointly responsible with the processor for security measures. Confirm the roles for your project with your legal counsel.

How quickly must a personal data breach be reported?

The law says "as soon as possible". In decision 2019/10, the Board read that as no later than 72 hours from learning of the breach. Affected people are notified within the shortest reasonable time once they have been identified.

What is the difference between deletion and anonymisation?

Under the regulation, deletion makes data inaccessible and unusable in any way for the relevant users. With anonymisation the data stays in the system but can no longer be linked to a person in any way, even when combined with other data. That makes anonymisation the option for teams that want to keep data for reporting and statistics; because the bar is high, removing fields such as name and ID number is rarely enough.

Related services

Where this topic becomes an engagement.

Keep reading

The articles that follow this one.