i want to block cloudflare workers from scraping my website

i want to block cloudflare workers from scraping my website
3 Replies
MysticByte
MysticByteOP3w ago
i have used (cf.worker.upstream_zone ne "") but it's not allowed to do that
Cyb3r-Jak3
Cyb3r-Jak33w ago
What do you mean by not allowed? I am able to deploy a firewall rule using that syntax
MysticByte
MysticByteOP2w ago
Sorry, I used the wrong page to block it. I didn't know about the firewall thing. I have blocked it now, but is there any method they can use to bypass the attack mode protection? For the origin IP method, I have blocked any request where the IP didn’t come from Cloudflare ipv4 subnet (https://www.cloudflare.com/ips-v4/) (i.e., the original connection IP, not the CF-Tunnel-IP header).

Did you find this page helpful?