158 articles
Knowledge Base
Security
158 articles in the Security category · page 3 of 7.
- SSH certificate authority: retire authorized_keys for good Replace authorized_keys sprawl with an SSH CA. Sign host and user keys with ssh-keygen, set TrustedUserCAKeys and HostCertificate, kill TOFU prompts, and revoke with a KRL.
- Blocking xmlrpc.php at Cloudflare without breaking Jetpack xmlrpc.php is the most-abused file on a WordPress site, but Jetpack and the mobile apps still need it. The WAF custom rule that blocks everyone except Automattic, and how to test it before Jetpack notices.
- Bot Fight Mode is breaking your webhooks and APIs: what you can and cannot exempt Stripe deliveries fail, monitoring callbacks 403, mobile apps error out — and Security Events says Bot Fight Mode. Why the Free tier offers no exemptions, and the SBFM options that fix it on Pro and Business.
- Building an allowlist strategy on Cloudflare: WAF Skip rules plus IP Access rules Monitoring probes, webhook senders, and office IPs keep tripping edge security. How to build an allowlist that actually bypasses the right layers — and why IP Access rule Allow is not the tool you think it is.
- Cloudflare Security Level and Under Attack Mode: what they actually change Security Level tunes how suspicious an IP must look before it gets challenged; Under Attack Mode challenges everyone. What each setting really does, when to reach for it, and how to keep APIs alive while it is on.
- Cloudflare WAF false positives: find the exact rule before you touch anything A customer got "Sorry, you have been blocked" on a legitimate request. How to trace the Ray ID in Security Events to the exact rule that fired, and why a scoped exception beats disabling the rule.
- Country blocking on Cloudflare done right: challenge vs block Geo rules cut attack noise fast, but Block and Managed Challenge are different tools for different reasons. How to write country rules that match your actual goal — and what geolocation can and cannot promise.
- Legitimate users stuck in a Cloudflare challenge loop: diagnosis and fixes A real customer sees "Verifying you are human" again and again. Why privacy browsers, VPNs, blocked cookies, and your own header rules cause challenge loops, and how to fix the zone instead of blaming the browser.
- Turnstile on your forms: the CAPTCHA replacement, set up properly Cloudflare Turnstile verifies humans on your forms without puzzles, free, on any site. Widget modes, the server-side check everyone skips, and the failure modes that make it silently useless.
- Blocking a country with CSF CC_DENY on cPanel — geo-blocking and its tradeoffs How to block (or allow only) traffic from specific countries with CSF CC_DENY/CC_ALLOW, what it actually does to performance, and why blanket geo-blocking is a blunt tool to use carefully.
- CSF blocked my IP and locked me out of cPanel/WHM — clearing the deny CSF or LFD blocked your own IP and now WHM, SSH, and the sites are unreachable. Here is how to tell a temporary block from a permanent one and remove it without making things worse.
- Malicious cron job on a cPanel account — finding and removing the reinfection trigger You cleaned a hacked site but it keeps coming back. A rogue cron job is re-downloading the malware on a schedule. Here is how to find the malicious crontab entry and remove the persistence.
- Scanning and cleaning malware on a cPanel account — a repeatable runbook A step-by-step runbook for finding and removing malware from a cPanel account: scan with the server tools, identify injected files and backdoors, clean safely, and verify the account is clear.
- Setting correct file permissions and ownership on cPanel accounts — the hardening baseline The safe permission and ownership baseline for a cPanel account: 644 files, 755 directories, account-user ownership, and a tightened wp-config.php. How to set it and why 777 is never the answer.
- SSH "Permission denied (publickey)" on cPanel — fixing key auth rejection You added an SSH key but cPanel still answers "Permission denied (publickey)". The cause is almost always file permissions, the wrong key path, or an unauthorized key. Here is the checklist.
- SSH connection refused or timed out on a cPanel server — finding the block SSH to a cPanel server fails with "Connection refused" or hangs until it times out. The two errors mean different things. Here is how to tell which, and how to get back in.
- Taking a forensic backup of a compromised cPanel account before cleanup Before you clean a hacked cPanel account, capture an off-server forensic copy. It preserves the entry point, supports the incident record, and lets you recover mistaken deletions. Here is how to do it safely.
- Whitelisting a trusted IP in CSF and cPHulk on cPanel — both gates, done right How to allow-list your office, VPN, or monitoring IP so it is never blocked by the firewall or brute-force protection. Both CSF and cPHulk have separate allow lists — you usually need both.
- LUKS disk encryption — full-disk and detached header layouts Encrypting a Linux disk with LUKS2, choosing between full-disk and detached-header layouts, and unlocking remotely without typing a passphrase at boot.
- Protecting journald — forward append-only logs and seal them Configuring systemd-journald for persistent storage, append-only mode, FSS sealing, and remote forwarding so a compromised host cannot quietly rewrite history.
- Tuning vendor ModSecurity rules on cPanel without forking the rule set A discipline for adjusting ModSecurity vendor rules on cPanel servers — exclusions, severity changes, paranoia level shifts — that survives the next vendor update.
- Installing a manually issued SSL certificate on cPanel Step-by-step for installing a third-party SSL certificate (DigiCert, GoDaddy, GlobalSign) on a cPanel account via the SSL/TLS interface, with the gotchas around the chain.
- Hardening Exim on cPanel against open-relay accusations How to confirm your cPanel Exim is not an open relay, what to do if it has been listed, and the Exim ACL changes that prevent a recurrence.
- Audit-log retention policy that satisfies SOC 2, PIPEDA and GDPR in one configuration Three retention regimes converge on a single defensible config: thirteen months of hot, indexed audit logs plus seven years of cold immutable archive — here is how to operate it.