Skip to content

Security

This page describes how the SenseOps Writeback server protects your data and how to harden an installation. It is written for IT administrators and security reviewers.

Scope

The controls on this page belong to the Writeback server, used by Database-based Writeback. File-based Writeback writes through Qlik Sense and inherits Qlik's own security controls.

Summary

Area Control
Authentication Uses the user's existing Qlik session. No separate Writeback user accounts or passwords.
Administration Settings page reachable only from the Writeback server itself
Encryption in transit HTTPS for users (your certificate); TLS 1.2 minimum, with certificate verification, to Qlik and databases
Encryption at rest Passwords and secrets encrypted with AES-256-GCM; key protected by Windows DPAPI
Database writes One transaction per save, rolled back on any error; server-side input validation
File uploads Size and type allowlist, content inspection, executables always blocked
Logging Structured security audit log (JSON lines), ready for SIEM forwarding; secrets never logged
Service account Optional least-privilege or virtual service account
Supply chain Pinned dependencies, release builds blocked on high or critical advisories, software bill of materials

Authentication and Access

  • Users sign in to Qlik, not to Writeback. When the Writeback table loads, the server confirms the user has an active Qlik session — through the Qlik Proxy Service on Qlik Sense Enterprise, or through the OAuth client on Qlik Cloud.
  • After the session is confirmed, the server issues a short-lived access token (valid for 1 hour), signed with a key unique to your installation.
  • What a user can change is decided by the Qlik developer through column and row edit rules, and by the database account and table access configured on the server.
  • The settings page accepts connections only from the Writeback server itself. Requests from other computers are refused and logged.

Warning

The settings page has no separate password. Anyone who can sign in to the Writeback server can change its configuration — restrict sign-in to administrators.

Encryption in Transit

Connection Protection
Browser → Writeback server HTTPS using your .pfx certificate, when Is secure is enabled (Proxy). HTTP requests are redirected to HTTPS.
Writeback server → Qlik Sense Enterprise TLS 1.2 or later. The Qlik certificate is verified against the uploaded root.pem; the server authenticates with the Qlik client certificate.
Writeback server → Qlik Cloud TLS 1.2 or later, verified against the public certificate authorities built into the server's Node.js runtime. If your network inspects HTTPS traffic with its own certificate, Qlik Cloud connections can fail — contact SenseOps support.
Writeback server → database TLS 1.2 or later when SSL Require is enabled, with certificate verification on by default. A custom CA can be supplied per connection (sslCa).

Opt-outs (Trust server certificate, sslRejectUnauthorized) apply only to the single connection they are set on.

Encryption at Rest

  • Database passwords, client secrets, the Qlik client secret, the SMTP password and the certificate password are encrypted with AES-256-GCM in config\globalConfig.json.
  • The encryption key is protected by Windows DPAPI and bound to the server and installation folder. A copied configuration file cannot be decrypted on another machine.
  • Secrets are masked (********) on the settings page and are never written to logs.

Database Writes

  • All changes from one save are written in a single transaction. If any row fails, the whole save is rolled back and the Qlik app is not updated.
  • Before writing, the server checks that text fits each column's length and that number columns receive numbers. A save that fails these checks is refused with a message naming the column and row.
  • When the database rejects a save, users see what to fix only when the data caused it (too long, wrong format, missing, duplicate key). Other database messages are not shown to users, because they can contain table and query details.
  • Inserts and deletes use parameterized statements. Update values are escaped before they are sent to the database.
  • All input is validated on the server. Requests containing SQL, script or path-traversal patterns are rejected and logged.
  • Each Qlik app has a request queue (up to 10 pending saves) and each endpoint is rate-limited to 100 requests per minute per client.
  • Only Qlik Sense addresses you configured are accepted as request origins.

File Uploads

Every uploaded file goes through these checks, in order:

  1. Size — 25 MB by default.
  2. Extension — against the storage's Allowed file types list.
  3. File name — path traversal, invalid characters and injection patterns are rejected.
  4. Content — the file's content must match its extension; for example, a ZIP file renamed to .pdf is rejected.
  5. Known-bad content — executables (Windows, Linux, Java, macOS) are always rejected, whatever the allowlist, as is the EICAR antivirus test file.

Every rejected upload is recorded in the security audit log.

Logging and Audit

Log Location (in the installation folder) Contents
Security audit logs\security\security-<date>-i<instance>.log Sign-in tokens issued and rejected, blocked access, configuration changes, saves committed and failed, rejected uploads, service starts
Application logs\pm2\logs\SenseOps-Writeback-out.log and -error.log Requests and diagnostics. For a failed save, the error log records the database's own error number and message, without the query text or row data.
History table Your database Every data change, row by row (when enabled)
  • The security audit log is newline-delimited JSON — one event per line — so it can be collected by Splunk, Elastic, Azure Monitor, NXLog, Fluent Bit or any JSON-lines collector without an adapter.
  • Each event records the Qlik user, source IP and a correlation ID. The same ID is returned in the X-Correlation-Id response header, so one save can be traced end to end.
  • Configuration changes record which fields changed. Password and secret values are always redacted.
  • Log files rotate daily and are kept for 30 days.

Service Account

The Writeback service runs as Local System by default. For least privilege, install it under a virtual service account or a dedicated domain account — see Installation › Choose the service account. The installer then grants only the folder permissions the service needs.

Network

  • The Writeback server needs no general outbound internet access. It connects only to Qlik Sense, your databases and, where used, Qlik Cloud, Microsoft Entra ID / OneLake and Snowflake.
  • Users' browsers contact validate.senseops.com to validate the license.
  • See Architecture › Network connections for every port.

Software Supply Chain

  • Runs on Node.js 24 or 26 LTS.
  • All third-party packages are pinned to exact, tested versions and are bundled in the installer — nothing is downloaded at runtime.
  • A release cannot be built while any shipped package has a known high or critical vulnerability.
  • A software bill of materials (CycloneDX sbom.json) is produced for every release so your team can run its own scan (for example with Snyk). Request it from SenseOps if it is not included in your package.

Hardening Checklist

  • Enable HTTPS with a certificate trusted by users' browsers.
  • Run the service under a virtual or dedicated service account.
  • Restrict sign-in to the Writeback server to administrators.
  • Limit the Writeback port in the firewall to the networks your Qlik users are on.
  • Restrict NTFS permissions on the installation folder — especially config, data and temp — to administrators and the service account.
  • Use a dedicated database account with only the permissions listed in Prerequisites, and turn off Full Access in favour of table entitlements.
  • Enable SSL Require on database connections.
  • Forward logs\security to your SIEM if you need tamper-evident retention.
  • Track client secret expiry dates for Microsoft Entra and Qlik Cloud.
  • After an upgrade, delete config\globalConfig.json.pre-encrypt if present.

Known Limitations

  • Log files are protected by NTFS permissions only; they are not signed. Forward them to a SIEM for tamper evidence.
  • Row locks are held in memory. Restarting the service releases all locks.
  • On Qlik Cloud, the server caches a Qlik access token in its temp folder. Restrict access to that folder as described above.

Need more for a security review?

SenseOps can provide the software bill of materials and additional technical documentation for your internal security review.