Security
How Couriffic keeps your data safe.
Plain facts about how Couriffic is built: how sign-ins work, who can see what, how each company's data is kept apart, and where it's kept. Everything here is how the product works today.
Encrypted Connections
- Couriffic is served over HTTPS, so what you type and see travels encrypted.
- Sign-in cookies are marked HttpOnly (page scripts can't read them) and SameSite, and Secure when the connection is HTTPS, so they're only sent back to Couriffic.
- Every change has to be sent as JSON, which stops other websites from quietly posting forms into your account.
Passwords and PINs
- Passwords are never stored. Couriffic keeps only a scrypt hash of each one, with its own random salt. Messenger PINs are kept the same way.
- Passwords need at least 8 characters.
- Five wrong tries in a row lock that sign-in for 15 minutes, only on the device they came from, so nobody can lock someone else out. Twenty wrong tries from one network stop that network for 15 minutes.
- Signing in with an email that has no login takes as long as a wrong password, so the answer doesn't give away who has an account.
- A password reset link works once, for one hour, and only its hash is kept. At most 3 are sent per login per hour. Setting a new password with one signs that login out everywhere.
- Where it's switched on, office staff and client logins can also sign in with Google, Apple or Microsoft. Couriffic receives only their name and email, never their Google, Apple or Microsoft password, and it only signs in a login that already exists for an email the provider has verified.
Sessions
- Each sign-in gets a random 256-bit session token, kept in a cookie.
- Sessions last 90 days and renew themselves while in use, so the office signs in once per computer. Signing out ends the session on the server.
Email Confirmation Codes
- A new office login types a 6-digit code emailed to it before it can use the office (when the server can send email).
- The code works for 15 minutes and for 5 tries, and only its hash is kept.
- Staff can instead be invited by email; the invite link lets them set their own password and confirms the address.
Roles and Permissions
- Each person has their own login with a role: Owner, Manager, Dispatcher, Back Office or Custom.
- Dispatchers, back office and custom logins only reach the sections their role allows, and only see messenger pay with the Messenger Pay permission.
- Office Staff and Connections are for owners and managers only.
- These rules are checked by the server on every request, not just by hiding buttons.
Each Company's Data Kept Apart
- One Couriffic server runs many courier companies. Every record carries its company, and every request is limited to the company of whoever is signed in.
- Messengers and client portal logins only ever see their own company's work, and a client portal login sees only that client.
- Automated tests check that one company can't see or change another's records.
Activity Log
- Sign-ins to the office, the messenger app, the client portal and the owner app are written to an activity log: when, who, which app, the IP address and the kind of device, including wrong passwords and lock-outs. Passwords and PINs are never written down.
- Changes are written there too: who made the change, what changed (before and after), and when. Settings changes never record keys or passwords, only that keys changed.
- Exports, backups, CSV downloads, invoice PDFs and printed lists are recorded as well.
- Owners and managers can search and filter it in Settings ▸ Plan & Data ▸ Activity Log, and download it as a CSV. Entries are kept for 2 years.
Nightly Backups
- Every night after 2am, the server backs up the whole database in one consistent snapshot, compressed. The last 14 are kept on the server.
- When off-site storage is set up, a copy of each backup is also sent there (any S3-style storage), so a copy survives even if the host loses everything.
- Restoring is done in one step: if anything goes wrong, nothing changes. The automated tests restore a backup into a fresh database and check that every table comes back exactly.
Card Numbers Are Never Stored
- Card payments go through the courier's own card processor (Stripe, Authorize.Net, Square or PayPal Braintree), and the money goes straight to the courier's account with them.
- Cards are typed into the processor's own secure form. Couriffic never sees or keeps a card number: it keeps only the card's brand, last 4 digits, expiry and name, and the processor's reference to the card.
Keys and Secrets
- API keys are shown once; Couriffic keeps only a hash of each, and a key can be limited to one client or turned off at any time.
- Card processor keys and webhook secrets are kept on the server. The Settings screens only ever show a shortened, masked form of a saved key.
- Webhooks are signed (HMAC-SHA256) and only go to public https addresses, never to private networks.
Where Your Data Is
- The app and its PostgreSQL database run on Render, in its Virginia (US East) region, in the United States.
- The database only accepts connections from the app; it can't be reached from the internet.
Report a Security Issue
Think you've found a security problem? Please email security@couriffic.com with what you found and how to see it. We'll reply, keep you posted while we fix it, and ask that you give us time to fix it before telling anyone else. Please don't look at, change or delete other people's data while testing.