Account deletion, storage quotas, rate and size limits, server hardening #12
Loading…
Reference in a new issue
No description provided.
Delete branch "account-delete-quotas-rate-limits"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Server pieces for a hosted Plaintext server, account deletion (App Store guideline 5.1.1(v)), and server hardening.
Account deletion
DELETE /v1/accountis signed by the login key overaccount_delete_message(±120 s, and the server's host as for a login), so a session token alone can't delete an account.goneuntil an owner's device removes it with a new key.Session::delete_account; the CLIplaintext account deleteasks for the password again and has you type the username.Storage quotas
PLAINTEXT_QUOTA_MBcounts item blobs and files in the vaults an account created, plus the share links and messages it and its agents sent.GET /v1/accountreportsquotaandusage.Rate limits (open servers)
PLAINTEXT_TRUST_PROXY=1reads the lastX-Forwarded-Forentry.Request size limits
Server hardening
PLAINTEXT_URL, only localhost logins are accepted, and the server warns at startup.ttlon login.HEADon share links gets 405, and responses carryCache-Control: no-store.Also merges main (sync
problemsandremove_memberscombined) and rebuildsdocs/s. DESIGN.md, README and PARITY.md are updated.Tests in
client/src/tests.rs:account_deletion,storage_quota,signup_and_login_rate_limits,request_size_limits,server_hardening, plus server unit tests (migrations, limiter, localhost check).🤖 Generated with Claude Code
Account deletion, storage quotas, rate and size limitsto Account deletion, storage quotas, rate and size limits, server hardening