Skip to content

v1.2.6

Choose a tag to compare

@Darknetzz Darknetzz released this 01 Jul 13:16
· 13 commits to dev since this release

[1.2.6] - 2026-07-01

Added

  • Settings → Security — configure login rate limiting (enable, max attempts, lockout duration), toggle security response headers, and require sign-in for About update checks
  • Settings → Login lockouts — clear all IP blocks from .dirindex-lockouts.json

Changed

Fixed

  • Share links — shared files and folders resolve using the listing base in effect when the link was created; existing links keep working when List from document root is toggled later (new shares store base_dir in SQLite; older shares fall back to known listing bases)

Security

  • .htaccess — block direct HTTP access to .git (prevents source and history recovery when the repo is deployed inside the web root)
  • Sessions — auth session cookies use HttpOnly, SameSite=Lax, and Secure when the request is HTTPS (including behind X-Forwarded-Proto)
  • Login lockout — after 5 failed sign-in attempts from one IP, login and first-run setup are blocked for 15 minutes by default (configurable in Settings → Security; tracked in .dirindex-lockouts.json, denied by .htaccess)
  • HTTP headers — X-Frame-Options, Referrer-Policy, Permissions-Policy, pragmatic Content-Security-Policy, and HSTS on HTTPS via dirindexSendSecurityHeaders()