Software Crafting

DPDP Act Compliance Checklist for Websites and Apps (2027)

DDeepak RajputSecurity17 min read27 Nov 2026
A translucent shield with three checked items in front of an app window, with data points flowing in from the left and stopping at the shield

TL;DR: India's Digital Personal Data Protection Act, 2023 (DPDP Act) and the DPDP Rules, 2025 apply to almost every website and app that collects personal data from people in India. Most obligations take effect around 13 May 2027, eighteen months after the Rules were notified in November 2025. For a typical product, compliance means six things you can build: a clear notice, real opt-in consent with easy withdrawal, reasonable security with one year of logs, a breach response process, deletion when data is no longer needed, and a way for users to exercise their rights. This checklist turns each one into engineering work.

Note: This is a practical engineering guide, not legal advice. The Act and Rules are the authority, and a lawyer should review your final notices and policies.

Key takeaways

  • It applies to you if you handle digital personal data of people in India, including Indian startups, agencies and foreign companies selling into India.
  • The main deadline is around 13 May 2027. Consent manager registration started earlier, in November 2026.
  • Consent must be opt-in, specific and as easy to withdraw as to give. Pre-ticked boxes and "by using this site you agree" banners do not meet the standard.
  • Security is concrete now: encryption, access control, monitoring, backups and logs kept for at least one year.
  • Breaches must be reported to the Data Protection Board and to affected users, with a detailed report to the Board within 72 hours.
  • Penalties are large, up to ₹250 crore for failing to take reasonable security safeguards.

Why the DPDP Act matters now

For years, Indian privacy law for most businesses meant a short privacy policy and a cookie banner copied from a European site. The DPDP Act changes that. It gives individuals enforceable rights, puts clear duties on businesses, and creates the Data Protection Board of India to investigate complaints and impose penalties.

The Act was passed in August 2023, but it could not work until the government published the Rules that fill in the details. The DPDP Rules, 2025 were notified in November 2025 with a phased timeline. The Board and its procedures came first. Registration of consent managers follows about twelve months later. Most of the obligations that affect product teams, including notice, consent, security, breach reporting and deletion, apply about eighteen months after notification, which places them around 13 May 2027.

Eighteen months sounds generous until you look at what has to change: signup flows, analytics, marketing tools, CRM exports, database retention, logging, vendor contracts and support processes. Many of these changes touch code that has not been revisited since launch. Teams that start in 2027 will be rushing. Teams that start now can fold the work into normal releases.

Who the Act applies to

The Act covers digital personal data processed in India, and personal data processed outside India when it relates to offering goods or services to people in India. In practice, if your website or app has users in India and you store anything that identifies them, the Act applies.

Personal data means any data about an individual who is identifiable by or in relation to that data. That includes the obvious, such as names, emails, phone numbers and addresses, and the less obvious, such as device identifiers, IP addresses tied to an account, location history and behaviour profiles.

A few situations fall outside the Act, including data a person makes public themselves and purely personal or domestic use. Most businesses should assume they are in scope and design accordingly.

Key roles and terms

The Act uses its own vocabulary. Learn it before reading the Rules:

TermMeaningTypical example
Data PrincipalThe individual the data is aboutYour user or customer
Data FiduciaryDecides why and how data is processedYour company
Data ProcessorProcesses data on behalf of a fiduciaryYour cloud host, email or analytics vendor
Significant Data FiduciaryA fiduciary the government designates for extra dutiesLarge platforms handling sensitive data at scale
Consent ManagerA registered intermediary that manages consentPlatforms users can use to give and withdraw consent
Data Protection BoardThe regulator that hears complaints and imposes penaltiesBoard of India set up under the Act

As the fiduciary, you stay responsible for what your processors do with the data. Contracts with vendors matter, and so does knowing which vendors receive what.

The compliance timeline

PhaseApproximate dateWhat it covers
Rules notifiedNovember 2025Data Protection Board constitution and procedures
Consent managersAbout November 2026Registration and obligations of consent managers
Main obligationsAbout 13 May 2027Notice, consent, security, breach reporting, retention, rights, children's data

Check the dates against the official notification, as some commentators cite 13 May and others 14 May 2027. Either way, the engineering work is the same, and the safest plan is to finish it well before.

Step 1: Map the personal data you collect

You cannot write an honest notice or delete data on time without knowing where the data lives. Start with an inventory. For each data flow, record what is collected, why, where it is stored, who can access it, which vendors receive it, and how long you keep it.

Keep the inventory in your repository, next to the code, so it is reviewed when features change:

# data-inventory.yaml: reviewed in every pull request that touches personal data
- flow: contact_form
  data: [name, email, phone, company, message]
  purpose: Reply to the enquiry and prepare a proposal
  legal_basis: consent
  storage: mongodb.leads
  processors: [email-delivery-provider]
  retention: 24 months after last contact
  owner: sales

- flow: product_analytics
  data: [device_id, pages_viewed, approximate_location]
  purpose: Understand which pages help visitors
  legal_basis: consent
  storage: analytics-vendor
  processors: [analytics-vendor]
  retention: 14 months
  owner: marketing

- flow: account
  data: [name, email, password_hash, billing_address]
  purpose: Provide the service the user signed up for
  legal_basis: legitimate use (data the user gave to receive the service)
  storage: postgres.users
  processors: [cloud-host, payment-gateway]
  retention: Account life plus statutory accounting period
  owner: engineering

Expect surprises. Teams usually find personal data in places nobody remembered: support tool exports, spreadsheet backups, staging databases copied from production, error tracking payloads and server logs with full request bodies. Each one needs a purpose, an owner and a retention period, or it should be removed.

Step 2: Write a notice people can actually read

Before or at the time you ask for consent, the Act requires a notice that tells the person what personal data you will process and for what purpose, how they can withdraw consent and exercise their rights, and how they can complain to the Board. The Rules add that the notice must be understandable on its own, in clear and plain language, with an itemised description of the data and the specific purposes.

People must also be able to read the notice in English or in any of the 22 languages listed in the Eighth Schedule to the Constitution. For a consumer product with users across India, that means planning for translations, at least for your highest-traffic languages.

Good notices are short and layered:

  • A short notice at the point of collection, such as under a signup form: what you collect, why, and a link to more.
  • A full privacy notice that lists each purpose, the data used for it, the processors involved and how to exercise rights.
  • A way back, so a user can always find the current notice and their current choices from their account or footer.

Version the notice. When a user consents, store the version they saw, so you can prove what they agreed to.

Consent under the DPDP Act must be free, specific, informed, unconditional and unambiguous, given through a clear affirmative action, and limited to the data necessary for the purpose. Several common patterns fail this test:

  • Pre-ticked checkboxes.
  • "By using this site, you agree to..." banners with no choice.
  • One checkbox bundling the service terms, marketing emails and data sharing together.
  • Making an unrelated purpose, such as marketing, a condition for using the core service.
  • Hiding the decline option or making it harder than accept.

Record each consent as data, with the purpose, the notice version, the time and the method:

// One record per purpose, so withdrawing marketing does not touch analytics.
export interface ConsentRecord {
  principalId: string; // user ID, or a random device ID for anonymous visitors
  purpose: 'analytics' | 'marketing_email' | 'personalisation' | 'third_party_sharing';
  granted: boolean;
  noticeVersion: string; // e.g. '2027-01-15'
  method: 'banner' | 'signup_form' | 'settings_page' | 'consent_manager';
  language: string; // language the notice was shown in
  recordedAt: Date;
  withdrawnAt?: Date;
}

export async function recordConsent(record: Omit<ConsentRecord, 'recordedAt'>) {
  // Append-only: never overwrite history, so you can show what was true on any date.
  await db.collection<ConsentRecord>('consent_records').insertOne({
    ...record,
    recordedAt: new Date(),
  });
}

export async function hasConsent(principalId: string, purpose: ConsentRecord['purpose']) {
  const latest = await db
    .collection<ConsentRecord>('consent_records')
    .find({ principalId, purpose })
    .sort({ recordedAt: -1 })
    .limit(1)
    .next();
  return latest?.granted === true && !latest.withdrawnAt;
}

Not everything needs consent. The Act also allows certain legitimate uses, such as processing data a person voluntarily gave you for a specific purpose, like an address for delivery, where they have not objected. Use these carefully and document why each applies. Analytics, advertising and marketing usually still need consent.

The Act requires that withdrawing consent be as easy as giving it. If consent took one click on a banner, withdrawal should take one click from a link that is always visible, such as a "Privacy choices" link in the footer or account settings. A support email alone is not equivalent.

Withdrawal has to actually stop the processing. That means your code checks consent at the point of use, not only at collection. Gate third-party scripts behind it:

// Load analytics only after a recorded opt-in, and stop it when consent is withdrawn.
import { readConsent, subscribeConsent } from '@/lib/consent';

export function initAnalytics() {
  const apply = () => {
    const granted = readConsent() === 'granted';
    window.gtag?.('consent', 'update', {
      analytics_storage: granted ? 'granted' : 'denied',
      ad_storage: 'denied', // no advertising use without separate, explicit consent
    });
    if (!granted) clearAnalyticsCookies();
  };

  apply();
  return subscribeConsent(apply); // react immediately when the user changes their mind
}

Withdrawal does not make past processing unlawful, but you must stop future processing within a reasonable time and tell your processors to stop too. If a marketing platform received the user's email, withdrawal should reach it through an API call or a scheduled sync, not a quarterly spreadsheet.

Indian users may also come to you through a registered consent manager. If your product serves sectors where consent managers become common, plan an integration point that can receive consent and withdrawal events from one.

Step 5: Put reasonable security safeguards in place

The heaviest penalty in the Act, up to ₹250 crore, is for failing to take reasonable security safeguards to prevent a personal data breach. The Rules spell out what reasonable means at minimum:

  • Encryption, obfuscation, masking or virtual tokens to protect personal data.
  • Access controls on the computer resources that process it.
  • Visibility into access, through logs, monitoring and review, to detect unauthorised access.
  • Measures for continued processing after a compromise, such as backups.
  • Retaining logs and the relevant personal data for one year to support detection and investigation, unless another law requires longer.
  • Security obligations written into contracts with your processors.

For most web products, this translates into familiar work: TLS everywhere, encryption at rest, least-privilege database users, no shared admin accounts, MFA for staff, secrets out of code, tested backups and centralised logs. Our post on eliminating secrets sprawl covers one of the most common gaps.

The one-year log requirement deserves its own design. Access logs must exist, be protected from tampering, and expire on schedule:

// Access log for personal data: who read or changed what, kept for one year.
await db.collection('pd_access_log').createIndex(
  { at: 1 },
  { expireAfterSeconds: 400 * 24 * 60 * 60 }, // a little over one year, then auto-delete
);

export async function logPersonalDataAccess(entry: {
  actorId: string; // staff member, service account or API key
  action: 'read' | 'update' | 'export' | 'delete';
  subjectId: string; // whose data
  resource: string; // e.g. 'leads', 'users.billing'
  reason?: string; // ticket or request reference for staff access
}) {
  await db.collection('pd_access_log').insertOne({ ...entry, at: new Date() });
}

Log the access event, not the personal data itself. A log full of copied names and phone numbers becomes another data store you have to protect. For stronger integrity, ship logs to an append-only store, as described in our tamper-proof audit logs guide.

If you want an outside review of where your product stands, our security and compliance work and software audit services start with exactly this kind of gap assessment.

Step 6: Prepare for breach reporting before it happens

When a personal data breach occurs, the Act requires you to inform the Data Protection Board and each affected Data Principal. The Rules require you to tell affected users without delay, in plain language, what happened, the likely consequences, what you are doing about it, what they can do to protect themselves, and who to contact. The Board must receive an initial intimation without delay and a detailed report within 72 hours of you becoming aware, unless the Board allows more time.

Seventy-two hours is not enough time to invent a process. Write it down now:

  1. Detect: alerts for unusual access, exports and failed logins, reviewed by a named person.
  2. Contain: runbooks to revoke keys, rotate credentials and isolate systems.
  3. Assess: whose data, which fields, how many people, since when.
  4. Notify: templates for the Board and for users, with owners for approval.
  5. Record: a timeline of every decision, for the detailed report and later review.

Practise once a year with a tabletop exercise. The first time your team reads the runbook should not be during a real incident.

Step 7: Delete data when its purpose is served

The Act requires you to erase personal data when the person withdraws consent or when it is reasonable to assume the purpose is no longer being served, unless another law requires you to keep it. Processors must delete it too.

For certain large platforms, the Rules add a specific schedule: e-commerce entities, online gaming intermediaries and social media intermediaries above set user thresholds must erase data after three years of inactivity, and warn the user at least 48 hours before. Smaller businesses do not have a fixed number, but they still need defined retention periods and a working deletion process.

Make retention executable rather than a policy nobody runs:

// Nightly job: delete enquiry leads with no activity for 24 months.
export async function purgeStaleLeads(now = new Date()) {
  const cutoff = new Date(now);
  cutoff.setMonth(cutoff.getMonth() - 24);

  const stale = await db
    .collection('leads')
    .find({ lastActivityAt: { $lt: cutoff }, legalHold: { $ne: true } })
    .project({ _id: 1, email: 1 })
    .toArray();

  for (const lead of stale) {
    await db.collection('leads').deleteOne({ _id: lead._id });
    await crm.deleteContact(lead.email); // processors must erase too
    await logPersonalDataAccess({
      actorId: 'retention-job',
      action: 'delete',
      subjectId: String(lead._id),
      resource: 'leads',
    });
  }
  return stale.length;
}

Remember backups. You usually cannot edit a backup, but you can set backup retention so deleted data ages out within a known period, and make sure restores re-apply deletions.

Step 8: Support data principal rights

Users can ask for a summary of the personal data you process about them and the processing activities, the identities of other fiduciaries and processors you shared it with, correction and completion of their data, and erasure. They can also nominate someone to exercise their rights if they die or become unable to.

You must also offer a grievance redressal mechanism, and the Rules expect grievances to be resolved within 90 days. Publish the contact details of a person who can answer questions about processing, typically on your privacy page.

The cheapest way to handle requests is to build them into the product:

  • A "Download my data" button that exports what you hold in a readable format.
  • Editable profile fields for correction.
  • A "Delete my account" flow that triggers the same erasure job as retention.
  • A privacy request form for anything else, with a ticket ID and tracked deadline.

Verify identity before acting. A deletion or export request is also a social engineering opportunity.

Step 9: Handle children's data with extra care

Under the Act, a child is anyone under 18. Before processing a child's personal data, you need verifiable consent from a parent or lawful guardian. You must not process data in ways likely to harm a child's wellbeing, and you must not track, behaviourally monitor or target advertising at children.

The Rules describe how verifiable parental consent can work, including checking the parent's identity and age through reliable details already held or through government-backed digital tokens. Some categories, such as healthcare and education providers, have limited exemptions for specific purposes.

If your product is not meant for children, say so, ask for age at signup where relevant, and avoid collecting data from users who declare they are under 18. If your product is for children, such as an edtech or gaming app, treat parental consent and the tracking ban as core product requirements from the first design.

What a typical website or app needs to build

Here is how the obligations map to concrete work for a common product: a marketing site with forms and analytics, plus a logged-in app.

ObligationMarketing websiteLogged-in web or mobile app
NoticeShort notice under each form, full privacy pageNotice at signup, versioned and linked from settings
ConsentOpt-in banner for analytics and marketing tagsPer-purpose toggles for marketing and optional features
WithdrawalAlways-visible privacy choices linkSettings page toggles that stop processing immediately
SecurityTLS, form spam protection, secured CRMEncryption, access control, MFA for staff, one-year logs
BreachContact list and template for form dataFull incident runbook and notification templates
RetentionLead retention job and CRM cleanupAccount and inactivity retention jobs, backup ageing
RightsRequest form with tracked deadlinesExport, correction and delete in the product
ChildrenAge statement if not for minorsAge gate or parental consent flow if minors can use it

Small teams can do most of this in a few focused sprints. The common trap is treating it as a legal document task, when most of the work is in code, data and vendor configuration.

Penalties at a glance

The Schedule to the Act sets maximum penalties per instance:

Breach of obligationMaximum penalty
Failing to take reasonable security safeguards₹250 crore
Failing to notify the Board or users of a breach₹200 crore
Breaching obligations about children's data₹200 crore
Breaching additional duties of a Significant Data Fiduciary₹150 crore
Breaching any other provision of the Act or Rules₹50 crore

The Board decides the actual amount based on factors such as the nature, gravity and duration of the breach, whether it was repeated, and what you did to mitigate it. Documented, working processes are your best evidence that you took the obligations seriously.

Common mistakes to avoid

  • Copying a GDPR cookie banner and stopping there. The banner is one piece. Notices, deletion, logs and breach response matter as much.
  • Consent that does nothing. Clicking decline must actually stop analytics and marketing scripts, which you can verify in the browser's network panel.
  • Forgetting processors. Your email tool, CRM, analytics and support desk all hold personal data and must follow your instructions.
  • Logs full of personal data. Request bodies, emails and phone numbers in logs create a second store that also needs protection and deletion.
  • No retention periods. "Keep everything forever" fails the purpose limitation test.
  • Staging copies of production. Real customer data in test environments, with weaker access control, is a common breach source.
  • Waiting for May 2027. Vendor changes and data cleanup take longer than the code.

Production checklist

  • Data inventory exists, lives in the repository and is reviewed with feature changes.
  • Short notices appear at every point of collection; the full notice is versioned.
  • Notices are available in English and your key Indian languages.
  • Consent is opt-in, per purpose, recorded with notice version and timestamp.
  • Withdrawal is one click away and stops processing in your app and at processors.
  • Analytics and marketing scripts load only after consent.
  • Encryption in transit and at rest, least-privilege access and staff MFA are in place.
  • Access to personal data is logged and logs are retained for at least one year.
  • Breach runbook, contacts and notification templates are written and rehearsed.
  • Retention periods are defined and enforced by scheduled jobs, including at processors.
  • Users can export, correct and delete their data, and grievances are tracked to 90 days.
  • Children's data rules are handled with age statements or parental consent.
  • Vendor contracts include security and deletion obligations.

Conclusion and next steps

The DPDP Act turns privacy from a policy page into product behaviour. Most of the work is ordinary engineering: knowing where data lives, asking for consent properly and honouring it, securing and logging access, deleting on schedule, and being ready to report a breach in 72 hours. None of it is exotic, but it touches many systems, which is why starting before 2027 matters.

Begin with the data inventory this week. It will show you which flows need consent, which vendors need new contracts and which old data you can simply delete. Then work through the checklist one release at a time.

If you want help, our team can run a DPDP readiness review of your website or app, then build the consent, logging, retention and rights features it needs. Tell us about your product and the data it handles, and we will propose a practical plan.

Sources

Frequently Asked Questions

When does the DPDP Act come into force for businesses?

The DPDP Rules were notified in November 2025 with a phased start. Consent manager rules apply from about November 2026, and most obligations for businesses, including notice, consent, security, breach reporting and deletion, apply from about 13 May 2027.

Does the DPDP Act apply to small businesses and startups?

Yes. There is no general size exemption for businesses. The government can exempt certain classes of fiduciaries, including startups, from some obligations by notification, so check current exemptions, but plan to comply.

The Act does not mention cookies by name, but analytics and advertising cookies process personal data and usually need consent. An opt-in banner that actually blocks those scripts until the user agrees, with easy withdrawal, is the practical way to meet the consent rules.

How quickly must a data breach be reported?

Affected users must be informed without delay. The Data Protection Board must receive an initial intimation without delay and a detailed report within 72 hours of the business becoming aware of the breach, unless the Board allows more time.

How long must logs be kept under the DPDP Rules?

The Rules require logs and relevant personal data to be retained for at least one year for detecting and investigating unauthorised access, unless another law requires a longer period.

Is the DPDP Act the same as GDPR?

They share ideas such as consent, purpose limitation and user rights, but they differ in detail. The DPDP Act has fewer lawful bases, defines a child as under 18, uses consent managers, and has its own breach and retention rules. GDPR compliance helps but does not guarantee DPDP compliance.

About the author

Deepak Rajput

Founder and CEO of SoftwareCrafting

Deepak Rajput is the Founder and CEO of SoftwareCrafting in Delhi and writes about web, mobile, backend, cloud, security, and engineering leadership.

Writes about Next.js, Node.js, React Native, PostgreSQL, AWS, Kubernetes.

View author profile

Last updated: 2026-11-27