Skip to content
Jdaa

Security and data protection

This page explains where your data is kept, how the system protects your documents and signing keys, and how to report a vulnerability. We state only what works today.

Where your data is kept

  • The system servers and database are in the Riyadh region of Oracle Cloud.
  • Backups are encrypted in separate storage, kept for 35 days, and we have tested restoring from them.
  • Card details never reach our servers: you pay on the gateway page.
  • In the payroll add-on, the employee ID and IBAN are encrypted with a key per business.

Each business’s data is isolated

Every table that holds a business’s data is protected by row-level security policies in the database itself (Row-Level Security), so a request sees only the rows of the business it works for. Isolation therefore does not rely on the interface alone, and users of one business never reach another business’s data.

Each business’s files, such as the stamped XML files, are stored under a path of its own.

Issued documents never change

  • The database itself refuses to edit or delete an issued document, except to record ZATCA’s response and its payment status.
  • Document numbering only moves forward, so no number repeats or is reused.
  • The document activity log and the ZATCA submission log are append-only: nothing in them is ever edited or deleted.

Signing keys and the OTP

  • The private signing keys of EGS Units and their certificate secrets are stored encrypted, each bound to its business and unit. The system never returns them in any request, they never appear on any screen, and they are never written to the logs.
  • You enter the OTP once on the onboarding screen; it is sent to ZATCA in the certificate request and is never stored or written to the logs.
  • We will never ask for your OTP or your password by email or phone. If anyone asks for them in our name, do not give them, and tell us.

Sign-in and sessions

  • Your sign-in session is in a cookie that page scripts cannot read (HttpOnly), and over an encrypted connection it is restricted to the site’s own domain, so subdomains never reach it.
  • Every request that changes your data needs a protection token bound to your session, so no other site can make it in your name.
  • You stay signed in on your device until you sign out yourself, and a session ends after 30 days without use. From the “Account security” page you can set an automatic sign-out after a period of inactivity, and sign out of all devices. Changing your password ends your open sessions on other devices.
  • Sign-in attempts are limited per address and network, and the error message never reveals whether an email is registered with us. You can turn on two-step verification with an authenticator app, and the owner must have it before connecting the business to ZATCA.
  • Each user’s permissions in their business are read from the database on every request, never from the session.

Report a security flaw

If you find a security flaw, write to us from the contact page with the “Report a security flaw” topic, and describe the steps that lead to it and its impact.

Other security questions?

If your question about data protection is not answered here, write to us, or start your trial.