Do firewall rules have access to KV? Can I use KV for a list of pages to block?

The firewall rules have a ‘lists’ setting but it is only good for keeping IP addresses.
Would like to use something similar to keep a list of urls that should be blocked by CF.
Do I need to write a worker for that?
Or can I keep the list as a KV set and use a firewall rule to block incoming calls to those urls?

Thanks

Firewall rules indeed don’t have a way to access KV. You’ll need to write a worker to handle that blocking.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.