Compliance

Phase 1, Phase 2, then keep it running

A fixed-price gap analysis, remediation through to your audit, and upkeep after it. All in a workspace you keep.

All compliance
Security

Find it before a buyer does

Testing, assessments and security leadership, run by the researcher who found the Mirai botnet kill switch.

All security
Industries

Prove you are secure

To the people you sell to, raise from or answer to.

All industries
Resources

Learn the space

Original research, free tools and plain-language guides, from a published security researcher.

Read the blog
Security

Security for Two-Sided Marketplaces: Protecting Both Sides' Data

On this page, 10 sections
  1. Why marketplace risk is bigger than your headcount
  2. Map the data on each side before you protect it
  3. Authorization between the two sides
  4. Keep the riskiest data off your systems
  5. Reveal personal details only when the transaction needs them
  6. Protect the supply side from account takeover
  7. Inside the company: who can see both sides
  8. Vendors hold both sides' data too
  9. Retention and deletion
  10. Common questions

Security for a two-sided marketplace means protecting two different groups of people whose data you hold, and the trust between them. In practice that comes down to five things: strict authorization so neither side sees what it should not, keeping payment and identity data off your own systems where you can, revealing personal details only when a transaction needs them, protecting payouts from account takeover, and deleting data on a schedule.

Marketplaces are often treated as ordinary consumer apps with an extra user type. They are not. A two-sided platform holds sensitive data about both sides, connects strangers, and usually moves money from one group to the other. Each of those adds risk that a single-sided product does not have, and an early-stage team with no security staff tends to underestimate it because the headcount is small. This guide covers where the risk sits and what to do about it at the startup stage.

Why marketplace risk is bigger than your headcount

Take a real example. In our fractional CISO engagement with an early-stage aviation marketplace, the platform connected passengers who wanted to fly in a small aircraft with young pilots building flight hours. On the passenger side it held names, contact details, payment information and travel plans. On the pilot side it held licences, medical certificates, logbooks and identity checks. Between them sat bookings, schedules and locations.

That is a lot of sensitive data for a company of under twenty-five people. The same pattern shows up in almost every marketplace: home services, tutoring, rentals, freelance work, care services, ride-sharing. The supply side usually goes through some kind of verification, which means identity documents. The demand side usually pays, which means payment data. And the transaction itself usually reveals where someone will be and when.

The lesson from that engagement applies broadly: plan for the data you hold, not the size of your team.

Map the data on each side before you protect it

Start with a simple table: one column for each side of the marketplace, one row per category of data. For each cell, write down where the data is stored, who inside the company can see it, which vendors receive it, and how long you keep it.

The categories usually look like this:

  • Account data: names, email addresses, phone numbers, profile photos.
  • Verification data: government ID, professional licences, certificates, background check results.
  • Financial data: card details on the buyer side, bank account details for payouts on the supply side.
  • Transaction data: bookings, messages between the two sides, reviews, disputes.
  • Location and schedule data: addresses, meeting points, times, travel plans.

This table is short to write and it changes most of the decisions that follow. It also becomes the first thing you can show a partner who asks how you protect customer data.

Authorization between the two sides

The most common serious flaw in marketplace applications is broken authorization: a user on one side can read or change data that belongs to someone else by changing an ID in a request. A buyer views another buyer's booking. A provider pulls the contact details of customers they never served. A user edits a listing they do not own.

These flaws appear because marketplaces have more relationships to check. It is not enough to know that a user is logged in. Every request has to answer whether this particular user is allowed to see this particular record, given their side of the marketplace and their relationship to the transaction.

  • Check ownership or participation on the server for every object, every time. Never rely on the front end hiding a button.
  • Use separate permission logic for each side rather than one generic user role with flags.
  • Put authentication on every new endpoint before release. In the aviation marketplace engagement this was part of a short checklist the contract engineers applied themselves to each new feature.
  • Test it. Authorization flaws are exactly what a good application penetration test finds. Our API security guide covers the patterns and the penetration testing guide for startups covers when to test.

Keep the riskiest data off your systems

The data you never hold cannot be breached. Two categories are worth pushing out to specialist providers almost every time.

Payment data

Use a payment processor's hosted checkout for buyers and its payout tools for the supply side. That keeps card numbers and most bank details off your servers, keeps your payment card scope to a minimum, and leaves the hardest controls with a provider built for them. This was the advice in the aviation engagement, and it is the right default for nearly every early-stage marketplace.

Identity documents

Supply-side verification builds trust, but it can quietly become the most sensitive pile of data you hold. Before you collect a single document, decide:

  • Where documents are stored, and whether a verification provider can hold them instead of you.
  • Who inside the company can view them, and whether that access is logged.
  • How long they are kept after verification succeeds or fails.
  • When and how they are deleted, including when a provider leaves the platform.

In many cases you only need the result of the check, not the document. Keep the result and let the document go.

Free weekly email

Get The Compliance Brief every Tuesday

One email a week from Jacob Masse: the security and compliance stories that changed something that week, and what each one means if you sell software to enterprise buyers. Five stories, a take on each, five minutes to read.

Free. Unsubscribe in one click, and replies reach Jacob directly. Read the latest issue or browse the archive.

Reveal personal details only when the transaction needs them

Marketplaces connect strangers, so the order in which information is revealed is a security decision as well as a product one. A sensible pattern:

  • Before a booking, each side sees a public profile: first name, rating, general area.
  • After a booking is confirmed, they see what they need to complete it: a meeting point, a time, a way to message through the platform.
  • Direct phone numbers and exact addresses are shown only when necessary, and ideally relayed or masked.
  • After the transaction ends, access to the other party's details narrows again.

Location and schedule data deserve particular care. A marketplace for flights, rides or home visits knows where people will be and when. Limit access to that data to the people and services that need it, and agree what gets logged and for how long. Location data in application logs is one of the easiest leaks to create and one of the hardest to notice.

Protect the supply side from account takeover

On most marketplaces the supply side gets paid. That makes supply-side accounts a target: an attacker who takes over a provider account can change the payout bank details and redirect earnings, or use the trusted profile to reach buyers.

  • Offer multi-factor authentication to all users and require it for anyone who receives payouts.
  • Treat a change of payout details as a sensitive action: require reauthentication, notify the user on their existing contact channel, and consider a short hold before the first payout to new details.
  • Watch for patterns such as many accounts changing payout details to the same destination.
  • Have a support process for account recovery that cannot be talked around. Our guide to identity verification before MFA resets covers that step.

Inside the company: who can see both sides

Your own staff and contractors usually have more access to marketplace data than any user does. Support needs to see bookings. Operations needs to see verification status. Engineers need to debug production.

Give each role only what it needs, keep production separate from development so test work cannot reach live data, and keep customer data out of logs. At a startup where much of the engineering is done by contractors, give contractors company accounts and make sure their access ends on their last day. In the aviation engagement, contractor offboarding was treated as the single biggest risk for exactly this reason.

Vendors hold both sides' data too

A marketplace typically sends data to payment processors, verification providers, messaging tools, analytics, email and scheduling services. Each vendor is a door into one or both sides of your user base. Review each for what data it will hold, what security assurance it can show, and what happens to the data when you stop using it. Our guide on third-party risk management covers the method.

Retention and deletion

Write down how long each category from your data table is kept, then make deletion actually happen. Old verification documents, messages from completed transactions and location history from years ago add risk without adding value. If you have Canadian users, PIPEDA expects personal information to be kept only as long as needed for the purpose it was collected for.

Common questions

What is the biggest security risk for a two-sided marketplace?

Broken authorization between users is the most common serious flaw: one user reading or changing another user's data by altering a request. Close behind are supply-side account takeover aimed at payouts, and sensitive verification documents held longer and more widely than needed.

Should a marketplace store identity documents from providers?

Only if it has to. Where a verification provider can run the check and return a result, keep the result and let the provider hold the document under its own controls. If you do store documents, restrict who can view them, log that access and delete them on a fixed schedule.

Do marketplaces need a penetration test before launch?

A focused application test before or soon after launch is worth it for most marketplaces, because authorization between two user types is hard to get right and easy to test. At the very least, build authentication and object-level checks into a pre-release checklist for every feature.

Who should own security at an early-stage marketplace?

One named, accountable person. At companies with no security staff, that is often a fractional CISO who makes the decisions on payments, verification, vendors and access and answers partner security questions as they come in.

If you run a marketplace and want a second opinion on how you protect both sides, book a free call. We will tell you where your real exposure is and what to fix first.

Running a marketplace with no security staff? Our fractional CISO service starts from $2,500 a month.

See the fractional CISO serviceOr book a free call

Before you go

Want the rest of this by email?

If this was useful, I send a few short notes on security posture. Unsubscribe in one click, and replies reach me directly.

From Jacob Masse, Principal of TrazTech: the files by email, then a few short notes over the next month. No spam, unsubscribe in one click.