WordPress Developer Ukraine, Kyiv
WordPress File Integrity Monitoring and Backdoor Detection

WordPress File Integrity Monitoring and Backdoor Detection

File integrity checks for WordPress: find modified and injected files After a hack, the first question is “which files were changed?”. Without a reference, nobody can say whether wp-includes/functions.php is original or has three extra lines at the end. WordPress publishes checksums for every core release, WP-CLI compares against them, and for plugins and themes…
Disable and Secure WordPress xmlrpc.php Against Brute-Force Attacks

Disable and Secure WordPress xmlrpc.php Against Brute-Force Attacks

Disable and secure xmlrpc.php against brute-force attacks xmlrpc.php is WordPress’ old remote API, older than the REST API: external applications can publish posts, manage comments, upload media and check credentials with XML requests. The security problem: it is a second login door next to wp-login.php. A custom login URL or a captcha on the login…
Nginx Rate Limiting for WordPress Login and REST API Endpoints

Nginx Rate Limiting for WordPress Login and REST API Endpoints

Nginx rate limiting for the WordPress login, XML-RPC and the REST API A brute-force attack on wp-login.php is mainly a load problem: every attempt starts PHP, loads WordPress and checks a password hash, which is deliberately slow. A security plugin blocks the attacker only after all that work is done. Nginx can limit the request…
WordPress Application Passwords for Secure REST API Authentication

WordPress Application Passwords for Secure REST API Authentication

WordPress Application Passwords for secure REST API authentication Application Passwords (WordPress 5.6+) let external scripts, apps and services authenticate to the REST API and XML-RPC without the user’s main password. Each one is a 24-character credential created per user and per application in Users → Profile → Application Passwords, shown in plain text only once…
Implement TOTP Two-Factor Authentication in WordPress Without a Plugin

Implement TOTP Two-Factor Authentication in WordPress Without a Plugin

Implement TOTP two-factor authentication in WordPress without a plugin Time-based one-time passwords (TOTP, RFC 6238) are what authenticator apps (Google Authenticator, Authy, 1Password) generate: a 6-digit code computed from a shared secret and the current time in 30-second steps. The server runs the same algorithm, so no third-party service is involved. A stolen or reused…
Configure Content Security Policy Headers for WordPress

Configure Content Security Policy Headers for WordPress

Configure a Content Security Policy for WordPress A Content Security Policy (CSP) header tells the browser which sources a page may load scripts, styles, images, fonts and frames from, and whether inline scripts may run. With a strict policy, an XSS injection that slips through cannot run its script, because the browser refuses it. The…