Security and encryption
How your data is stored and encrypted, what protects files and keys, which settings you control, and the upload size limits.
This page describes how Alya Books protects your organisation's data and which security settings are in your hands. It is written for owners, admins and the people who answer security questionnaires.
Where your data lives
- Data is stored on Supabase-managed Postgres and storage, encrypted at rest with AES-256 and in transit with TLS 1.2 or later.
- API keys are stored hashed: the key is shown once when it is created and cannot be read back. Webhook signing secrets are stored encrypted.
- Uploaded files (received invoices, attachments, logos) live in private storage buckets, one per organisation, with row-level security on the organisation folder. Nobody outside your organisation can list or read them.
- Received originals are never replaced. A new upload is a new file, and members cannot delete the original.
- Uploaded files are not yet scanned for malware; this is planned.
Steps you control
- Turn on two-factor login for your own account under Settings → My account → Security, and require it for the whole company under Settings → Team → Two-factor login (owner only). See Two-factor login.
- Give API keys the smallest scopes they need and an expiry date on the API access page; revoke keys you no longer use.
- Restrict who can delete invoices, manage API keys and manage webhooks under Settings → Team → Permissions.
- Review the Audit log under Compliance when you need to know who changed a record and from which channel.
Upload size limits
| Upload | Maximum size |
|---|---|
| Journal entry attachment | 25 MB |
| Incoming invoice upload | 20 MB |
| Embedded attachment on an invoice | 10 MB |
| Company logo | 2 MB |
| ERP message | 2 MB |
Good to know
- Sensitive actions (bank details, API keys, member roles and permissions, lock dates, reopening a filed VAT return, the company 2FA setting) ask for a fresh two-factor code from the last 15 minutes.
- Audit log rows cannot be edited or deleted, so the trail stays complete.
- For questions not answered here, write to support@alyabooks.ai.