Riti EnterpriseOn Shopify? Get the Shopify app →
Riti Enterprise
Security — For your review Isolation · Keys · Photos · Compliance

Your shoppers, your walls.

Every tenant has its own keys, its own data, its own quotas and its own webhooks. The database refuses another tenant’s rows on every query. This page lists what ships today and what is still on the roadmap, kept separate so your review starts from facts.

A shopper’s own photo, plain wall, grey t-shirt and jeans
Her photo — Used for the try-onNo account needed
Access

Keys that know their place.

The browser only ever holds a publishable key or a short-lived session token. Secret keys stay on your servers.

  • Four keys per tenantPublishable and secret, each for test and live. Stored as SHA-256 hashes and shown once.
  • Rolling and revokingRoll a key and the old one keeps working for a grace period (24 hours by default). Revoke ends it at once.
  • Origin allowlistA publishable key works only from the hosts you list. A request with no browser origin is refused, and a tenant with no origins listed is refused everywhere.
  • Session tokensSigned by your backend’s secret key, valid for one to sixty minutes, optionally pinned to one origin. A tenant can require them for every caller.
  • Bot protectionOptional Cloudflare Turnstile checks before a render.
  • The consoleInvite-only accounts with owner, developer and viewer roles. Passwords hashed with scrypt, sessions stored hashed, CSRF and origin checks on every change.
  • The SDKExact releases are immutable and published with subresource-integrity hashes, so your page can refuse a modified file.
Isolation
Tenancy

The boundary lives in the database.

Tenant requests run as a restricted Postgres role with the tenant and mode set on the connection. Row-level security then filters every table, so a query that forgets its filter still returns only your rows.

  • Row-level security on every tenant tableA test fails the build if a tenant-scoped table lacks a policy, and integration tests prove the policies against a real Postgres.
  • Test and live never mixEvery shopper and usage row carries its mode, taken from the key or token. Test renders use the real engine, are never billed and have their own daily cap.
  • Tenant-prefixed storageRendered looks are stored under t/<tenant>/<mode>/looks/, so one tenant’s files never share a path with another’s.
-- every tenant request, before the first query
SET ROLE riti_app;
SET app.tenant_id = '…';
SET app.livemode  = 'true';

-- then, on every tenant table
USING (tenant_id = current_setting('app.tenant_id')
   AND livemode  = current_setting('app.livemode'))

Illustration of the policy shape, simplified

Limits

A viral week stays a good week.

Caps are reserved before the render provider is called, so they hold across any number of API instances.

  • Atomic quotasDaily and billing-period caps, reserved with a conditional increment and returned only if the provider was never called.
  • Rate limitsLimits are set per tenant, so one tenant’s traffic never eats into another’s.
  • Provider fallbackRenders can fall back across providers. A circuit breaker pauses a provider that is failing instead of retrying it into the ground.
  • Failed rendersNever billed.
Webhooks

Safe to send, safe to receive.

  • SignedHMAC-SHA256 over the timestamp and the raw body. Reject anything older than five minutes.
  • Encrypted secretsEndpoint signing secrets are stored with AES-256-GCM.
  • Public HTTPS onlyPrivate, loopback, link-local and internal addresses are refused on the resolved address, which also defeats DNS rebinding. Every request has a hard deadline.
  • ReliableRetried with backoff, deduplicated by envelope ID, and redeliverable from the console.
The shopper wearing the cropped linen jacket in a single try-on
A try-on — Cropped linen jacketRendered by Riti
Privacy

Careful with her photo.

Shoppers never create an account with Riti. These are the rules the widget follows on your pages.

  • One purposeA shopper’s photo is used to render their try-on.
  • On their deviceThe fitting room and recent photos stay in the shopper’s own browser, with a “Forget” control beside the photos.
  • Consent to saveSaving a look takes an email and an explicit consent tick. Riti sends no email; your backend receives look.saved and you decide.
  • Hashed identifiersIP addresses used for abuse controls and emails used for matching are stored as salted hashes.
  • DeletionWe delete a shopper’s saved looks and images on request.
  • Data-request APISelf-serve export and delete by email or shopper reference, with retention set per tenant.
Compliance

Built on SOC 2 compliant infrastructure.

The platform runs on SOC 2 compliant infrastructure. Hosting, Postgres and object storage run on Railway, which holds a SOC 2 Type II report. Rendering runs through Google Cloud. Production secrets live in a dedicated secrets manager and never in source code.

  • Hosting and dataRailway, SOC 2 Type II. Postgres has no public endpoint.
  • RenderingGoogle Cloud.
  • Security overviewAsk us for the current overview and the answers to your questionnaire.
  • SSOSAML and OIDC sign-in for the console.
  • Audit logA record of who changed what in the console.
  • Standard DPAA data processing agreement template.
  • Data residencyPer-region storage and API deployments.

Running a vendor review? Get in touch and we’ll send the security overview and walk your team through tenancy and photo handling.