A single-file PHP file manager is easy to deploy and easy to leave in the wrong directory. Tiny File Manager is designed to run from one script, with authentication, user-specific root folders, read-only users, and a configurable absolute root path. The small deployment effort makes a configuration review especially important.

The project documentation says authentication can be enabled or disabled with $use_auth. The sample configuration includes accounts and per-user directories. The comments tell operators to replace the sample password hashes. A public instance should not rely on a default credential, a web-root directory it can write, or a reverse proxy that exposes backup files.

The measurement is a starting point

A ZoomEye SDK query on 2026-11-01 returned 2,236 matches for app="Tiny File Manager" and 2,236 for title="Tiny File Manager" at sub_type=all, page 1, and pagesize 1. The equal counts are a consistent discovery signal in this exact scope. They are not proof that those assets use default credentials or expose a writable root.

The product name can appear on a login page, a setup page, or an error response. A match is an internet observation, not a confirmation of file contents. The reviewer must verify ownership and test the deployment with permission.

Lock down the application root

Set $root_path to the narrowest directory the users need. A manager that can browse the document root may reach configuration files, uploads, logs, and backups. Map individual accounts to distinct directories when the task is file delivery rather than full administration. Set $use_auth to true unless an upstream identity layer enforces the same access boundary.

Verify the web server's handling of PHP, dotfiles, and static backups. A file manager that runs beside an upload directory can create executable content or overwrite templates. Disable PHP execution in writable upload directories and remove editor or backup endpoints that are not needed.

Test with a disposable account. Attempt to escape the assigned root with a relative path, an encoded path, and a symlink. Confirm that read-only users cannot upload, rename, or delete. Check whether the session cookie has an appropriate scope and whether the login form is protected from repeated guessing.

The review should record the root path, authentication mode, role mapping, writable directories, and the exact denial tests. The matching count is useful for finding deployments, but the secure result comes from proving the web application cannot browse outside its intended root.

References