Skip to content
08 · Security and control

Control who sees what.

Role-based access, an audit trail, and data protection built in.

  • Roles by module and action, plus custom roles
  • Managers see only their own team
  • Two-factor sign-in with an authenticator app
  • Audit log of changes, approvals and exports
  • Bank numbers encrypted at rest
  • DPDP: employees can download or request erasure of their data
Two-factor sign-in on
  • Payroll approvedApprover is not the calculator10:42
  • Bank file exportedGeneric CSV10:44
  • Bank account viewedLast four digits shown by default11:05
  • Role changedManager to HR admin11:31

What we do not claim

This page lists controls that exist in the product. It is not an audit report, and no independent certification is claimed. Several things are your responsibility: who you give roles to, whether you require two-factor, and how you handle exports once downloaded.

Files and uploads

Uploads are limited to PDF, PNG, JPG and WebP files of 10 MB or less, and the server checks that images really are images. Profile photos are limited to 1 MB and stored in R2 for same-company viewers only. Selfies are deleted by a daily job after the retention period you set.

Notifications and visibility

Sign-in and security emails, invitations and billing emails always go out. People get emailed when two-factor changes on their account. The Sign-in and security page lists signed-in devices and lets a user change their password.

The problem

HR data is some of the most sensitive data a company holds.

Salaries, bank accounts, PAN numbers and personal documents sit in one system, and the people who need to see them differ by role. A manager should see their team, not the company. An exporter should leave a trace. Saralix applies access control at the server on every request and records who did what. We describe what is built here and, to be plain about it, we do not claim any security certification.

How access is controlled

From sign-in to audit trail

  1. 01

    Sign in

    Email and password with rate limiting and sessions stored in Postgres. Public sign-up is closed: logins are only created by company signup, employee invites and admin invites.

  2. 02

    Turn on two-factor

    Anyone can scan a QR code into an authenticator app, confirm a code and save 10 backup codes. A super admin can require it for admins or everyone.

  3. 03

    Roles decide access

    A module by action matrix covers view, create or edit, approve, export and configure. You can create custom roles and invite admins.

  4. 04

    The server scopes the tenant

    Every tenant query filters by the tenant ID from the server-side membership, never from client input.

  5. 05

    Sensitive fields are protected

    Bank account numbers are encrypted with AES-256-GCM. Only the last 4 digits are kept in clear text, and only the last 4 digits of Aadhaar are stored.

  6. 06

    Actions are logged

    The audit log records changes to records, approvals, exports and views of full bank account numbers.

What happens in difficult situations

Edge cases handled

A lost phone

A super admin can reset two-factor for someone who lost their phone, which also signs them out everywhere. People are emailed when it is turned on, off or reset.

Brute-force guessing

Wrong codes are rate limited, and a code step expires after 10 minutes or 5 wrong tries.

Support access to a company

Support can only enter with the customer's consent on a ticket, for a 60-minute session. It is view-only, with no downloads, and each visit is noted in the company's audit log.

Spreadsheet formula injection

CSV exports guard against formula injection, which matters when exports are opened in a spreadsheet.

Suspended tenants

A suspended tenant cannot sign in. Invite tokens are stored only as SHA-256 hashes and expire after 7 days.

Erasure that respects the law

Erasure removes personal data but keeps what labour and tax law require, such as payroll, statutory and TDS records.

Questions

Does Saralix have SOC 2 or ISO 27001 certification?

No. We do not claim any security certification. What we can describe is how the product works: tenant scoping on the server, role-based access, encrypted bank numbers, two-factor sign-in and an audit log. If your policy needs certifications, ask us what we can share before you decide.

Where is data stored?

The app runs on Cloudflare Workers, with Postgres on Neon in Mumbai behind Hyperdrive, and files on Cloudflare R2. The API checks permissions on every file download.

Who can see full bank account numbers?

Only users who can edit employees can reveal the full number, and each view is audited. Numbers are decrypted only to build a bank file. Previews and reports show the last 4 digits.

Can managers see salary information?

Managers only see their own team in approval queues. Salary details need payroll access. Support staff are limited to view-only sessions that the customer allows, and cannot download anything.

How does Saralix handle DPDP requests?

Employees can download a zip of everything held about them, or ask HR to erase their data. HR sets the grievance officer and answer deadline, 30 days by default. Every download and erasure goes into the audit log. This supports your compliance, and your legal adviser should confirm obligations.

Can we make two-factor mandatory?

Yes. A super admin can require it for admins or for everyone, once they have it on themselves. People without it are sent to set it up before anything else.

Related

Free for up to 10 employees.