Near Mosque
Security
Near Mosque has no accounts and no server of its own, so there is no store of users' data to break into. What the app keeps stays on your device, and what it downloads is checked before it is used.
Connections
- Every connection the app makes uses HTTPS. The Apple apps keep Apple's App Transport Security on with no exceptions, and the Android app does not allow plain HTTP.
- The library opens files only from a fixed list of hosts (IslamHouse, binbaz.org.sa, HadeethEnc, QuranEnc and our own content files on GitHub) and refuses a redirect that leads anywhere else.
Downloads are checked
- Language packs and the classical books carry SHA-256 fingerprints that ship inside the app. A download is installed or opened only if its size and fingerprint match; otherwise it is thrown away.
- Pack files with unsafe names or paths are refused.
On the device
- On iPhone, the Ask history is stored with complete file protection (encrypted while the phone is locked) and is left out of backups. Shared items for the widgets and the companion's prayer marks sit in the keychain, kept to this device only.
- On Android, the app's data is in its private storage, and the database and Ask history are left out of cloud backups.
- Links from widgets carry a random code made for your install, so another app cannot use a link to make Near Mosque run a question.
What the app is built with
- No analytics, advertising, crash-reporting or tracking software, on any platform.
- Open-source libraries only: Adhan (prayer time calculation), GRDB (database, Apple), AndroidX, Room and DataStore (Android), MapLibre (Android map) and Kotlin's own libraries.
- No passwords or API keys inside the apps. The keys used to publish to the App Store are kept as encrypted secrets of the build system.
Known limits
- A pack you import yourself from Files is checked against its own list of fingerprints. That shows it arrived whole, not who made it, so import packs only from a source you trust.
- Library files from IslamHouse and the other listed sites are protected by HTTPS and the host list, without a fingerprint of their own.
- Answers in Ask quote the books on your device. They are not a fatwa.
Report a problem
If you find a security problem, write to app@vision.bz with "Security" in the subject. Please include the device, the app version and the steps to see it. We read every report and reply as soon as we can. Please do not access other people's data or disrupt any service while testing.