Control incoming requests
Last updated Apr 23, 2026 Use Custom rules to allow you to control incoming traffic by filtering requests to a zone. They work as customized web application firewall (WAF) rules that you can use to perform actions like Block or Managed Challenge on incoming requests.
Use WAF Managed Rules to apply custom criteria for all incoming HTTP requests.
Understand hosting plan limits
Cloudflare offsets most of the load to your website via caching and request filtering, but some traffic will still pass through to your origin. Knowing the limits of your hosting plan can help prevent a bottleneck from your host.
Once you are aware of your plan limits, you can use Rate Limiting to restrict how many times a requesting entity can make a request to your website.
To help you define the best rate limiting setting for your use case, refer to How Cloudflare determines the request rate.
Security models
- Positive Security policy: Allow specific requests and deny everything else.
- Negative Security policy: Block specific requests and allow everything else.
Actions
- Log: Test rule effectiveness before committing to a more severe action.
- Allow: Allow matching requests to access the site.
- Block: Block matching requests from accessing the site.
- Non-Interactive Challenge: Visitors will be shown a non-interactive challenge before proceeding.
- Interactive Challenge: Visitors will be shown an interactive challenge before proceeding.
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"WebPage","@id":"https://developers.cloudflare.com/learning-paths/surge-readiness/security/control-incoming-requests/#page","headline":"Control incoming requests","description":"Filter incoming requests with WAF rules.","url":"https://developers.cloudflare.com/learning-paths/surge-readiness/security/control-incoming-requests/","inLanguage":"en","image":"https://developers.cloudflare.com/learning-paths/surge-readiness/security/control-incoming-requests/og.png?v=cda05aef0d2e4e23","dateModified":"2026-04-23","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
description: Protect content from scraping and hotlinking. title: Defend content with Scrape Shield image: https://developers.cloudflare.com/learning-paths/surge-readiness/security/defend-content/og.png?v=7c69a05a75caeff8
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/learning-paths/llms.txt
Use this file to discover all available pages before exploring further.
Docs