Security and lockout: real IP detection, bot protection and data privacy
Detect the visitor's real IP, sign every pass on the server, lock out failed attempts, stop bots and control how long data is kept.
On this page
Open Age Verification → Security & Lockout.
Real IP detection
IP source is Automatic by default. The screen compares the IP the plugin sees with your real public IP and checks for Cloudflare. If the two don’t match, choose Behind another CDN / proxy or Always behind Cloudflare, then save.
Warning: Lockouts, geo-location and logs all depend on the real IP. Fix this first if you’re behind a proxy.
Verification strength
- Every successful check is confirmed by the server and stored in a signed cookie that visitors can’t create themselves.
- Strict server-side verification makes WooCommerce checkout rules and
[age_restricted]content accept only that signed cookie. - Keep Let visitors in when the bot check can’t be reached switched off.
Lockout
Strict lockout locks a visitor out after a failed check for a set number of hours (24 by default) and shows your lockout message.
Tamper protection
- Inspect-element blocker disables right-click, F12 and Ctrl+Shift+I while the gate is open.
- Maximum age sets an upper limit (for example 100) so obviously fake birth years are rejected.
Bot protection
Choose Cloudflare Turnstile (recommended) or Google reCAPTCHA v3 with a minimum score.
Data privacy
- Encrypt stored ID documents with AES-256 — files then only open from the dashboard.
- Delete ID documents after a number of days.
- Delete compliance log entries after a number of days. A daily task does the clean-up.
- Remove all plugin data when the plugin is deleted.
Warning: Don’t change your WordPress security keys while encrypted documents are stored — they’re needed to decrypt them.