This page describes the security controls that are actually implemented and active in the Clarity Workflow platform. We only state what we can back up. Where features are still being rolled out, we say so clearly. If you have a question not answered here, contact us.
Account & Access Control
Team Members by Invitation
A firm signs up itself, and its owner then adds each team member with a secure invitation link sent to that person's email address. Nobody can join a firm without an invitation from it.
Strong Password Requirements
Passwords must meet complexity requirements — minimum 8 characters with uppercase, lowercase, numbers, and special characters. Common passwords are blocked.
Two-Factor Authentication (2FA)
TOTP-based two-factor authentication is available for all accounts. Firm owners can require it for all members of their firm — any team member without it is then asked to set it up before they can continue. Backup recovery codes are provided.
Automatic Account Lockout
Accounts are automatically locked after repeated failed login attempts, with a timed cooldown period. You receive an email alert when this occurs.
Role-Based Permissions
A role hierarchy (owner, senior, user, viewer) is enforced server-side on every API request. Each role has clearly defined permissions. Privilege changes require owner approval.
Re-Authentication for Sensitive Actions
Changing a team member's role, deactivating or reactivating a member, resetting a member's two-factor authentication and creating new recovery codes require re-entry of your authenticator code.
Data Isolation & Multi-Tenancy
- Firm-scoped isolation. All client records, workflows, documents, variables, and bank analysis data are isolated by your firm. Every database query is scoped to your firm ID — other firms cannot access your data.
- Server-side enforcement, not just UI hiding. Access controls are enforced on every API request by the backend, not only in the user interface. A user cannot bypass access controls by directly calling an API endpoint.
- Strict admin separation. The site-level operator role is completely separate from firm-level roles. Admin access is verified on every request by a live database lookup — it cannot be spoofed by a valid user token alone.
- Session revocation. Sessions are tracked in a database and can be revoked immediately — by you from your Settings page, or by the administrator. Token revocation takes effect on the next API call, not just at JWT expiry.
- Client progress pages — the one view without signing in. A practitioner (owner, senior or user) can create a private link that shows one matter's progress to whoever has it, without signing in — for example a director or creditor. The firm chooses what it shows; tasks marked internal-only are never shown. Each link is a long random code and only a one-way hash of it is stored, so a lost link cannot be recovered, only replaced. Links can be given an expiry date and deactivated at any time, the pages ask search engines not to index them, requests are rate-limited, and each visit is recorded in the firm's activity history.
Data in Transit
- HTTPS enforced for all connections. HTTP requests are automatically and permanently redirected to HTTPS. There is no way to use the application over an unencrypted connection.
- HSTS with one-year max-age. HTTP Strict Transport Security is sent on every response, with a one-year max-age and includeSubDomains. Browsers that have visited the site are instructed to always use HTTPS. HSTS preload (submission to browser preload lists for first-visit enforcement) is being added as the next step.
- Modern TLS only. Connections are encrypted with TLS 1.2 or TLS 1.3, using modern cipher suites. TLS 1.3, the latest version of the protocol, is used whenever the browser supports it.
- Network protection. The application is served from our own server in Microsoft Azure, which includes Azure's built-in network-level DDoS protection. The application limits how often requests can be repeated, with stricter limits on logins, sign-ups, password resets and two-factor codes. A web application firewall is not yet in place — see Limitations below.
Data Storage & Encryption at Rest
- Application-level field encryption. Sensitive client PII fields (names, contact details, email addresses, phone numbers, and notes) are encrypted using AES-256-GCM before being stored in the database. Each value uses a unique random IV so no two ciphertexts are identical even for the same plaintext.
- Azure platform-managed disk encryption. The virtual machine hosting the application uses Azure platform-managed key disk encryption, meaning the underlying VM disk is encrypted at rest at the infrastructure level in addition to application-level encryption.
- Files stored in private Azure Blob Storage. All uploaded files (documents, bank statements, templates) are stored in private Azure Blob Storage containers. Containers are configured with anonymous access disabled, so no file can be read from storage directly. The one file the application shows to anyone is the logo a firm owner uploads for the firm's client progress pages, so that it can appear on those pages.
- Short-lived access links. When a file needs to be downloaded, a time-limited SAS (Shared Access Signature) URL is generated on-demand (15 minutes by default). The only permanent public file address is a firm's progress-page logo, if its owner has uploaded one.
- Encrypted backups. The database runs on Azure SQL Database, which backs it up automatically and supports restoring it to an earlier point in time. Backups are encrypted at rest by Azure.
File Upload & Document Security
- File type validation. Uploaded files are checked against an allowlist of permitted file types (PDF for bank statements; DOCX for document templates; XLSX or CSV for variable import). Both the file extension and MIME type are checked. Files that do not match are rejected and quarantined.
- Files are never run. Uploaded files are only ever read as the document type they were checked to be; nothing uploaded is executed on our servers. The application does not yet scan uploads for malware — see Limitations below.
-
Path traversal prevention. File names are sanitised before storage. Directory traversal patterns (e.g.
../) are stripped and blocked in both upload and download code paths. - File size limits. Upload sizes are enforced at both the application and server level to prevent resource exhaustion.
- Authenticated download only. Files can only be downloaded by authenticated users who have access to the associated client record. File access is checked server-side before any link is generated. The one exception is a firm's progress-page logo, which is public so that it can appear on the firm's progress pages.
Infrastructure & Hosting
| Component | Detail | Status |
|---|---|---|
| Cloud Provider | Microsoft Azure — Australia East region | Active |
| Compute | Azure Virtual Machine with platform-managed disk encryption | Active |
| File Storage | Azure Blob Storage — all containers private, anonymous access disabled | Active |
| DDoS Protection | Azure's built-in network-level DDoS protection, which covers all Azure services | Active |
| Web Application Firewall | Not yet in place. A managed rule set (OWASP — web application exploits, API abuse) in front of the application is planned. | Planned |
| Request Limits | Built into the application: repeated logins, sign-ups, password resets and two-factor codes are limited per account and per network address, and accounts lock after repeated wrong attempts | Active |
| Malware Scanning | Uploads are checked by their contents to be the expected file type and are never run, but are not yet scanned for malware | Planned |
| Error Monitoring | Server errors are recorded so problems are found and fixed quickly. Error records leave out client data and the private links used for invitations, client portals and NDAs. | Active |
| Performance Monitoring | Azure Application Insights — request tracing, failure rate, availability monitoring | Active |
| Alerting | Azure Monitor alert rules active — VM availability (heartbeat) and CPU percentage are configured with alert rules sending email notifications. Additional rules for memory, disk, and application failure rates can be added. | Active |
| TLS Version | TLS 1.2 or TLS 1.3 with modern cipher suites; TLS 1.3 is used whenever the browser supports it | Active |
| Secret Management | Production secrets (encryption keys, API credentials, JWT signing keys) stored as secured environment variables on the Azure VM — not in the codebase or source control. Azure Key Vault integration is built and migration is planned. | Migration Planned |
| Email Authentication | SPF, DKIM, and DMARC (p=quarantine) — prevents spoofing of notification and security emails from this domain | Active |
Audit Logging & Accountability
- Action logging. Key actions are recorded — logins (successful and failed), changes to clients and documents, document downloads and exports, user management changes, MFA events, session activity, and admin actions, and client progress links created, edited, deactivated and opened. Not every change is recorded individually.
- Audit records include. Timestamp, user identity, firm ID, action type, affected record, IP address, and user agent. This provides the information needed to investigate incidents or answer compliance questions.
- Admin audit visibility. The site administrator has access to an audit log viewer showing all security events across the platform.
- Automated retention. Audit log records are retained in accordance with the configured data retention policy. Records of data deletion events are kept for an extended period for regulatory compliance.
Application Security Controls
Rate Limiting
All API endpoints are rate-limited. Authentication endpoints have stricter limits to prevent brute-force attacks, and those limits are shared across every server process so they cannot be multiplied by spreading requests out.
Security Headers
All responses include a strict Content Security Policy (CSP) with per-request nonces, HSTS, X-Frame-Options, X-Content-Type-Options, and Referrer-Policy headers.
Input Validation
All API inputs are validated server-side. The application rejects invalid Content-Types, oversized payloads, and malformed data before processing.
XSS Protection
User-supplied data is HTML-escaped before insertion into the DOM. Inline scripts in HTML responses use per-request CSP nonces to prevent code injection. Dangerous HTML is parsed in inert documents, not live DOM.
Secure Session Handling
Session tokens are validated against the database on every request. Expired, revoked, or force-logged-out sessions are rejected immediately. A session ends a set time after sign-in (8 hours, unless the firm has chosen another time) or after 24 hours without use. The browser tab you signed in from shows a warning 5 minutes before the set time, and choosing Stay Logged In starts the set time again.
Secrets Management
All secrets (JWT signing keys, encryption keys, API credentials) are stored as secured environment variables on the Azure Virtual Machine — not in the codebase or source control. Migration to Azure Key Vault with Managed Identity access is planned.
Backups & Recovery
- Automated database backups. Azure SQL Database backs the database up automatically and can restore it to an earlier point in time. Backups are encrypted at rest by Azure.
- Azure VM backup policy. The virtual machine is enrolled in an Azure Backup policy providing additional infrastructure-level recovery capability.
- Data retention policy. Data is retained in accordance with a configurable retention policy. Permanent deletion of records is logged in the audit trail with timestamp and operator identity for regulatory accountability.
Responsible Disclosure
Report a Security Vulnerability
If you discover a security vulnerability in Clarity Workflow, we want to know about it. Please report it to us privately so we can address it before it can be exploited.
Email: admin@clarityworkflow.com
Response commitment: We will acknowledge receipt within 2 business days and provide a status update within 7 business days.
Please include a description of the vulnerability, the steps to reproduce it, and any evidence you have collected. We will not take legal action against researchers who act in good faith.
A machine-readable disclosure policy is published at /.well-known/security.txt in accordance with RFC 9116.
Honest Limitations
We believe in being transparent about what is and is not yet in place, rather than overstating our security posture. The items below are in-progress or planned, alongside controls that have recently been completed:
- Independent penetration testing. We have not yet commissioned an independent security penetration test. This is planned. Until it has been completed, we cannot claim our security has been independently verified by a third party.
- DMARC email authentication. SPF, DKIM, and DMARC records are all configured for outbound email from this domain, preventing spoofing of Clarity Workflow notification and security emails.
- Formal compliance certifications. The platform is built with compliance principles in mind (data isolation, audit logging, encryption, access control) but has not yet undergone formal certification (e.g. SOC 2, ISO 27001). These are on the roadmap.
- Web application firewall. There is not yet a firewall with a managed rule set (such as the OWASP Core Rule Set) in front of the application. Until there is, protection relies on the application's own controls: input validation, request limits, account lockout and Azure's network-level DDoS protection.
- Malware scanning of uploads. Uploaded files are not yet scanned for malware. Every upload is checked by its contents to be the expected document type, stored in private storage and never run by the application.
- Azure Key Vault for secret management. Production secrets are currently stored as secured environment variables on the Azure VM (not in source code). The application is built to load secrets from Azure Key Vault and migration to Key Vault via Managed Identity is planned — this is a configuration step, not a rebuild.
- SQL database auditing. Azure SQL Auditing is enabled and logging all database access events to a secure destination. This supports NDB compliance investigation and SOC 2 audit trail requirements.
Questions & Contact
If you have a question about security that isn't answered here, or if you are a prospective user evaluating Clarity Workflow for use with sensitive client matter data, we are happy to discuss our architecture and controls in more detail.
Security Contact
For vulnerability reports or security questions: admin@clarityworkflow.com
General Support
For all other questions, use the in-app Support page or contact us through your registered email address.