Security — what administrators need to know

A practical overview of Arquivme's security mechanisms — what is automatic and what depends on the administrator's configuration.

This page summarizes, in practical (not code-level) terms, Arquivme's security mechanisms — what works automatically and what depends on some configuration on your part.

What is automatic, with no configuration

  • Passwords are never stored in plain text — they are stored with a cryptographic hash (bcrypt), the industry standard. Not even an administrator with direct database access can "see" a user's password — only reset it.
  • Lockout after failed sign-in attempts: after a number of consecutive wrong passwords, the account is temporarily blocked from further attempts, making brute-force attacks harder.
  • Rate limiting: each sensitive route has a limit on how many times it can be called per minute, per IP — sign-in, password recovery, unlocking password-protected links and uploads through the public inbox have stricter limits than the rest of the system.
  • Content validation on upload: Arquivme checks that a file's actual content matches its declared extension (it doesn't rely only on the file name), and never accepts script/executable extensions, even if someone tries to extend the allowed list — see Uploading files.
  • Password recovery does not reveal which e-mails exist: the "forgot my password" screen always responds with the same message, whether or not an account exists for that e-mail, and the reset link expires in 1 hour.
  • Protection against forged actions (CSRF): every action that changes data requires a security token generated by the user's own session — a malicious site in another tab cannot trigger actions in Arquivme on behalf of a signed-in user.
  • Protected session cookies: the user session uses cookies with standard browser protections (inaccessible to third-party scripts, same-domain only).

What depends on your configuration

  • List of trusted IPs for identifying the request origin, if Arquivme runs behind a reverse proxy (nginx, Dokploy) — needed so rate limiting correctly identifies each user's real IP, instead of the proxy's IP for everyone.
  • HTTPS: the system automatically detects whether it is served over HTTPS to adjust session cookie behavior, but configuring the certificate itself (Let's Encrypt, reverse proxy, etc.) is the responsibility of the infrastructure where you host Arquivme.
  • External backup: none of the mechanisms above protect against data loss from hardware failure or human error — that is the job of the full system backup, kept outside the server itself.
  • The right access level for each account: "who can see what" security depends on you assigning levels (reader/user/admin) and the supreme power attribute (used only for impersonation) carefully — the system enforces the rules correctly, but it does not decide for you who should have which level.

Where to investigate an incident

If you suspect improper access, start with the activity log — every relevant action (sign-in, sharing, deletion, permission change, impersonation) is recorded with user, date and time. Combine the text filter with the date filter to rebuild the sequence of events around the incident.

Last updated: November 29, 2026