Section 40 data processor duties

A processor must act on the controller's instructions, protect personal data, notify the controller of breaches and keep processing records, all under an agreement the controller prepares. The evidence an assessor asks for first is the signed agreement, the instruction record and the security and breach logs.

On this page

What Section 40 data processor duties require of a processor

A processor that handles personal data for a Thai controller must meet the duties in Section 40 of the Personal Data Protection Act B.E. 2562 (2019). The first duty is to act only on the controller's instructions, unless an instruction is contrary to law or the Act. The second is to provide appropriate security measures against unauthorized or unlawful loss, access, use, alteration, correction or disclosure. The third is to notify the controller of a breach that has occurred. The fourth is to prepare and maintain records of processing activities under the rules and methods set by the Personal Data Protection Committee. A processor that does not follow the controller's instructions is regarded as the controller for that processing. The controller, for its part, must prepare an agreement with the processor that ensures it complies with these duties.

The Act was published in the Government Gazette on 27 May 2019. Under Section 2, most provisions took effect the day after publication, but Chapter III, which holds Section 40, took effect one year after publication. Section 96 required the regulations and notifications under the Act to be issued within one year of entry into force, so many operational details, including how processing records are kept, sit in PDPC notifications issued under the Committee's power in Section 16. Those notifications change over time, so readers must check which ones are current before they design processor controls or write contract terms.

Start with the controller's agreement, because Section 40 expects it to bind the processor to these duties. Check that it covers the processing instructions, the security measures expected, the route for breach notices, and how the processor keeps and shares its processing records. Ask the processor which PDPC notifications it follows and who tracks changes to them. Treat the unofficial English translation from the Ministry of Digital Economy and Society as a working reference, and check the Thai Gazette text before relying on any clause in a contract or legal opinion. Evidence for the security and records duties usually comes from access logs and change history on the platforms the processor runs, so confirm those logs exist and are retained before signing.

Which activities and systems make an organization a processor under Section 40

Processor status under Thailand's PDPA is decided activity by activity. A vendor that hosts, operates or supports personal data on a controller's instructions is a processor for that work, even if it acts as a controller for other data it holds. The five areas below are where to test that boundary before a contract is signed.

Instructions set the boundary

Section 40 limits a processor to handling personal data on the controller's instructions, unless an instruction is contrary to law or the Act. The boundary is the written scope of work and its data handling terms. A processor that goes beyond those instructions is treated as the controller for that processing, so any new use needs written approval first. Illustrative example: reusing client logs to tune the vendor's own product is a new purpose that the agreement must name. Check that every purpose appears in the contract. Out-of-instruction use makes the processor a controller.

English text of the Act

Systems and data stores in scope

Every system that holds personal data for the controller is in scope, including production databases, file shares, backups, log stores, ticket attachments, test copies and support exports. Each location needs appropriate security measures and must appear in the processing records a processor keeps under Section 40. Copies count as much as the primary store. Ask the controller for an inventory of these locations before work starts, and confirm which copies the processor creates and when they are deleted.

Sub-processors and hosting providers

Cloud providers, colocation facilities, managed service firms and subcontractors may hold or reach personal data on the processor's behalf. Whether a cloud or colocation host is itself a processor, and how a processor must control its own sub-processors, are points to confirm with counsel against the Act and PDPC notifications. DeployOpen's work runs inside the client's own cloud, data center or air-gapped network, so the client's hosting provider usually sits in the client's contract chain. Confirm roles with counsel for each engagement.

Support and admin access

Remote troubleshooting, administrator consoles, log exports and break-glass accounts all let someone see personal data. Even read-only access can count as use or disclosure, so confirm the position with counsel before access begins. Limit who can reach these paths, require named accounts and single sign-on, and keep access logs the controller can review. The Nextcloud admin manual explains how its admin_audit app writes audit events, which is one example of the evidence a processor can show the controller.

Nextcloud logging docs

Sector laws alongside the PDPA

Section 3 says that where a sector-specific law governs personal data, that law applies. The PDPA's collection, use, disclosure and data subject rights provisions still apply alongside it. A processor serving a bank, hospital or public body may therefore answer to both the sector rule and Section 40, so both apply at once. Ask the controller which sector rules it follows, map each one to the same processing activities, and have counsel confirm the combined position for each engagement.

Where Section 40 processor duties end and controller duties begin

A processor that does not follow the controller's instructions is regarded as the controller for that processing, and this rule decides where Section 40 duties end. Under Section 40, a processor may handle personal data only on the controller's instructions, unless an instruction is contrary to law or the Act. Once a processor acts outside those instructions, it takes on the controller's position for that activity. That shift brings the controller's exposure with it, including data subject claims, administrative fines under Section 86 and the obligation to justify the lawful basis for the processing. Liability therefore follows the specific activity, so a processor should test each data flow against its written instructions rather than assume the agreement covers it.

Four situations cause most of the drift. The first is a custom feature built outside the agreement, such as an export routine or analytics job that the controller never listed, which becomes processing without a documented instruction. The second is an ad hoc request from the controller's staff, often sent by email or chat, that quietly widens the purpose or the data set. The third is reuse of data for the processor's own purposes, such as testing models, benchmarking or product analytics. The fourth is operator access beyond the agreed scope, for example an engineer copying a production customer table into a test environment to debug an issue. Each of these is a reason to pause and check the instruction record before work continues.

Processors should run this boundary as an operating control as well as a legal line. Keep an instruction register that the controller signs off, link each new feature or data flow to an entry before it goes live, and log administrative access to personal data in enough detail to show whether it matched an instruction. If a deviation has already happened, stop it, record what changed and ask counsel whether the processor now holds controller duties for that data. Security of the data is covered on the Section 37(1) security measures page, and notice of breaches to the regulator is covered on the Section 37(4) personal data breach notification page. Confirm with Thai counsel how the unofficial English text applies to your facts.

How an assessor tests Section 40 data processor duties

This table lists six areas a reviewer is likely to examine for a processor under Section 40, with how each is typically tested, the evidence usually requested and the findings that appear most often. These are typical approaches, and this page does not cite a published PDPC audit method. No certification scheme is named for this section, so confirm with counsel who will test it: the controller's audit, internal audit or a regulator inquiry.

Test areaHow it is testedEvidence requestedCommon finding
Instruction complianceSample processing jobs and compare each against the documented controller instructions and their dates.Written instructions, change requests, job logs and sign-off for a sample of processing activities.Instructions exist only informally, such as in chat messages, and do not match what staff actually run.
The agreementRead the processing agreement and check that each Section 40 processor duty has a matching clause.Signed agreement, a clause-by-clause mapping to Section 40 duties and any amendments since signing.Agreement omits one or more Section 40 duties, or no agreement exists for a processing relationship.
Security measuresReview configuration, access control lists and logs, then confirm the measures are reviewed periodically.Configuration baselines, access review records, audit log samples and dated records of the last measure review.Access rights are not reviewed after role changes, and logs are not retained or checked.
Breach notificationWalk through the notice path from detection to the controller, using a tabletop exercise or a past incident.Incident procedure, controller contact list, notice templates and timestamps from a past incident or exercise.Procedure names no owner for notifying the controller, or the path depends on a single person.
Processing recordsCheck records against the rules and methods set by the Personal Data Protection Committee and confirm they are current.Records of processing activities, version history, dates of last update and the Committee rules applied.Records are created once and not updated after systems or processing purposes change.
Processing outside instructionsLook for processing the controller did not instruct, then check how the processor identified and handled it.Access logs, job records, exception reports and any record of processing beyond the controller's instructions.Processor keeps processing after instructions change, which can make it the controller for that processing under Section 40.

How processor duties flow from instruction to breach notice

The diagram starts with the controller, which issues instructions and signs a processing agreement with the processor. The processor handles personal data within those instructions, while its security measures and processing records apply throughout. Two branches follow. If the processor processes data outside the instructions, it is regarded as the controller for that processing. If a breach occurs at the processor, it must notify the controller, which then carries its own duties to notify the regulator and affected data subjects. Check that the agreement covers both branches before processing begins.

Processor duties run from controller instructions through to breach notice.

Implementation sequence for Section 40 data processor duties

This sequence takes a processor from unclear scope to evidence it can show a controller or regulator. Each step ends in an owned document or record, and the order matters because the agreement, security baseline and records all depend on the inventory and instructions. The organization owns the decisions and controls, DeployOpen prepares systems and evidence, and DeployOpen does not issue audit reports or certifications.

  1. Map processing activities and roles

    The organization lists each activity in which it processes personal data as a processor, along with the systems, data stores, data categories and the people who run each activity. DeployOpen maps the technical side of the self-hosted platforms and their data flows, while the organization confirms the business purpose and names an owner for each activity. The step closes with a processing inventory signed off by the privacy lead. It is done when every in-scope data store appears against at least one activity and one named owner.

  2. Document instructions for each activity

    The controller issues instructions for each inventory line, including permitted purposes, handling limits and any onward disclosure. Section 40 limits processing to these instructions unless an instruction is contrary to law or the Act, and a processor that departs from them is treated as the controller for that processing, so the wording must be precise. The processor records each instruction with its version, source and approver in an instruction register, using version history so earlier wording stays recoverable. It is done when every inventory line has a current instruction and an approver.

  3. Agree the controller-processor agreement

    Section 40 requires the controller to prepare an agreement with the processor that ensures the processor meets its duties, so this step turns the instructions and the security, breach and records duties into contract terms. Counsel reviews the draft against each duty and each instruction line, and checks the unofficial English text against the Thai Gazette text before anyone relies on it. The organization signs the agreement and keeps the signed copy in the contract file. It is done when a signed agreement maps each processor duty to a clause and no duty is left unaddressed.

  4. Configure security measures and access control

    Section 40 requires appropriate security measures against unauthorized or unlawful loss, access, use, alteration, correction and disclosure. DeployOpen hardens each self-hosted platform for access control and audit logging, for example the Nextcloud admin_audit app writing to audit.log or OpenBao audit devices recording API requests, and confirms each setting in your environment. The organization approves the configuration baseline and sets the review schedule and reviewer. It is done when every data store has a documented baseline, a named reviewer and a completed first review record.

  5. Build processing records in the required format

    Section 40 requires processors to prepare and maintain records of processing activities under the rules and methods set by the Personal Data Protection Committee. Before building the register, the organization confirms which PDPC notification is current and what format and fields it requires, because operational details sit in Committee notifications rather than in the Act's text alone. DeployOpen can prepare the technical parts of the records from the inventory and system logs where the platform supports it, and the organization completes and approves the rest. The step closes with a records register that covers every inventory activity and is reviewed whenever the inventory changes.

  6. Write and drill the breach notice runbook

    Section 40 requires a processor to notify the controller of a personal data breach that occurred, so the runbook sets how the processor detects, escalates and reports one. It names contacts by role and by person on both sides, includes a notice template and sets how evidence is preserved, while the controller keeps its own notice duties under section 37(4). Run a drill that tests detection, escalation and the notice to the controller, record timestamps and gaps, then fix and retest the findings. It is done when the runbook, a drill record with fixes and a confirmed contact list are on file.

Evidence that shows Section 40 data processor duties are met

Section 40 duties are only as credible as the proof behind them. Keep these six records current, review each on a set schedule, and retain the logs and change histories long enough to answer a controller or regulator. Confirm retention periods and review cadence with your legal adviser, because many operational details sit in Committee notifications.

Signed processor agreement

Section 40 requires the controller to prepare an agreement that makes the processor comply with its duties. Assessors and controllers will usually ask for the signed copy first, so confirm it covers processing only on documented instructions, security measures, breach notice and records of processing. Check that it names the purposes, data categories and any sub-processors, and that the file copy matches what both parties signed.

Instruction register and change history

Section 40 limits processing to the controller's instructions, and a processor that fails to follow them is treated as the controller for that processing. Keep a register of each instruction with its date, sender and scope, in a wiki. XWiki (LGPL-2.1-or-later) keeps version history of every page, recording what changed, when and by whom, and lets you compare any two versions and roll back. Review the register on a set schedule and check it against what staff actually process.

XWiki version control

Security baseline and access review record

Section 40 requires appropriate security measures against unauthorized or unlawful loss, access, use, alteration, correction or disclosure. Keep a written baseline for each system holding the data, covering encryption, patching, backups and logging. Record an access review at a cadence you set, showing who holds each privilege, why, and when it was removed for leavers and role changes. Assessors tend to test whether reviews were signed off and whether follow-up actions closed.

Processing records

Section 40 requires the processor to prepare and maintain records of processing activities under the rules and methods set by the Personal Data Protection Committee. Many operational details sit in Committee notifications, so confirm the current requirements before you finalize the format. Keep one entry per processing activity for each controller, with the categories of processing, transfers and security measures in use, and date each revision. Tie each entry to the instruction it follows.

Breach runbook and drill record

Section 40 requires the processor to notify the controller of a breach that occurred. Write the runbook so it names who detects, who decides, who calls the controller, and what goes in the notice. BookStack (MIT) assigns abilities by role and allows overrides at shelf, book, chapter or page level, so each procedure has a named owner. Record each drill with the date, scenario, time to notice and gaps found, and show the fixes.

Admin and audit logs

Nextcloud's admin_audit app (AGPL-3.0-only) writes additional event information to audit.log in the data directory, or to a path set with logfile_audit. Confirm it captures the events you need before you rely on it. OpenBao (MPL-2.0) audit devices keep a detailed JSON log of every API request and response, including errors, with most sensitive values hashed with HMAC-SHA256, which gives evidence of secrets access. Set retention in line with each controller agreement.

OpenBao audit devices

What Section 40 data processor duties costs to meet

This table compares the cost components of meeting Section 40 duties, who is paid for each, whether the cost is one-time or recurring, and what moves it. Self-hosted open source removes license spend, while labor, hosting and support still apply. Section 86 sets an administrative fine of up to 3,000,000 baht for a processor that fails to comply with Section 40 without appropriate reasons, so scope this work early. DeployOpen publishes no price list; a quote follows a written scope.

Cost componentWho is paidOne-time or recurringWhat drives it and how to keep it down
Legal review of the processor agreementYour counsel, and outside counsel if engagedOne-time, revisited when instructions changeNumber of controller contracts and sub-processor terms. Reuse one standard agreement template with a schedule per controller.
Engineering time for the security baselineYour platform team, or an implementation partnerOne-time build, then recurring upkeepNumber of systems in scope and how many already meet your baseline. Standardize hardening and document each deviation.
Access control and loggingYour platform team, or an implementation partnerOne-time setup, recurring access reviewsNumber of roles, SSO integration and log retention. Central identity and one log pipeline reduce per-system effort.
Processing records build and upkeepYour privacy or compliance team, with engineering inputOne-time build, recurring updatesNumber of processing activities and how often instructions change. Confirm the current record format under PDPC rules.
Breach runbook and drillsYour incident response team, and any retained responderOne-time runbook, recurring drillsController notification steps, contact chain and drill frequency. Tie each drill to a named controller contact.
Evidence upkeep: log review and change recordsYour operations staff, or a managed serviceRecurringLog volume, change frequency and sampling depth. Export evidence on a schedule into one controlled folder.
External security testing or independent reviewAn external tester or reviewer you engageRecurring, on a cycle you setScope, application count and retest needs. Fix known findings before retest to keep the retest focused.
Assessor time where a controller requires itAn independent assessor the controller acceptsRecurring, per controller reviewNumber of controller audits and questionnaires. Keep a standard evidence pack ready before each request.
Implementation partner scopeDeployOpen or another partner, against a written scopeOne-time build, retainer for ongoing supportAsk for scope, deliverables, assumptions, timeline and retest in the quote. No price list is published.

Who does what: your team, an implementation partner and the auditor

Your organization owns the decisions that make processing lawful and accountable. Under Section 40, the controller prepares the agreement with the processor, and a processor that does not follow the controller's instructions is treated as the controller for that processing. That makes instructions, purposes, access and breach notice decisions work for your own people, even when a partner builds the systems that carry them out.

  • Instructions and purposes: Write the documented instructions that tell the processor what it may do with personal data, and update them when purposes change.
  • The processing agreement: Negotiate and sign the agreement that sets the processor's duties on security, breach notice and records. Section 86 sets an administrative fine of up to 3,000,000 baht for a processor that fails to comply with Section 40 without appropriate reasons, according to the unofficial English translation of the Act.
  • Access decisions: Decide who may access personal data, at the processor and inside your organization, and approve each change.
  • Breach notice decisions: Decide whether and when an incident is reported to the regulator or to data subjects. The processor notifies you, and you make the call.
  • Outsourcing boundaries: Configuration, log pipelines, drills, testing and records tooling are commonly outsourced. Instruction decisions, processing purposes and breach decisions usually stay in-house.

Confirm with counsel which Thai PDPA duties attach to your organization as controller or processor before you sign the agreement.

Where processors usually fall short on Section 40

Security controls are only part of what Section 40 asks of a processor. The gaps below sit in the agreement, the instruction trail, the breach path, the records and the logs, and they tend to surface when a controller or regulator asks for proof. Each card names one gap and the check that closes it.

Agreement that does not map duties

Section 40 expects the controller to prepare an agreement that ensures the processor complies with its duties. A generic template often lists obligations without tying them to the services actually delivered, such as hosting, backup, support access or log handling. Check that each duty has a named service, an owner and a clause, and that sub-processors and vendor remote support access are covered.

Act text (MDES)

Instructions kept in chat

Section 40 limits processing to the controller's instructions, and a processor that fails to follow them is treated as the controller for that processing. When instructions live in chat threads, email or support tickets, nobody can show which instruction was in force on a given date. Move standing instructions into a register with a reference, date, requester and approver, and tie each change to a ticket. Review the register against live processing on a schedule you can document.

Scope drift from custom work

Custom integrations, one-off exports and controller-specific features often run for a long time before anyone updates the agreement or the instruction register. Once work goes beyond the services the controller described, the processing may fall outside the instructions the processor holds, and the processor could be treated as the controller for that work. Keep a change log for every custom job that touches personal data, and confirm each one has a written instruction before it goes live.

Undefined breach notice path

Section 40 requires the processor to notify the controller of a breach that occurred, so the notice has to reach the controller in practice. Agreements often state the duty but name no contact, no channel and no backup when the first contact is away. Write down the named contacts on both sides, the channel used for notice and the information the processor will send first, then run a tabletop drill with the controller before you need it. Confirm the notice window in the agreement with your counsel.

Processing records missing or stale

Section 40 requires the processor to prepare and maintain records of processing activities under the rules and methods the Committee sets. Records are often written once at onboarding and never updated after a new service or sub-processor is added. Before relying on any template, confirm the current format against the PDPC notifications in force, since the operational detail is set out there. Then map each processing activity to its record, owner and review date.

Logs collected but never reviewed

Processors commonly enable audit logging for access and changes, then never review it or agree how long it is kept. Logs are often the evidence that processing stayed within instructions, so they need an owner, a review routine and a retention period set with the controller. For self-hosted platforms, confirm which audit output is switched on, where it is written and who can read it. Nextcloud's admin_audit app writes to audit.log in the data directory unless logfile_audit sets another path.

Nextcloud logging docs

Questions buyers ask about Section 40 processor duties

How much does Section 40 compliance cost for a data processor?

Section 40 has no published price, and the cost depends on the written scope of systems, records and agreements you need to cover. The only money figure tied to this duty is the administrative fine under Section 86 of up to 3,000,000 baht for a processor that fails to comply with Section 40 without appropriate reasons, so read it as a penalty ceiling. Cost drivers include the security measures you must build or verify, the instruction register and processing records, counsel time on the data processing agreement and staff time for reviews. DeployOpen does not publish a price list. A quote follows a written scope, so ask every provider to price the same systems, deliverables and assumptions, and to separate one-time work from recurring tasks such as access reviews.

How long does Section 40 compliance work take to finish?

The duration depends on scope, so treat any single number without stated assumptions with caution. Assumptions that move the schedule include how many processing activities you run, how many controller agreements need updating, how mature your access controls and logging already are, and how quickly your counsel and your customers' counsel can review terms. A narrow scope covering one system and one agreement template usually moves faster than a scope spanning several products and many controllers. Ask each provider for milestones, the decisions and reviews they need from your team, and what happens when a review cycle runs longer than planned.

Can our own team handle Section 40 without an outside partner?

Many teams can do much of it in-house, especially the instruction register, the records of processing and an operations runbook, because these are documents and routine procedures your staff can maintain. The organization owns its controls whichever route it takes. Counsel should still review the data processing agreement, since it is the legal instrument that sets the processor's duties. Consider outside help for an independent check of your security measures, for building the logging evidence, or for a second read of the runbook. DeployOpen prepares systems, controls and evidence for compliance work under a written scope, but it does not issue audit reports or certifications. An independent auditor or certification body does that.

Is there a certification for Section 40 processor compliance?

There is no certification scheme for Section 40 that this page can confirm, so do not assume one exists or that a certificate would satisfy a customer. Ask your counsel whether the Personal Data Protection Committee has issued any certification or standard that applies to your processing. Ask your larger customers what their contracts and security questionnaires expect, since expectations vary between buyers. Some will accept a documented self-assessment, and others may want independent evidence. If independent evidence is needed, an assessor you choose would produce it, and the team that built the controls cannot issue that report. Record the answers in writing so the position is clear at the next contract renewal.

What is a data processor fined for under Thailand's PDPA?

Under Section 86, a processor faces an administrative fine of up to 3,000,000 baht when it fails to comply with Section 40 without appropriate reasons. The duties that can trigger it include processing only on the controller's instructions, keeping appropriate security against unauthorized or unlawful loss, access, use, alteration, correction or disclosure, notifying the controller of a breach, and keeping records of processing activities under the rules set by the Committee. The fine is the penalty to model in your risk assessment, and a failure of these duties can also change who is treated as responsible for the processing. Confirm the current text with counsel, since the unofficial English translation is a working reference only.

Does a processor become the controller if it ignores instructions?

Yes, for that processing. Under Section 40, a processor that fails to follow the controller's instructions is regarded as the controller for that processing, so the controller's duties and exposure for that activity move onto it. Illustrative example: a processor uses customer records to train a product feature the customer never approved. For that use, the processor should expect to be treated as the controller. Prevent this by logging each instruction, limiting staff and system access to instruction-scoped data, and running a change process where requests are approved in writing before work starts. Ask counsel how this interacts with the liability terms in your contract.

What does Section 40 work need from our team week to week?

It needs named people, a steady review rhythm and contact paths that work at short notice. Assign an owner for each processing activity, for the instruction register and for each security measure. Schedule access reviews to confirm who can reach personal data, and remove accounts that no longer need it. Keep a breach contact list that names your security lead, the controller contact for each agreement and the person who can decide quickly on notice to the controller. Budget review time for owners checking records and runbook entries, and for counsel checking agreement changes. Tools can help with evidence. XWiki keeps version history of documents, BookStack can set permissions by role, and if you run Nextcloud, its admin_audit app writes to audit.log. Someone must still read those logs.

How DeployOpen scopes and prepares Section 40 evidence

DeployOpen works on Section 40 Data processor duties by preparing the systems and records a processor needs to show, while the organization keeps ownership of its controls and its processing agreement. An independent auditor or assessor is the party that issues any report or conclusion. Every engagement starts from a written scope.

How we scope

  • The written scope names which processing activities fall under Section 40 and which systems hold the personal data involved.
  • We confirm who issues processing instructions and how each instruction is recorded before any build starts.
  • Engagements are fixed-scope, and ongoing support is available as a retainer after handover.

How we build

  • We configure access control, SSO and audit logging so each access to personal data can be traced.
  • We harden the systems that hold personal data and test the controls that guard against unauthorized access, loss or disclosure.
  • We set up version history and role-based permissions in the wiki and document tools so procedures and changes stay traceable.

How we hand over

  • We prepare processing records for the systems in scope, checked against the rules and methods the Committee has issued.
  • We document the security measures, breach escalation path and instruction log so your team can present them to an assessor.
  • Your organization owns the processing agreement and the controls; an independent auditor issues any report.

How we support

  • Retainers cover upgrades, backups and continuous testing after handover, as agreed in writing.
  • Before an assessment, we retest fixes and confirm that the evidence matches the current configuration.
  • Your auditor or assessor reviews the evidence independently, and questions about legal duties go to your counsel.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.