---
title: Rate limit requests
summary: Use ratecounters and penalty boxes to stop high-volume automated attacks against your website.
url: https://www.fastly.com/documentation/solutions/examples/rate-limit-requests
---

Use ratecounters and penalty boxes to stop high-volume automated attacks against your website.

## VCL

[Try it in Fastly Fiddle](https://fiddle.fastly.dev/6a4424a1)

