DPDP Compliance for Software: Hardcoding Privacy by Design
India's DPDP Act means privacy policies are no longer enough. Learn why non-technical founders must demand privacy-by-design software architecture from their development agencies before writing code.

Founders building for the Indian market used to treat data privacy as a final-step formality — hire an agency to build the app, then pay a lawyer a few thousand rupees to draft a Privacy Policy for the footer.
Those days are over. DPDP compliance for software is no longer a legal veneer; it's a foundational engineering requirement.
With India's Digital Personal Data Protection (DPDP) Act, 2023, now backed by operational rules notified in late 2025, compliance has moved from the courtroom to the codebase. Software designed to indiscriminately collect user data won't be saved by legal paperwork. For non-technical founders outsourcing their builds, that's a serious blind spot — you must mandate that your development partner bake privacy constraints into database schemas, API layers, and interfaces before a line of code is written.
Here's what the new rules demand of your software architecture, and how to avoid inheriting a non-compliant product.
DPDP Rules 2025: From Legal Text to Database Code
The DPDP Act marks a generational shift in India's data privacy law. The Act was passed in August 2023, but the engineering mandates became concrete only when the Ministry of Electronics and Information Technology (MeitY) notified the final DPDP Rules on November 14, 2025.
According to the Press Information Bureau, the rollout is phased:
- Phase 1 (active): The Data Protection Board of India is established and is overseeing compliance and breach investigations.
- Phase 2 (November 2026): Mandatory integration with registered "Consent Managers" — interoperable platforms letting users manage data preferences across apps from a single dashboard.
- Phase 3 (May 2027): Full enforcement of all substantive provisions.
The stakes are existential for a startup. The Act allows penalties of up to ₹250 crore (roughly $30 million) per violation, per PwC India. And under the law, your startup — not your vendor — is the "Data Fiduciary." Even if a third-party development agency (the "Data Processor") wrote the non-compliant code, liability falls on you, the founder.
Core DPDP Compliance for Software: What Founders Must Demand
Most outsourced dev shops optimize for speed and low cost, which often means reusing pre-2023 boilerplates that default to collecting as much user data as possible. Translating DPDP act requirements into technical specs requires a real shift in how apps get built. Demand these four pillars before you sign off on any architecture.
1. Purpose-Specific Data Minimization at the Schema Level
The old tech-startup mantra was "collect everything now, monetize later." Database tables captured location, contact books, device IDs, and browsing habits regardless of what the app actually did.
The DPDP Act mandates data minimization: you may only collect the personal data strictly necessary for the stated purpose.
- The engineering fix: Your ER diagrams and schemas must be tightly scoped. A B2B invoicing tool's database should structurally reject geolocation or social-handle storage. An app requesting device permissions it doesn't need — microphone access for a text-only chat app, say — is non-compliant by design.
2. Interoperable Consent Workflows and the 2026 Mandate
Consent can no longer hide inside a pre-ticked "I agree to the Terms" checkbox. The law requires free, specific, informed, unambiguous consent — and withdrawing it must be as easy as granting it.
- The engineering fix: Build a dedicated consent ledger. On signup, the backend should log exactly what a user consented to, timestamp it, and version-control the privacy notice they agreed to.
- The 2026 constraint: By November 2026, apps must support the Consent Manager framework — standardized APIs that let users revoke data access via third-party Consent Manager dashboards. Static, hardcoded consent flows without an API-first design will break next year.
3. The Data Erasure Pipeline (No More Soft Deletes)
When a user clicks "Delete Account," what actually happens in the database? In most legacy apps, a developer just flips is_active from true to false — a "soft delete." The data disappears from the UI but stays on your servers for analytics.
Under the DPDP Act, soft deletes are illegal unless a separate statutory obligation requires retention — RBI's rule requiring fintech companies to keep 5-year transaction logs, for instance.
- The engineering fix: Build a true erasure pipeline. When consent is revoked, the system should cascade a hard delete across primary databases, caching layers (Redis, etc.), and third-party CRMs (HubSpot, Salesforce). Where full deletion would break referential integrity, use cryptographic anonymization to strip PII so the remaining data can't be traced back to the individual.
4. Verifiable Age-Gating and Children's Data
The Act takes a hard line on children's data, defining anyone under 18 as a child. Apps that target or are likely to be used by minors can't track behavior for targeted advertising and must obtain verifiable parental consent.
- The engineering fix: Build age-gating into onboarding. Flagged minors should trigger downgraded data collection and a parental verification workflow before the account activates.
Privacy by Design Software: The Traditional Build vs. the DPDP Way
To understand the gap between cheap, traditional app development and privacy by design software, compare how features get architected under both models.
| Architectural Layer | The Old "Move Fast" Way | The DPDP-Compliant Architecture |
|---|---|---|
| Database Design | Monolithic user tables capturing excessive metadata (location, device IDs) by default. | Purpose-driven data models. PII is encrypted at rest and separated from non-sensitive analytics data. |
| Consent Management | Bundled into a single, mandatory "Accept All" checkbox during onboarding. | Itemized consent APIs. A dedicated ledger logs timestamped approvals and supports the Nov 2026 Consent Manager protocols. |
| Account Deletion | "Soft deletes" (deleted_at timestamp) leaving data permanently on servers. | Automated erasure pipelines that cascade hard-deletes or cryptographically anonymize data across all systems. |
| Third-Party SDKs | Liberal use of analytics SDKs (e.g., Facebook Pixel) that silently siphon data off-device. | Strict API gateways. All third-party data sharing is conditionally gated by real-time user consent flags. |
| Access Control | Every developer and support agent has full read-access to production databases. | Role-Based Access Control (RBAC) with dynamic data masking. Support agents only see the last 4 digits of a phone number. |
Tech Due Diligence: How Non-Compliant Apps Kill Valuations
If you're building toward a VC raise, ignoring privacy architecture is financial self-sabotage.
In 2026, VC due diligence goes beyond scalability — auditors check your data pipelines for regulatory risk. A database holding unconsented PII for 50,000 users isn't an asset to them; it's a potential ₹250 crore liability.
Startups with non-compliant architectures are increasingly forced into expensive rip-and-replace rebuilds before term sheets are signed, which depresses valuations. Compliance built in on day one costs a fraction of retrofitting it on day 400.
The Talent Squeeze: Hiring Privacy Engineers in India
As the May 2027 enforcement deadline approaches, hiring privacy engineers in India has gotten fiercely competitive. Few engineers can translate legal statutes into scalable database schemas.
Most of that talent is being absorbed by "Significant Data Fiduciaries" (SDFs). Per the Information Technology and Innovation Foundation, large global platforms operating in India face even stricter obligations — localized Data Protection Officers, mandatory external audits — and are hiring aggressively for top privacy engineering talent. That leaves smaller dev agencies staffed with junior developers who've never read the DPDP Rules.
The Ganakys Approach: Baking Compliance into Build-Operate-Transfer
Non-technical founders shouldn't have to become privacy-law experts to launch a product — but handing your build to a cheap dev shop is a recipe for a compliance disaster.
Our Build-Operate-Transfer (BOT) model addresses this directly. We don't write code and walk away — we act as your interim engineering team:
- Build: We architect your application as privacy-by-design software from day one — granular consent ledgers, data erasure pipelines, and strict RBAC data masking.
- Operate: We run and maintain the product so it adapts as new MeitY rules land, including the upcoming Consent Manager API specs. Our own products, like Codilla.ai, are engineered the same way — balancing deep operational capability with rigorous data protection.
- Transfer: Once your startup has traction, we transfer a compliant, VC-ready asset — documentation included.
Unlike engagement models that leave you holding the regulatory bag, our BOT framework aligns our incentives with your long-term safety and success.
If you have a strong product idea but lack the technical team to build it compliantly, request a BOT engagement with Ganakys.
Frequently Asked Questions
Are B2B SaaS platforms exempt from DPDP compliance?
No. Even B2B platforms process the digital personal data of their clients' employees — names, emails, phone numbers, performance metrics. If you build B2B software, you act as a Data Processor (or sometimes a joint Data Fiduciary), and your architecture must still support data minimization, secure access controls, and the right to erasure.
What is a "Consent Manager" under the new DPDP Rules?
An independent, government-registered platform that acts as an intermediary between users and apps. Scheduled to be fully operational by November 2026, it lets users view, grant, and revoke consent across multiple services in one place. Your software architecture must be API-ready to receive and instantly execute "revoke consent" signals from these external managers.
Does the DPDP Act require me to host all my data within India?
No. The DPDP Act currently allows cross-border transfer of personal data to most countries, except those specifically blacklisted by the Central Government. But if you operate in a heavily regulated sector like fintech, RBI rules still apply and do mandate strict data localization regardless of what the DPDP Act allows.
What's the first step toward DPDP compliance for software?
Start at the schema level, not the privacy policy. Before writing product code, map exactly what data each feature needs, build a consent ledger, and design account deletion as a real erasure pipeline rather than a soft delete. Retrofitting these after launch costs far more than designing for them from day one.