We have a 3rd party security scanner tool that crawls our site. They are filtered out of our data set using our bot rules. However, we are still billed for all of the server calls even though the traffic is flagged as a bot. Is there anyway to turn off the image request so we will not be billed for the server calls it generates?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Eric,
You would have to write some custom code in your s_code file that aborts the request.
You would also need to access some flag from javascript that distinguishes the scanner from a real visitor. I'm not sure if you can configure your scanner tool to set any cookies or make any data available to the javascript context. If you can, then it would work like this:
Probably in doPlugins, you would write some condition:
if (/* cookie is set, or javascript that distinguishes your scanner is true */) { s.abort = true; }
Thanks,
Ben
Views
Replies
Total Likes
Hi Eric,
You would have to write some custom code in your s_code file that aborts the request.
You would also need to access some flag from javascript that distinguishes the scanner from a real visitor. I'm not sure if you can configure your scanner tool to set any cookies or make any data available to the javascript context. If you can, then it would work like this:
Probably in doPlugins, you would write some condition:
if (/* cookie is set, or javascript that distinguishes your scanner is true */) { s.abort = true; }
Thanks,
Ben
Views
Replies
Total Likes