ChemistBill
🛡️ Infrastructure & Architecture

Cloud Security & Data Protection

Hardened database-per-tenant pharmacy isolation, Indian data residency, and tamper-evident audit logging built for serious medical enterprises.

🇮🇳

100% Indian Data Localization (AWS Mumbai)

All production pharmacy databases, Schedule H1/X logs, and invoice documents remain hosted inside sovereign Indian data centers in the AWS Asia Pacific (Mumbai — ap-south-1) region in alignment with Indian digital governance and healthcare privacy norms.

1. Encryption in Transit & At Rest

  • In Transit (TLS 1.3): Every store subdomain (yourstore.chemistbill.com) and API request communicates strictly over SSL/TLS encrypted HTTPS channels.
  • At Rest (AES-256 & Hashing): Underlying server volumes and archived snapshots utilize industry-standard AES-256 disk encryption. All owner, pharmacist, and cashier passwords are salted and BCrypt-hashed; plaintext passwords are never stored.
  • Two-Factor Readiness: Tenant workspaces support optional TOTP / 2FA verification to harden owner logins against unauthorized terminal access.

2. True Database-Per-Tenant Isolation Architecture

Unlike single-database multi-tenant tools that rely solely on query filters, ChemistBill isolates each subscribed chemist or wholesale agency into its own dedicated Stancl Tenancy isolated database (`tenant_*.sqlite` / dedicated tenant DB context) resolved per subdomain at request bootstrap. This architectural boundary eliminates cross-store SQL contamination risks and enables single-store portable backups.

3. Granular Spatie RBAC & Immutable Activity Trail

Store owners enforce strict Role-Based Access Control (Owner, Registered Pharmacist, Cashier, Inventory Clerk, Accountant/Auditor) so counter staff cannot export purchase margins, modify historical tax entries, or alter RBAC permissions. Sensitive actions — including batch stock adjustments, returns, price overrides, and permission edits — write to the workspace's chronological Activity Log with user ID, IP address, and timestamp.

4. Backups, Continuity & Shared Security Responsibility

Automated infrastructure snapshots run routinely alongside self-service on-demand backups inside Store Settings. Security remains a shared responsibility: pharmacy owners must keep counter PCs patched, lock unattended terminals, avoid password sharing, and immediately deactivate departed staff accounts. No connected internet platform can claim absolute immunity against physical terminal compromise or credential phishing.