Skip to content
Menu

Security & Privacy

Florabase is designed from the ground up for a single local owner who wants their collection data, photos, and provenance locations kept strictly on hardware they control.

  • No telemetry, analytics, or update phone-home: A running Florabase instance makes zero outbound requests by default.
  • No cloud accounts: Authentication uses a single local owner account stored in PostgreSQL with server-side sessions (HttpOnly cookies) and explicit CSRF protection on state-changing requests.
  • Strict origin binding: FLORABASE_CANONICAL_ORIGIN must be set to your exact https:// origin. Florabase never trusts client-supplied X-Forwarded-* headers to derive its scheme, origin, or user identity.

Non-root containers & minimal network surface

Section titled “Non-root containers & minimal network surface”

All three official images (florabase-postgres, florabase-backend, florabase-frontend) run as non-root users:

Service Container UID:GID Exposed network ports
db (florabase-postgres) 70:70 None (internal Docker network only)
backend (florabase-backend) 10001:10001 None (internal Docker network only)
frontend (florabase-frontend) 101:101 127.0.0.1:8080 (loopback only)
  • Fail-closed startup guards: db and backend refuse to start with placeholder passwords (change-me), placeholder origins, missing folder ownership, or mismatched database revisions — preventing accidental initialization on an unmounted disk.
  • Scrubbed bootstrap credentials: If you use FLORABASE_OWNER_LOGIN / FLORABASE_OWNER_PASSWORD for first-run bootstrap, florabase-start scrubs both variables from the uvicorn process environment before serving requests (and you should remove them from compose.yaml right after signing in).
  • Optional container hardening: Operators wanting internal: true database network isolation, read-only root filesystems, and dropped Linux capabilities can layer the optional hardened Compose override documented in the main repository’s docs/security.md.
  • Signed release provenance: Every published release attests its three OCI image indexes and release-manifest.json via GitHub Artifact Attestations (gh attestation verify).

External data sources & outbound network boundaries

Section titled “External data sources & outbound network boundaries”
Source Default state When outbound traffic happens
WFO Plant List Local optional SQLite index Never at runtime. Mounted read-only from host disk.
Kew WCVP Local optional SQLite index Never at runtime. Mounted read-only from host disk.
Natural Earth & Unicode CLDR Bundled in app Never at runtime. Served completely offline.
GBIF On-demand only Only when the owner explicitly triggers taxon search, refreshes a confirmed link, or opens an occurrence density map.
OpenStreetMap tiles Off by default Only if the operator explicitly enables the street-level basemap in runtime-config.js.

Please do not open public GitHub issues for suspected security vulnerabilities. Follow the private reporting process in Florabase’s official security policy:

Privacy on florabase.eu & demo.florabase.eu (GDPR notice)

Section titled “Privacy on florabase.eu & demo.florabase.eu (GDPR notice)”
  • Zero tracking cookies & zero third-party scripts (florabase.eu): This documentation website is 100% static HTML/CSS/JS hosted on Cloudflare Pages (Cloudflare, Inc. acts as infrastructure/CDN processor for standard edge delivery and DDoS protection). The site sets no cookies, loads no Google Fonts (all fonts are self-hosted via Fontsource), keeps Cloudflare Bot Fight Mode disabled to avoid challenge cookies, and loads zero third-party scripts by default.
  • Analytics policy: Cloudflare Web Analytics is currently disabled. If cookie-free Cloudflare Web Analytics is ever enabled in the future, it loads a beacon script from static.cloudflareinsights.com and this page will be updated before enabling it.
  • Public demo (demo.florabase.eu): Runs in stateless read-only mode (FLORABASE_DEMO_READONLY=true) behind Cloudflare proxy on a European VPS. Visitors do not sign in, cannot write data, and no visitor session rows are stored in PostgreSQL. Standard operational Nginx access/error logs (used strictly for rate limiting and abuse prevention) are rotated and deleted automatically after 7 days.