Developed by iKHENZ IT Solutions
Security
Last updated: April 2025
🛡️ Fatora is built with security-first principles to protect your business data and ensure ZATCA compliance.
🔐
Encrypted Passwords
All passwords are stored as bcrypt hashes with cost factor 12 — never readable, never logged.
🔒
HTTPS Only
All data in transit is protected by TLS encryption. Plain HTTP access is automatically redirected.
🚫
Login Protection
After 5 failed login attempts, accounts are locked for 15 minutes to prevent brute-force attacks.
🧩
CSRF Protection
Every form submission is protected by cryptographic tokens to prevent cross-site request forgery.
📁
Safe File Uploads
Uploaded logos are validated by MIME type using finfo — not just extension — before being accepted.
⏱️
Session Timeouts
User sessions automatically expire after 2 hours of inactivity to reduce unauthorized access risk.
⭐ ZATCA PHASE 2

Self-Upgrade Path to ZATCA Phase 2

Fatora includes a built-in upgrade path to ZATCA Phase 2 (Clearance). Users can activate Phase 2 integration directly from their account settings — no manual intervention required. Phase 2 generates cryptographically signed XML invoices, submits them to ZATCA's Fatoora portal for real-time clearance, and returns a compliant stamped copy. Your credentials and certificates are stored securely and never exposed to third parties.

Security Headers

Every page served by Fatora includes hardened HTTP security headers:

  • X-Frame-Options: DENY — prevents clickjacking attacks.
  • X-Content-Type-Options: nosniff — prevents MIME sniffing.
  • Content-Security-Policy — restricts resource loading to trusted sources.
  • Strict-Transport-Security — enforces HTTPS-only access.
  • Referrer-Policy: strict-origin — limits referrer information leakage.

Database Security

All database queries use prepared statements with parameterized inputs, eliminating SQL injection vulnerabilities. Sensitive fields like passwords, VAT numbers, and session tokens are never logged or exposed in error messages.

Responsible Disclosure

If you discover a security vulnerability in Fatora, please report it responsibly to iKHENZ IT Solutions via ikhenz.com. We appreciate responsible disclosure and will address confirmed vulnerabilities promptly.