Skip to content
By digital identity

Digital Privacy: Securing Consumer Privacy With LoginRadius

What I learned about consumer privacy from building LoginRadius, and the controls every CIAM platform should expose by default.

Digital Privacy: Securing Consumer Privacy With LoginRadius, by Deepak Gupta on guptadeepak.com

Consumer privacy is not a feature you add at the end. It is the shape of your data model. I learned that the hard way at LoginRadius, where we spent the first few years rewriting our schema to make consent, deletion, and portability first-class operations rather than afterthoughts.

This post is what I would tell a founder building a consumer-facing product today about privacy, distilled from what we shipped at LoginRadius.

Privacy is a contract, not a setting

Every piece of personal data your product holds answers four questions: who collected it, when, for what purpose, and with what legal basis. If your database cannot answer all four for any given row, you do not have privacy. You have a liability.

At LoginRadius we built a consent ledger that recorded each consent event with timestamp, IP, version of the policy shown, and the specific purposes the user agreed to. Without that ledger, GDPR Article 7 (demonstrating consent) is impossible to honor.

The controls that actually matter

The privacy regulations come and go (GDPR, CCPA, LGPD, India's DPDP Act, China's PIPL), but the underlying controls are stable. A CIAM platform needs to expose:

  • Granular consent capture and revocation, per purpose, with full history.
  • Data subject access requests answered programmatically, not over email.
  • The right to be forgotten implemented as a true delete, with cascade through downstream integrations and a verifiable receipt.
  • Data portability in a machine-readable format, not a PDF.
  • Purpose-bound encryption so that even with a database compromise, attackers cannot trivially correlate identities across contexts.

Where most products fail

The common failure mode is treating privacy as a legal exercise. Compliance teams write a policy, engineering bolts on a cookie banner, and nobody owns the actual data flow. Six months later a user files a deletion request and the company discovers their data is mirrored in three analytics tools and a CRM with no way to revoke it.

The fix is structural. Privacy needs an owner in engineering, not just in legal. At LoginRadius we made every microservice declare what personal data it touched and for what purpose, and the build would fail if a service tried to read a field it had not declared. That kind of guardrail is what makes the difference between a privacy policy and actual privacy.

Security and privacy are different problems

This is the part most companies get wrong. Security keeps the data safe from people who should not see it. Privacy limits what you collect, what you use it for, and how long you keep it, even from people who could see it.

You can have flawless security and terrible privacy (collect everything, encrypt it perfectly, then use it however you want). You can also have great privacy and weak security (collect minimum data, then lose it in a breach). A serious consumer product needs both, and they live in different parts of the stack.

What LoginRadius did

We treated privacy controls as platform primitives: consent objects, retention policies, deletion workflows, and consent-aware token issuance lived inside the core API, not in a separate compliance module. Customers could turn knobs without rewriting their app. That decision, more than any single feature, is what let LoginRadius hold consumer identities for regulated brands across thirty-plus jurisdictions.

Privacy done well looks invisible. Privacy done poorly shows up in headlines.

Get the newsletter

New writing on identity, AI security, and building software, delivered when it ships. No tracking pixels, no funnels, unsubscribe with one click.