use-apify.com
Security: guides & tutorials
Scraping security: vault secrets, non-root containers, and scoped API keys. Keep proxy creds and datasets safer while running Apify Actors in production.
3 articles
View all tags
Scraping security means vaulting secrets, running non-root containers, and scoping API keys so proxy credentials and datasets stay safe. These guides cover hardening scrapers in production.
Leaky credentials and over-broad tokens are the common failure modes, and both are avoidable. Apify supports scoped tokens and secure storage. Below you will find security patterns for running scrapers safely.

Harden a fresh Ubuntu or Debian VPS in eight steps, in an order that avoids locking you out: a sudo user with your key, SSH settings, UFW, fail2ban, automatic security updates, a listening-port review, auditd, and backups you have restored once. Settings checked against official docs in November 2026; see the note below.

Running a scraping server on a public VPS without a VPN exposes your admin panel, Playwright cluster, and dataset store to the open internet. WireGuard solves this with a minimal kernel-level tunnel that routes all management traffic through an encrypted private channel — no IPsec complexity, no OpenVPN overhead.
This guide walks through installing and configuring WireGuard on a Liquid Web Ubuntu 22.04 VPS, generating keys, routing scraping-server traffic through the tunnel, and locking dashboards behind VPN-only access.