Infrastructure & Cyber Defense

بِسْمِ اللَّهِ الرَّحْمَٰنِ الرَّحِيمِ

Security Policy

Comprehensive overview of data encryption, role-based authentication, and threat prevention architecture across Mawaqit Al Masajid.

Last Updated: October 31, 2026
Choose Document Language:

1. Security Architecture Overview

At Mawaqit Al Masajid (مواقیت المساجد), data integrity, credential safety, and infrastructure reliability are treated as core priorities. We implement defense-in-depth security principles across every layer of our stack:

Transport Layer Security (TLS)

Modern TLS 1.3 encryption with strict HTTP Strict Transport Security (HSTS) headers across all endpoints.

Bcrypt Password Hashing

Administrative credentials and passwords are irreversibly hashed using salted, adaptive work-factor bcrypt hashing algorithms.

Brute-Force Rate Limiting

Automatic IP-based rate limiting on sensitive routes (/admin/login, /api/library-lock) to thwart dictionary attacks.

Immutable Audit Logging

Administrative changes to mosques, prayer times, and user roles are recorded with user ID and timestamp signatures.

2. Access Control & Token Architecture

  • Short-Lived Access Tokens: 15-minute HTTP-only signed JWT access tokens prevent persistent session hijacking.
  • Secure Refresh Cycle: 7-day secure HTTP-only refresh tokens allow seamless renewal without exposure to JavaScript execution.
  • Strict Role Segregation: Mosque Admins cannot view or modify mosques outside their authorized jurisdiction.

3. Responsible Vulnerability Disclosure

We welcome collaboration with cybersecurity researchers and developers. If you identify a potential security vulnerability, please report it privately:

Security Contact: mawaqitalmasajid@gmail.com

Subject Line: [Security Vulnerability Report] - <Brief Description>

Have Questions or Feedback?

Reach out directly to our administrative team for any privacy, legal, or security inquiries.

mawaqitalmasajid@gmail.com