India's Digital Personal Data Protection Act, 2023 and the DPDP Rules, 2025 turn into concrete backend work: itemised consent notices and consent records, easy withdrawal, erasure that reaches your processors, breach reports within 72 hours, one year of processing logs, and contracts with every vendor that touches personal data. Most of these duties apply from 13 May 2027. This checklist maps each one to what you build in your database and APIs, with examples in Postgres. It's written by WoWSQL, a Postgres backend-as-a-service with regions in Mumbai, US East and Frankfurt.
This is not legal advice. It's an engineering reading of the published texts, checked on 24 November 2026. Using any particular database, WoWSQL included, doesn't make you compliant. Confirm your obligations with a lawyer.
Key facts
- The law: Digital Personal Data Protection Act, 2023 (Act 22 of 2023) and the DPDP Rules, 2025, notified by MeitY as G.S.R. 846(E) dated 13 November 2025 (Rules PDF, MeitY).
- Timeline: Board provisions from 13 November 2025; Consent Manager registration from 13 November 2026 (in force now, PIB, 14 November 2026); notice, consent, rights, security, breach and retention duties from 13 May 2027.
- Breach notice (Rule 7): tell affected users and the Data Protection Board without delay, then send the Board a detailed report within 72 hours of becoming aware.
- Logs (Rules 6 and 8): keep logs and personal data associated with processing for at least one year, unless another law says otherwise.
- Penalties (Act Schedule): up to ₹250 crore for failing to take reasonable security safeguards, and up to ₹200 crore for failing to notify a breach.
Timeline: what applies when
| Date | What comes into force | Source |
|---|---|---|
| 13 Nov 2025 | Definitions; Data Protection Board set up (Rules 1, 2, 17–21) | Rule 1(2), G.S.R. 846(E) |
| 13 Nov 2026 | Consent Manager registration (Rule 4); portal at dpbi.gov.in | Rule 1(3); PIB release, 14 Nov 2026 |
| 13 May 2027 | Notice (Rule 3), security safeguards (Rule 6), breach intimation (Rule 7), retention and erasure (Rule 8), contact details (Rule 9), children's data (Rule 10), rights (Rule 14), transfers abroad (Rule 15) and Act Sections 3–17 | Rule 1(4); G.S.R. 843(E) dated 13 Nov 2025 |
Sources: DPDP Rules, 2025 (MeitY); commencement notification G.S.R. 843(E) (MeitY); DPDP Act, 2023 (MeitY); MeitY data protection framework. All accessed 24 November 2026.
That leaves about five and a half months from today. Schema changes, deletion jobs and log pipelines take longer to get right than privacy-policy text, so start with the backend.
Who is who: fiduciary, processor, principal
- Data Principal: the person the data is about, your user.
- Data Fiduciary: whoever decides why and how personal data is processed. If you run the app, that's usually you.
- Data Processor: anyone who processes personal data on your behalf: your database host, email and SMS providers, analytics, an AI API you send user data to.
Section 8(1) of the Act makes the fiduciary responsible for processing done "by it or on its behalf by a Data Processor", whatever the contract says. Section 8(2) allows processors only "under a valid contract". So your vendor list is part of your compliance, not just your architecture.
The developer checklist
| # | Obligation | Where it comes from | What to build |
|---|---|---|---|
| 1 | Know what personal data you hold | Rule 3(b)(i) needs an "itemised description" in the notice | A data inventory: every table, column, bucket, log and vendor holding personal data |
| 2 | Show a standalone, itemised notice | Rule 3; Section 5 | A versioned notice per purpose, shown before collection, in English or an Eighth Schedule language (Section 5(3)) |
| 3 | Record consent per purpose | Section 6(1): "free, specific, informed, unconditional and unambiguous" | A consent table: user, purpose, notice version, granted_at, withdrawn_at. No pre-ticked boxes |
| 4 | Make withdrawal as easy as consent | Section 6(4); Rule 3(c)(i) | A withdraw button in the same place as the grant, and code that stops processing for that purpose |
| 5 | Handle access, correction and erasure requests | Sections 11–13; Rule 14 | A request intake, identity check, an export of the user's data, and a delete path; grievance answers within 90 days |
| 6 | Erase when consent is withdrawn or the purpose is served, including at processors | Section 8(7); Rule 8 | Deletion jobs that also reach files, caches, search indexes and vendors; a retention schedule |
| 7 | Keep one year of processing logs | Rules 6(1)(e) and 8(3) | An append-only audit log you control, kept at least a year |
| 8 | Reasonable security safeguards | Section 8(5); Rule 6 | Encryption or masking, access control, monitoring, backups, processor contract clauses |
| 9 | Breach response | Section 8(6); Rule 7 | A runbook that can produce the Rule 7 details for users at once and for the Board within 72 hours |
| 10 | Children's data | Section 9; Rule 10 | Age gate; verifiable parental consent for under-18s; no tracking or targeted ads aimed at children |
| 11 | Publish a contact for data questions | Section 8(9); Rule 9 | DPO or contact person on your site and in every rights response |
| 12 | Know where data goes abroad | Section 16; Rule 15 | A map of every region and vendor country; watch for government orders restricting transfers |
The sections below cover the ones that need the most backend work.
Consent records: a Postgres pattern
Consent has to be per purpose, provable later and revocable. An append-friendly table works well. This example uses Postgres Row Level Security and the auth.uid() helper that WoWSQL (and Supabase) provide for the signed-in user:
create table public.consents (
id uuid primary key default gen_random_uuid(),
user_id uuid not null,
purpose text not null, -- e.g. 'order_fulfilment', 'marketing_email'
notice_version text not null, -- which notice text the user saw
granted_at timestamptz not null default now(),
withdrawn_at timestamptz
);
alter table public.consents enable row level security;
create policy "Users read own consents"
on public.consents for select
using (auth.uid() = user_id);
create policy "Users grant own consents"
on public.consents for insert
with check (auth.uid() = user_id and withdrawn_at is null);
create policy "Users withdraw own consents"
on public.consents for update
using (auth.uid() = user_id)
with check (auth.uid() = user_id and withdrawn_at is not null);
Your app code checks for an active row (withdrawn_at is null) for the purpose before it processes data for it. Withdrawal is a single PATCH that sets withdrawn_at, so it is as easy as granting. Keep old notice texts so notice_version still means something a year later. This is a starting point; a real policy would also stop users editing purpose or granted_at on update, for example with a column-level grant or a trigger.
Erasure that actually erases
Section 8(7) says to erase personal data when consent is withdrawn or the purpose is no longer served, and to "cause its Data Processor to erase" what you shared with it. In a typical app, a user's data lives in more places than the users table:
- Rows in every table with a
user_id, plus denormalised copies (emails in orders, names in comments). - Files in storage buckets, and copies cached at a CDN.
- Auth records in your auth service.
- Search indexes, analytics events, email lists and AI vector stores.
- Backups. Deleted rows stay in backups until those backups expire.
Two Rules complicate "delete everything now":
- Rule 8(3) says to keep personal data, traffic data and logs associated with processing for at least one year from the processing, for the purposes in the Seventh Schedule. Its own illustration: an e-book platform must keep order and payment records for a year "even if X deletes her account".
- Rule 8(1) and the Third Schedule set fixed erasure periods for large platforms: e-commerce entities, online gaming intermediaries and social media intermediaries with at least two crore registered users in India must erase after three years of inactivity, warning the user at least 48 hours before (Rule 8(2)).
The practical design is a deletion pipeline, not a single DELETE: stop processing at once, remove data you have no reason to keep, move records you must keep to a restricted table with an expiry date, and purge them when that date passes. Which records fall in which bucket is a legal question; the pipeline is the engineering answer.
One year of logs you control
Rule 6(1)(e) asks for logs that let you detect, investigate and fix unauthorised access, kept for a year. Don't assume your vendors' logs cover this: platform log retention is usually shorter and not under your control. On WoWSQL, for example, the retention page says MCP API logs are kept up to 90 days and other logs only as long as needed to run the service.
A simple trigger-based audit log in your own database:
create table public.audit_log (
id bigserial primary key,
at timestamptz not null default now(),
actor uuid, -- signed-in user, null for server jobs
table_name text not null,
action text not null, -- INSERT / UPDATE / DELETE
row_id text
);
alter table public.audit_log enable row level security; -- no policies: clients can't read it
create or replace function public.log_change() returns trigger
language plpgsql security definer set search_path = public as $$
begin
insert into public.audit_log (actor, table_name, action, row_id)
values (auth.uid(), tg_table_name, tg_op, coalesce(new.id, old.id)::text);
return coalesce(new, old);
end $$;
create trigger consents_audit
after insert or update or delete on public.consents
for each row execute function public.log_change();
Log who did what to which row, not the personal data itself, and export the table to cold storage on a schedule so it survives a project deletion.
Breach response: what Rule 7 asks for
| To whom | When | What |
|---|---|---|
| Each affected user | Without delay, through their account or registered contact | What happened and when; likely consequences for them; what you're doing; what they can do; a contact person |
| Data Protection Board | Without delay | Nature, extent, timing, location and likely impact |
| Data Protection Board | Within 72 hours of becoming aware (or longer if the Board allows in writing) | Updated details, causes, mitigation, findings about who caused it, steps to prevent recurrence, and a report on the user notices |
Engineering prep that makes 72 hours possible:
- Know your blast radius quickly: the data inventory (item 1) tells you which tables and buckets held what.
- Be able to message every affected user from a query, not a spreadsheet.
- Rotate keys fast. A leaked service or admin key is the most common "breach" in BaaS apps. On WoWSQL the service key bypasses RLS, and the shared-responsibility page says a leaked key is the customer's to rotate, not a platform breach.
- Know how your vendors tell you. WoWSQL posts incidents on wowsql.com/status and, for a confirmed incident affecting your project data, emails the account address when notice is required or clearly useful (security incidents). Your own 72-hour clock still applies to you.
Data location and transfers abroad
The Act doesn't require all personal data to stay in India. Section 16(1) lets the Central Government restrict transfers to countries it notifies, and Rule 15 lets it set requirements for making data available to foreign States. Sector rules (for example RBI rules for payment data) can be stricter. For the full reading, see Data residency in India for Postgres.
For developers, the job is to know where every copy lives:
| Backend | India region | Other choices | Self-hostable |
|---|---|---|---|
| WoWSQL | Mumbai ap-south-1 |
US East us-east-1, Frankfurt eu-central-1 |
Yes, Apache 2.0 |
| Supabase | Mumbai ap-south-1 |
Many AWS regions across the Americas, Europe and Asia-Pacific | Yes |
| Firebase (Firestore) | Mumbai asia-south1, Delhi asia-south2 |
Many Google Cloud locations | No |
| Appwrite Cloud | Bangalore listed as "coming soon" | Frankfurt, New York, Sydney, San Francisco, Singapore, Toronto | Yes |
Sources, checked 24 November 2026: WoWSQL regions API, Supabase regions, Firestore locations, Appwrite regions.
A region choice covers the primary database. Ask separately about backups, logs, file CDNs, email and SMS vendors, support access and AI tools. Any row you paste into an AI assistant or send through an MCP connection goes to that model provider.
What WoWSQL provides, and what stays with you
WoWSQL doesn't claim DPDP compliance on your behalf, and no hosting choice can. Here's what the platform's published pages say today, so you can map it to your checklist:
- Region per project: Mumbai, US East or Frankfurt.
- Access control: anon keys limited by Row Level Security; a service key that bypasses RLS and must stay on servers (legal/auth).
- Backups: none on Free (export your own); daily backups kept 7 days on Pro and Scale. This isn't point-in-time recovery, and restores go through support within the 7-day window (legal/backups). So a deleted row can stay in platform backups for up to 7 days.
- Deletion: deleting a project is immediate and irreversible, and removes its database, storage, keys and platform backups. Account deletion has a 30-day grace period (legal/retention).
- Vendors: the sub-processors page lists AWS, Cloudflare, Dodo Payments and analytics vendors, and where each processes data. Put the ones that touch your users' data in your own processor list.
- Your side (shared responsibility): keys, team access, SQL, RLS policies, what you make public, and your own exports.
Two gaps to plan for: WoWSQL's public auth docs (checked 24 November 2026) don't list a self-service "delete my account" endpoint for end users, so treat auth-user deletion as an admin step in your pipeline. And storage has no expiring links, so private files should be served through your own server route.
WoWSQL Technologies Private Limited is based in Tamil Nadu, India. For data-flow questions your reviewer needs answered, email contact@wowsql.com and get the answer in writing.
Related guides
- Data residency in India for Postgres: DPDP Act guide
- Managed PostgreSQL in India, Mumbai region
- What is Row Level Security in Postgres?
- Indian SaaS selling to the US: pick your DB region
- Best backend as a service in India (2026)
- What is PostgREST? Auto REST APIs for Postgres
FAQ
What do developers need to do for the DPDP Act?
Build an itemised notice and per-purpose consent records, a withdrawal path as easy as consent, access, correction and erasure handling, deletion that reaches files, backups and vendors, a one-year audit log, security safeguards, and a breach runbook that can report to the Data Protection Board within 72 hours. Most duties apply from 13 May 2027. This is not legal advice.
When do the DPDP Rules 2025 apply to startups?
The Rules were notified on 13 November 2025 (G.S.R. 846(E)). Board provisions applied immediately, Consent Manager registration from 13 November 2026, and notice, consent, rights, security, breach and retention duties for all Data Fiduciaries, startups included, from 13 May 2027.
How fast must a data breach be reported under the DPDP Rules?
Under Rule 7, you must tell each affected user and the Data Protection Board without delay, then give the Board a detailed report within 72 hours of becoming aware of the breach, unless the Board allows longer on a written request.
Does the DPDP Act require storing data in India?
Not as a general rule. Section 16 lets the government restrict transfers to notified countries, and Rule 15 lets it set requirements for data made available to foreign States. Sector laws can be stricter. Many Indian teams still choose an India region, such as Mumbai, for contracts and latency.
Is my app DPDP compliant if my database is in Mumbai?
No. A Mumbai region is a data-location choice. Compliance also needs notices, valid consent, rights handling, erasure, security safeguards, breach handling, log retention and contracts with every processor, and those are mostly your application's job.
Is WoWSQL DPDP compliant?
WoWSQL doesn't claim that, and no database can make your app compliant on its own. It gives you a Mumbai region (plus US East and Frankfurt), Postgres Row Level Security, daily 7-day backups on paid plans and published legal pages on retention, sub-processors and incidents. The fiduciary duties stay with your app.