Security

Your rates don't leave the yard.

A rate sheet is a competitive secret. A signed ticket is a record someone gets paid on. Pit & Rig is built to guard both, and this page says exactly how, in the order a vendor questionnaire asks. Where the honest answer is “not yet,” it says that too.

Checked on the server
Every request, every record. Changing a URL changes nothing.
Prices stay in the office
Foremen and operators are never sent a rate, total or invoice.
Signed means sealed
Each signed ticket is hashed and frozen. Tampering shows.
Backed up daily
Kept 8 weeks, plus point-in-time recovery for the last 7 days.
You hear about it
A sign-in from a new device, a new password or a change to two-factor emails you at once.
Tested on every change
Nearly 80 attack-style test suites and a walk-through in two browser engines.

Who can see what

A contractor's rate sheet is a competitive secret, and a PO value tells a competitor what a job was worth. Isolation between companies is the property we guard hardest.

Your company is written into your session by our servers at sign-in and never taken from a request. Changing an ID in a URL doesn't change who you are: every route looks up who owns a record in the database before it returns or changes anything. Browsers can't read or write the database directly; every request goes through the server, which checks your company and your role first.

Inside a company, roles decide what reaches the screen. Foremen and operators build tickets from a rate sheet they never see: the server doesn't send them rates, line totals, invoices or budget figures, so there is nothing to screenshot and nothing to take to a competitor. The help assistant follows the same rule. Clients see the money they're approving, and nothing of anyone else's.

Signed records

When a ticket is signed we hash its commercial facts (lines, quantities, rates, total) and freeze the PDF. Both are stored with the signature. If anything changes afterwards, a freshly computed hash no longer matches and our integrity checks flag it.

Every signed document carries a QR code to a public verification page showing the frozen snapshot: the total as signed, not as it stands today. Anyone holding a printed copy can check it without an account.

No route in the system edits or deletes a signature. Before the client approves, the contractor can void their own signature to fix a mistake: it stays on file marked void, with the reason, and the ticket needs a fresh signature. A client who approves in error posts a reversal: a new, audited record. The original approval stays on file.

Approval means what was on the screen

An approval is tied to the exact ticket the approver was looking at. When they press approve, we check that the lines, rates, total and core photos are still the ones on their screen. If anything changed after they opened it, the approval is refused and they're shown the new version. Nobody can slip a change in between "looks right" and "approved".

Approval links

Clients can approve a ticket from a link, without an account. Those links carry prices, so only a company's owners and admins can send one, and never to someone inside their own company.

Each link is a long random token. We store only its hash, so even a copy of our database can't be turned back into working links. Links expire after 72 hours by default (never more than 7 days), and sending a new one for a ticket shuts the old one off.

Sign-in and sessions

Sign in with email and password, or with your company's Microsoft or Google account (see single sign-on, below). Two-factor sign-in uses an authenticator app, which works with no signal: a foreman at the end of a haul road isn't locked out because he can't receive a text.

Sessions are server-issued, httpOnly, secure cookies, re-verified on every request. Suspend or remove someone and they're signed out everywhere immediately, not when a token runs out, and they stop receiving emails and texts.

Our own administration console sits behind an allowlist, an active staff record and two-factor sign-in. Our staff can't sign in as you: there is no "log in as a customer" feature.

We tell you when something changes

Your account emails you as soon as someone signs in from a phone or computer it hasn't seen before, when the password changes, and when two-factor sign-in is turned on or off.

Every one of those emails has a "This wasn't me" button. One press signs out every device on the account, stops the old password working, emails a link to set a new one, and tells our staff. If someone added their own authenticator app, it comes off too, but only when the button is pressed from a phone or computer you'd already used. Someone who only has access to your inbox can't use the button to turn your two-factor off.

Built against impersonation

Fake invoices and invitations are how construction and resource companies get robbed. Every invitation and invoice we email says who really sent it: the person, their email address, their company, how long that company has been on Pit & Rig, and whether it's on a free trial.

New companies are checked for names and email domains that imitate real ones. When something looks wrong, the email carries a plain warning telling the recipient to call the company on a number they already have.

If the payment details on an invoice differ from the last invoice that company sent you, the email says so. A changed bank account is the classic sign of invoice fraud.

Names and notes that reach another company can't carry links, email addresses or phone numbers, and nobody but us can use the Pit & Rig name. Our emails can't be made to carry somebody else's phishing.

If a company is caught impersonating someone, we can put it on hold in one step: its people are signed out within the minute, nothing more goes out in its name, and the links it already sent stop opening.

Single sign-on

Your office and crews can sign in with the work accounts they already have: Microsoft 365 (Entra ID) or Google Workspace. No separate Pit & Rig password to create, reuse or forget.

Your IT department's rules come with it. The sign-in happens at Microsoft or Google, so your own multi-factor requirements, conditional access and password policies run before the request ever reaches us. We receive a verified identity, never a password.

A work account on its own opens nothing. Nobody joins your company in Pit & Rig until someone in it has invited that address.

When someone leaves, disabling their Microsoft or Google account stops them signing in again. To end a session that's already open, suspend or remove them in Pit & Rig: that signs them out everywhere at once. No session lasts longer than five days.

Financial controls

Money is stored and totalled as integer cents. Where a multiplier makes a fraction of a cent (overtime at 1.5×, part of a rental day), it's rounded to the nearest cent, and inputs are checked against strict formats that reject negative charges, scientific notation and fractions of a cent.

Approvals, invoicing and budget drawdown run inside database transactions that re-read before they write. Two people approving the same ticket at the same moment get one approval and one refusal, never a double count.

An owner can soft-close a month (overrides need a recorded reason), then hard-lock it. A locked month has no override path for anyone, including us.

Every change that matters goes in an audit trail: who made it, when, what it was before and after, and where the request came from.

Where your data lives

The database, sign-in and file storage run on Google Firebase. The database is in Google Cloud's United States multi-region. The application is hosted on Vercel. Data is encrypted in transit (TLS) and at rest by those providers.

The database is backed up every day and each backup is kept for 8 weeks. Point-in-time recovery lets us restore it to any moment in the last 7 days, and delete protection stops the database itself from being removed by mistake.

If you stop paying, nothing disappears overnight: your records stay readable and exportable for 180 days. After that the account is archived, not wiped: we can restore it.

Payments go through Stripe. We never see or store a card number.

Hardening

HTTPS is enforced on every page, a content security policy limits what pages can load, and no other site can frame ours to trick a click.

Uploaded photos and signatures are identified by their contents, never by their file name, and are refused if they declare an image too large to process safely.

Crew sign-on codes, invitations and contact forms are rate-limited across every one of our servers, and per network as well as per address, so spreading guesses across many requests or many addresses doesn't get around the limit.

Requests are size-capped and checked before any work is done, so no single request can tie up a server. Forms posted from another website are refused.

Notifications from Stripe and Twilio are only accepted with a valid cryptographic signature. Spreadsheet exports neutralise any cell that would run as a formula when the file is opened.

How we test it

Our test suite is written to break things. It fails the build if a route reads a field nobody writes, if a financial control is enforced on one path and missing from another, if two pieces of code that compute money drift apart, or if a storage rule grants access on sign-in alone rather than ownership.

Before launch, every area of the application was reviewed on the assumption that it was broken. Each issue found was confirmed by a second reviewer, fixed, re-checked and covered by a test so it can't quietly come back. We did it again in October 2026, area by area: isolation between companies, public links and sign-in, roles, uploads and injection, and billing.

Every change to the app runs nearly 80 of those test suites, then walks through the app the way people use it, in Chrome and in Safari's engine on desktop and phone-sized screens.

Questions worth asking any software vendor

Can your staff sign in as us? No. There's no "log in as a customer" feature.

Do field crews receive our prices? No. The server never sends them.

Can a signed record change without anyone knowing? No. It's hashed and frozen, and anyone can check a printed copy against the original.

Can a ticket change between the approver reading it and approving it? No. The approval is refused.

Will we hear about a sign-in from a new device? Yes, by email, with a one-press lockdown.

Is a changed bank account on an invoice flagged? Yes, in the email that delivers it.

Could a stolen copy of your database be used to approve a ticket or open an invoice? No. Approval and invoice links are stored only as fingerprints, never the links themselves.

Can a removed employee keep working from an old session? No. They're signed out everywhere when you remove them.

What we don't have yet

No SOC 2 or ISO 27001 certification. We're a small company and haven't been through that audit. If your procurement process requires one, tell us; it changes our priorities.

Have a questionnaire?

Send it. We'll answer every line directly, including the ones where the answer is no. Found a security problem? Email security@pitandrig.com. Got an invitation or invoice that claims to be from us and looks wrong? Report it here.

info@pitandrig.com
Page one of the Pit & Rig Fieldbook overview: The work is done. So why aren’t you paid yet?
FREE PDF2 PAGES · 320 KB
THE FIELDBOOK OVERVIEW

The whole pitch.
Two pages.

Where field-ticket money leaks, how a ticket goes from the field to paid, and what it costs. Five minutes to read, no sales call.

  • Where your money leaks, and the fix
  • From the field to paid, in four steps
  • What’s built in, and what it costs