11 Commits
Author SHA1 Message Date
hoelee e457e14b30 feat: harden and modernize the file manager (v2.0.0)
Security hardening:
- bcrypt password auth via password_hash()/password_verify(), no default creds
- Session CSRF token verified with hash_equals()
- Secure session cookies: HttpOnly, SameSite=Strict, Secure over HTTPS
- Nonce-based Content-Security-Policy, frame/clickjack + nosniff headers
- realpath() root containment + symlink exclusion to block traversal
- Server-side upload size + MIME(finfo) + extension validation
- Configurable IP allow/deny with CIDR, optional HTTPS enforcement
- Fixed 500ms login delay to slow brute-force guessing

Features (single PHP file, no CDN):
- New Bootstrap 5 responsive UI with light/dark theme toggle
- Upload (drag+drop), download-only links, delete, rename, copy/move, mkdir
- Folder ZIP download, in-browser text editor (<=2MiB)
- Multi-user, per-user read-only + per-user root directories
- All frontend assets vendored locally under assets/ (349K)

Docs: full config reference, password hash guide, Tor hidden-service guide.
2026-08-19 23:55:07 +08:00
Diego Bernal b2c22957d4 Update README.md 2018-06-02 14:34:37 +02:00
Diego Bernal 92f5b27656 Updated readme with forks section 2018-06-02 10:48:12 +02:00
John Campbell 243523fb22 minor correction to readme 2017-02-22 14:02:31 -05:00
John Campbell d2765bcb31 tweaked the readme 2017-02-22 13:53:34 -05:00
John Campbell e1b375628a Adding a word of warning about allowing uploads on the public web 2017-02-22 13:06:15 -05:00
John Campbell 9735d6da12 fix spelling error 2013-10-19 00:09:34 -04:00
John Campbell 17f1a5f299 update readme 2013-10-18 23:03:31 -04:00
John Campbell 101f82f6d8 adding screenshot to markdown 2013-10-18 23:02:16 -04:00
John Campbell 9ef59a098d initial commit 2013-10-18 22:53:53 -04:00
John Campbell 3f2d1892e7 Initial commit 2013-10-18 19:39:27 -07:00