vincent-porret
CDCloudflare Developers
•Created by vincent-porret on 10/8/2024 in #workers-help
Restrict outgoing worker traffic with whitelist
Hello,
Is it possible to restrict outgoing worker traffic ? Something like a firewall after the worker
I'd like to block all requests (http fetch, websocket..) except those made to specific authorized domains which i whitelisted earlier (on the cloudflare dashboard for example). The idea is to prevent any lib added to my worker from making request I'm not aware of and therefore prevent any potential data leak in the future.
thanks !
7 replies