Session Validator for Cloudflare [Deleted]

Mike Fara

Well-known member
Mike Fara submitted a new resource:

Session Validator for Cloudflare - Validates XenForo sessions and adds verification headers for Cloudflare WAF rules to distinguish bet

Session Validator for Cloudflare
Secure your XenForo forum with intelligent session validation

Overview
Session Validator for Cloudflare is a lightweight XenForo 2.2+ add-on that validates user sessions and adds verification headers for use with Cloudflare's Web Application Firewall (WAF) rules. This allows you to create sophisticated security rules that differentiate between authenticated forum members, guests, and...

Read more about this resource...
 
However, it is necessary to create an exception for bots, otherwise bots will not be able to index the site. Am I wrong? @Mike Fara

Bots cannot provide the following data:

XF-Verified-User: true
XF-Verified-Session: true
XF-Session-Validated: 1735695120
 
Mike Fara updated Session Validator for Cloudflare with a new update entry:

Bug fixes

What's Changed​

  • Use XenForo database connection instead of direct PDO
  • Simplify CSRF check to avoid double validation
  • Update to version 1.0.1

Improvements​

  • Better integration with XenForo's database layer
  • Cleaner CSRF validation logic
  • Improved code maintainability

Installation​

  1. Download the release ZIP file
  2. Extract to your XenForo installation's src/addons/ directory...

Read the rest of this update entry...
 
There is an issue with this version with the prepare statement and changes are coming in XF 2.4... standby
 
Code:
An exception occurred: [Error] Call to undefined method XF\Db\Mysqli\Adapter::prepare() in src/addons/WindowsForum/SessionValidator/Service/SessionValidator.php on line 107
 
Back
Top Bottom