Tsaaro got CERT-IN Empanelled | MeitY has published the DPDP Rules, 2023.
Tsaaro got CERT-IN Empanelled | MeitY has published the DPDP Rules, 2023.
Tsaaro got CERT-IN Empanelled | MeitY has published the DPDP Rules, 2023.
Tsaaro got CERT-IN Empanelled | MeitY has published the DPDP Rules, 2023.

Research Team (Tsaaro)
Published

Privacy has traditionally occupied the final sprint of development, a regulatory requirement addressed only after core functionality was locked. India's Digital Personal Data Protection (DPDP) Act 2023 and its operational rules, released on November 13, 2025 make privacy an engineering requirement. Firms have 18 months to implement Privacy by Design (PbD) throughout their software development lifecycle by May 13, 2027. Penalties for failure might reach ₹250 crore. Developers, architects, and security teams must reimagine data flow from requirements collecting to post-deployment monitoring.
Introduction
Privacy by Design isn't exactly a fresh idea. It first took shape in Canada during the 1990s, gained traction with the GDPR in 2018, and has since become the foundation of India's data protection laws. Still, many organisations stick with an outdated approach: they create the product first, and only later add privacy features. The aforementioned model is reversed by the DPDP Act 2023. Section 5 mandates that all data fiduciary entities that collect, store, or process personal data must provide explicit notice prior to collection. An informed, unambiguous, free, and specific consent is required by Section 6. Section 8(5) mandates "reasonable security safeguards" without specifying "reasonable," which generates regulatory ambiguity that courts are likely to resolve in favour of non-compliant organisations. The Ministry of Electronics and Information Technology (MeitY) notified these principles through mandatory technical constraints in the DPDP Rules 2025. Compliance is no longer a legal department concern; it is a business of engineering. This is the clear message. This inversion underscores a fundamental truth: privacy cannot be attained solely through policy. It necessitates continuous runtime monitoring, code-level implementations, and architectural decisions. Compliance infrastructure is what technical controls are; they are not optional indulgences.
The Seven Principles of Privacy by Design and Their SDLC Mapping
Cavoukian's foundational Privacy by Design framework comprises seven principles. The DPDP Act aligns closely with these, creating a regulatory bridge between principle and practice. Organisations implementing the PbD for DPDP compliance should map each principle explicitly to the Software Development Life Cycle (SDLC) phases.
1. Proactive, Not Reactive; Preventative, Not Remedial
Organisations need to get ahead of privacy violations, not just scramble to fix things after the fact. The DPDP Rules make this clear, requiring Data Protection Impact Assessments (DPIAs) to be done before any data processing starts. A DPIA provides an organised method for identifying potential threats to individuals' rights and liberties. It also evaluates whether the processing is necessary and proportional, and it keeps a record of how those risks will be managed.
Practicality: Developers and privacy officers collaborate to identify all data flows during the requirements phase. A DPIA is required for processing that involves artificial intelligence, automated decision-making, or high-risk data categories (financial, health). The assessment documents residual risks, threat scenarios, and mitigation (encryption, pseudonymization, and access controls). This step is not compliance theatre; it is architectural foresight that is rooted in security principles.
2. Privacy Embedded into Design
Privacy isn't something that can be added later; it has to be built into the system from the start. This means that architectural choices must include privacy from the beginning, rather than trying to add it on later. According to the DPDP Act, this means that data minimisation must be a fundamental architectural principle, not just something considered after the fact.
Operationally: A microservices architecture demands careful control over data flow; each component should access only the data it truly needs. For instance, a recommendation engine that uses purchase history shouldn't receive complete order details, including personally identifiable information. Instead, it should only get anonymised transaction counts. APIs must also enforce purpose limitation. If a service requests a user's email for account recovery, the system should ensure that email isn't being used elsewhere, like in analytics pipelines. Furthermore, rate limits on APIs help prevent unauthorised bulk data extraction.
3. Respect for User Privacy
User autonomy is of utmost importance. Individuals should possess control over their data, facilitated by consent that is both detailed and capable of being revoked. The DPDP Act mandates a consent-centric framework, thereby disallowing blanket consent practices. Consent must be explicitly tied to a specific purpose, secured through affirmative action rather than pre-selected options or implied silence, and the process of withdrawal must be as straightforward as the initial consent process.
Technically: Consent must be validated in real time at every data processing step. CMSs must track: Which user consented? To what end? At what time? Which privacy notice accompanied it? If consent is missing or withdrawn, may the system deny data processing? The DPDP Rules require this infrastructure to work with Consent Managers, independent, registered businesses that will run centralised consent platforms from November 13, 2026.
4. Visibility and Transparency
Privacy choices need to be transparent and easily understood. The DPDP Rules (specifically Rule 3) stipulate that notices should be straightforward, written in plain language, and presented as separate documents. These notices must include a detailed account of the data being collected, the precise reasons for its use, and direct references to the individual's privacy rights. Furthermore, these notices must be available in multiple languages and comply with the Web Content Accessibility Guidelines (WCAG), ensuring they are usable by individuals with disabilities.
For developers: this means immutable metadata audit logs recording every consent interaction (timestamp, language, purpose ID, user ID, IP address, consent version). These logs must be cryptographically protected against tampering and remain accessible for investigations. The DPDP Rules require organisations to maintain such records for 7 years.
5. End-to-End Security
Personal data must be protected from collection through deletion. This is not one-time encryption; it is lifecycle protection. Data in transit must be encrypted (TLS 1.2 minimum). Data at rest requires encryption with keys managed securely. Data in processing requires careful handling to prevent side-channel exposure. Data awaiting deletion requires secure disposal.
The DPDP Rules require "reasonable security safeguards", as defined by ISO 27001 and NIST. Organisations should use encryption, masking, obfuscation, multi-factor authentication, Role-Based Access Control (RBAC), continuous monitoring, and anomaly detection. A 72-hour breach notification window (Rule 7) requires real-time detection systems.
6. Data Minimization
Collect only what is necessary. This is the principle that reduces the attack surface most directly. If a user registration flow requests name, email, and date of birth but only uses name and email, collecting the date of birth violates data minimisation. Excess data increases breach liability, storage costs, and retention obligations.
Implementation: During the discovery and planning phase, developers should challenge every data requirement. "Why do we need this field?" For analytics, use aggregated, anonymised data instead of individual records. For personalisation, use first-party behavioural data + consent-based segmentation, not third-party data brokers. At the API level, implement field-level masking: a user dashboard should display "Email: j***@example.com", not the full address.
7. Accountability
Organisations must demonstrate compliance through documentation, audits, and governance. The DPDP Act establishes the Data Protection Board of India (DPB) an independent regulatory body empowered to investigate complaints, issue directions, and impose penalties. The DPB operates from the National Capital Region and is now operational as of November 13, 2025.
For developers: This means maintaining detailed documentation of privacy decisions. Why was this data retained for 60 days instead of 30? Why does this API require a full address instead of a postal code? When consent infrastructure changed, how was withdrawal retroactively applied? These decisions must be traceable in code comments, design documents, and audit trails.
Privacy by Design Across SDLC Phases: A Technical Playbook
Phase 1: Requirements and Planning
Privacy activities: Threat modelling, Privacy Impact Assessment (DPIA), and definition of consent requirements.
Deliverables:
Documented data flow diagrams, detailing every point where personal data is accessed.
Threat scenarios are outlined, including unauthorised access, accidental disclosure, and purpose creep.
Identified mitigations, such as encryption, pseudonymisation, and access controls.
Consent model documentation: What are the purposes? Which data is involved? How can consent be withdrawn?
DPDP-specific requirements:
Classify data by sensitivity (financial, health, and children's data trigger Section 9 requirements).
Determine if processing is "significant data fiduciary" (>5 million individuals or certain categories; Rule 22).
Map lawful usage instances (Section 7 allows for limited grounds beyond consent, such as legislative responsibilities or fire-fighter emergencies)
Phase 2: Design
Privacy activities: selection of privacy-enhancing technologies (PETs), architectural design for data minimisation, API design with built-in purpose validation.
Technical choices:
Strategy: Which data needs rest encryption? Transit minimum TLS 1.2. Consider homomorphic encryption for processing encrypted data (e.g., ML model training on sensitive financial data without decryption). For sensitive data like SSNs and financial account information, use field-level encryption.
Reduce data: APIs should return just relevant fields. Instead of "User: [email protected]," save "User: U_7A2B9C" with a secure mapping. Federated learning lets you train analytics models on distributed data without centralising user data.
Purpose Limitation: Validate data access patterns for purpose limitation. If data was acquired for "KYC verification," "marketing analytics" requests should be rejected. Data sources must tag metadata and consumption points must validate.
Consent Architecture: Architecture for real-time consent validation. Check if a user has active consent for Purpose Y before processing their data. If not, reject the request with a clear log entry.
Phase 3: Development
Privacy activities: Implementation of privacy controls, secure coding practices, data minimization logic.
Practices:
Secure coding guidelines: Maintain secure coding standards for personal data processing across the organisation. Examples: Never store personal info in app logs. Parameterise your queries to avoid SQL injectionss. Validate all user inputs. Create tokens and session IDs with secure random numbers. Use secure error messages to prevent attackers from learning system details.
Secure settings: Privacy controls must be "on." A pre-ticked consent box is illegal under the DPDP Act. The solution stops admins from mistakenly creating non-compliant configurations, as current browsers default to HTTPS.
Code review focus: Focus on secure code review (OWASP Secure Code Review Cheat Sheet). Data management (where does personal data flow?), input validation (are user inputs sanitised?), cryptography (is encryption utilised correctly?), and business logic are reviewed.
Phase 4: Testing
Privacy activities: Privacy-focused testing, code review for encryption and access control, penetration testing focused on data exposure.
Testing scenarios:
Validation of consent: Is it possible for a user to revoke consent? Is data processing suspended immediately? Is historical data (gathered prior to withdrawal) managed appropriately?
Data minimisation: Does the system gather superfluous data? Can you identify which fields are actively utilised?
Purpose limitation: Does the system refuse analytics queries if data was acquired for KYC purposes? Are violations of purpose recorded?
Encryption: Is data secured when stored? In transit? Are encryption keys administered securely?
Access control: Is it possible for a non-administrative user to retrieve another user's data via API manipulation?
Audit trails: Are all data access events recorded with timestamps, user identification, and purpose?
Privacy-Enhancing Technologies: Practical Implementation
The DPDP framework recognises Privacy-Enhancing Technologies (PETs) as compliance enablers. These include:
Encryption: Data remains encrypted even during processing, preventing unauthorised access.
Pseudonymisation: Identifiers are replaced with pseudonyms, reducing re-identification risk. Unlike anonymisation (which is irreversible), pseudonymization allows legitimate data usage while protecting privacy. Under GDPR and DPDP, pseudonymised data is still subject to protection (not considered truly "anonymous").
Differential privacy: Adds statistical noise to datasets so individual records cannot be reverse engineered from aggregate results. Used in analytics to publish insights without exposing individual behaviour.
Federated learning: ML models train on distributed data without centralising user information. Each user's device or local server computes model updates; only aggregated updates are shared, not raw data.
Secure Multi-Party Computation (SMPC): Multiple parties jointly compute a result without any party seeing the others' data. Example: three banks computing average customer age without sharing individual records.
Consent Manager Framework: A Developer's Perspective
From November 13, 2026, the Consent Manager framework becomes operational. Consent Managers are independent, India-incorporated entities registered with the DPB. They operate interoperable platforms enabling users to grant, manage, review, and withdraw consent to multiple data fiduciaries from one place.
Technical requirements for data fiduciaries:
Integrate with Consent Manager APIs to relay consent requests
Route consent artifacts and personal data securely (Consent Managers use data-blind transport; they cannot read data in transit)
Maintain consent records for 7 years
Respect consent withdrawal signals in real time
This change moves permission management away from a proprietary model where each application has its own consent interface to a distributed one. In this new setup, a central consent platform handles consent across many services. For developers, this shift translates to:
Building interoperable consent APIs
Implementing consent artifact validation
Automating consent withdrawal across data flows
Organizational Implications: Moving Privacy from Legal to Engineering
Privacy by Design requires structural changes:
Engineering ownership: Developers, not compliance officers, become primary stewards of privacy. This demands new skills: understanding consent architectures, encryption implementations, privacy threat modelling, and DPDP compliance requirements.
Cross-functional integration: Privacy decisions during the requirements phase must involve product managers (What data do we truly need?), security architects (How do we protect it?), and legal teams (Does this comply with regulations?). Siloed decision-making is insufficient.
Tooling investment: Implement consent management platforms, data discovery tools (to catalogue personal data and its usage), Data Protection Impact Assessment platforms, and audit logging systems. These are not optional they are compliance infrastructure.
Training and culture: Developers must understand why privacy matters beyond regulatory fines. Privacy builds user trust differentiates products in competitive markets, and aligns with evolving user expectations. Training should be ongoing, not annual checkbox exercises.
Conclusion
Privacy by Design, as mandated by India's DPDP Act and Rules 2025, has moved beyond mere intention; it's now a practical requirement. This framework transforms privacy from a mere compliance team checklist to a fundamental engineering principle. Developers building systems today are tasked with incorporating consent validation, data minimisation, encryption, and audit logging directly into their application designs. The clock is ticking on the compliance deadline, which ends on May 13. Delays bring a double whammy: regulatory fines and the need for architectural changes. These fixes can be expensive, often piecemeal, and frequently fall short of what's needed. Organisations that prioritise privacy gain a significant advantage. When privacy is integrated into the software development lifecycle, companies create systems that people can trust, lessen their vulnerability to breaches, and establish themselves as privacy frontrunners in today's data-driven world. The age of bolting privacy on after development is over. Welcome to the age of privacy-first engineering.
Want to Know More?
Learn more about India's data protection environment, compliance frameworks, and in-depth analyses of privacy policies at Tsaaro.com.
Talk to a Privacy Expert
Get a free 1:1 session on AI compliance, DPDPA readiness, or incident response planning.
Related articles







