~/androidlabs / apps / filewall

// File 01 · Declassified

Filewall

org.androidlabs.filewall

A firewall for your files. Every app knocks. You decide who enters.

Filewall keeps your files in its own private storage and lets other apps reach them only through your rules. It plugs into Android's built-in file picker, so apps need no special support.

  • No internet permission
  • No root
  • Android 10+

// Briefing

What it is

Filewall is a storage location that other apps open through the system file picker (the Storage Access Framework). Every request passes through your rules first, the way a network firewall checks packets. Nothing reaches your files unless a rule, or you, allow it.

// Procedure

How a request is handled

  1. 01
    An app, or you in the system file picker, opens Filewall as a storage location.
  2. 02
    Filewall checks your rules from top to bottom. The first match applies.
  3. 03
    No rule covers it? You get a notification and a request card. Allow it for a time you choose (this creates a rule), decline it, or block the app for a time you choose. One decision can answer a whole batch of requests.
  4. 04
    With a PIN set, other apps' access asks for it too. It stays unlocked until the screen locks.

// Capabilities

What it does

  • Rules per app, per folder or per file: allow read, write or list, or block. A rule can extend to subfolders.
  • Time-limited rules that expire on their own.
  • Optional PIN, with fingerprint or face unlock. Wrong PINs lock you out for longer each time.
  • An optional access log of what each app tried and why it was allowed or denied. Filter it, export it as CSV, or switch it off.
  • Silence mode: no dialogs or notifications, rules still enforced and logged.
  • No account, no analytics, no network access.

// Known limits

Read before you rely on it

  • The PIN is off until you set it. Without it, anyone who opens the app can change the rules.
  • There is no PIN recovery. Lose it and you are locked out of the app.
  • Write on a folder also allows deleting it, with everything inside, including items that have no rule of their own.
  • "Disable protection" turns block rules off. Use it only briefly.
  • Your files live only in Filewall's private storage. Uninstalling or clearing its data deletes them, and they are not part of Android's cloud backup. Keep copies elsewhere.
  • Filewall does not encrypt anything. It protects against other apps and accidental exposure on an unlocked device, not against root access or forensic tools.

// Permissions

Every permission, and why

PermissionWhy
POST_NOTIFICATIONSTells you about access requests and blocked access. Optional.
USE_BIOMETRICFingerprint or face unlock in addition to the PIN. Optional.
RECEIVE_BOOT_COMPLETEDEnds any open authentication session when the device restarts.
QUERY_ALL_PACKAGESLists your installed apps when you create a rule, and shows the name and icon of the app asking for access. Nothing is stored or sent anywhere.

Two more entries come from libraries: USE_FINGERPRINT (the pre-Android 9 name of the biometric permission) and an internal receiver permission only Filewall itself can hold. Only the system file picker can reach Filewall's storage: it is protected by the system-only MANAGE_DOCUMENTS permission.

// Verification

Check the signature

Every release is signed with the same key. Before installing an APK from GitHub:

apksigner verify --print-certs Filewall-v1.0.0.apk

The SHA-256 digest of the signing certificate must be:

845fe51c222dcfd69fd9fb0a8f1ad2e313c08ab95f6b261c2f8c3265e2b6715e