Legal & trust
Security & data protection
Last updated 30 November 2026
Organisation isolation
Every business record belongs to one organisation. PostgreSQL row-level security policies enforce that users read and write only records of organisations where they hold an accepted membership. Cross-organisation references (for example, a farm pointing at another organisation's supplier) are rejected by database triggers. Hiding a button is never the security mechanism.
Role-based access control
- Roles: Super Administrator, Organisation Administrator, Procurement Manager, Farm Manager, Quality Inspector, Field Officer, Analyst, Viewer and Supplier.
- Procurement approvals are restricted to organisation administrators (separation of duties).
- Supplier accounts see only their own supplier record, the requests assigned to them and their own deliveries.
- Users cannot change their own platform role; administrators cannot remove the last administrator.
Authentication and sessions
- Email and password sign-in with email confirmation, password reset and invitation flows.
- Sessions are held in HTTP cookies and refreshed server-side; protected routes redirect unauthenticated visitors.
- Invitations can be accepted only by the invited, email-confirmed account.
Secrets
API keys for Azure services and the database service key are read only by server-side modules that cannot be bundled into browser code. Map tiles are fetched through a server proxy so the map key never reaches the browser. Only the public database URL and its public (row-level-security-protected) key are sent to browsers.
Files
- Inspection photos and documents are stored in private buckets, in folders scoped to the organisation, and served through short-lived signed links.
- File types and sizes are restricted (images up to 10 MB; documents up to 20 MB).
Application safeguards
- Input validation in forms and again on the server; database constraints as the final check.
- Parameterised queries through the database API (no string-built SQL), and React output escaping against XSS.
- Same-origin checks on state-changing API requests; rate limits on the AI assistant, image analysis, invitations and the public contact form.
- Security headers including X-Frame-Options, X-Content-Type-Options and Referrer-Policy.
- Audit logging of every create, update and delete on business records, visible to organisation administrators.
- Error monitoring that scrubs email addresses, tokens and keys before anything is sent.
AI and your data
The AI assistant receives a compact summary of your organisation's records — never whole tables and never another organisation's data. Every automated inspection result requires human review. See Technology & AI.
Reporting a vulnerability
Please report suspected security issues through our contact form with the subject “Security”.