Skip to content
DezfilDocsv0.1.0

Security and rules

Set how long sign-ins and links last, the shortest password, and who may create tokens, publish, embed, add connections and import.

An admin sets these on the Security, Publishing and Data & services tabs of Settings. They have no variables, so nothing locks them, and a change applies at once.

SettingVariableSettings keyDefaultValuesWhat it doesChanges
Stay signed in forsecurity.sessionDays30 days1, 7, 30 or 90How long a session lasts after its last use. A session keeps the expiry it holds; its next use renews it by this length.In Settings, live
Invite and reset links lastsecurity.linkDays7 days1, 3, 7 or 14How long an invitation or a password reset link stays valid. A link keeps the lifetime it was issued with.In Settings, live
Failed sign-ins before a pause › Per accountsecurity.failedPerAccount5 per 15 minutesA whole number from 3 to 100Failed sign-ins for one account, within a fixed 15 minutes, before its next attempt pauses. Wrong current passwords on password and email changes pause those changes at the same count, counted apart. Never above the count per address.In Settings, live
Failed sign-ins before a pause › Per addresssecurity.failedPerAddress20 per 15 minutesA whole number from 10 to 1,000Failed sign-ins from one network address, within a fixed 15 minutes, before its next attempt pauses. Never below the count per account.In Settings, live
Shortest passwordsecurity.passwordMin8 charactersA whole number from 8 to 64The fewest characters a password set from now may have. Passwords set earlier keep signing in.In Settings, live
Who may create tokenstokens.createeveryoneeveryone or adminsWhether every account or only admins may create API tokens. Tokens made earlier keep working.In Settings, live
New tokens expire aftertokens.expirynevernever, 30d, 90d or 1yThe lifetime a new API token takes, from its creation. Tokens made earlier keep their own.In Settings, live
Who may publishpublishing.publisheveryoneeveryone, admins or noneWhether every account, only admins or no one may publish a map or change a publication. Published maps stay public and can be unpublished.In Settings, live
Embedding on other sitespublishing.embeddinganyany, listed or offWhich other sites may show a published page in a frame: any site, only the listed sites (at least one), or none.In Settings, live
Embedding on other sites › Listed sitespublishing.embedSitesnoneUp to 50 sites, each http or https with a host and an optional portThe sites that may show a published page in a frame while embedding is limited to listed sites; never empty while it is.In Settings, live
Who may add database connectionsconnections.createeveryoneeveryone or adminsWhether every account or only admins may add a database connection. Connections made earlier keep working.In Settings, live
Who may import from linksimports.linkseveryoneeveryone or adminsWhether every account or only admins may import from web addresses and cloud storage. Link datasets keep refreshing.In Settings, live
  • A rule refuses new actions and takes nothing away. A refused action answers 403 rule_refused, with error.rule naming the rule, and the screens show that action disabled.
  • Every signed-in account and agent reads the rules it follows as rules in GET /api/config, with the shortest password as passwordMin.

Configuration shows how a change in Settings applies.

Dezfil · Apache-2.0docs from 7439201b