Lộ trình đang học Current learning path Current learning path

Application Services Application Services Application Services

Lộ trình cho website hoặc API đang chạy: kiến trúc, khi nào dùng từng lớp, rồi lab bấm theo trên dashboard. A path for a live website or API: the architecture, when to use each layer, then a dashboard lab. A path for a live website or API: the architecture, when to use each layer, then a dashboard lab.

Về trang lộ trình Track home Track home

Phần 3: Bảo mật baseline Part 3: Baseline security ផ្នែក 3: សុវត្ថិភាព baseline · Bài 1/4 Lesson 1/4 Lesson 1/4

Kiến thức Knowledge Knowledge Khoảng 12 phút About 12 min About 12 min

WAF, rate limit và bot: ba lớp khác nhau WAF, rate limiting, and bots: three different layers WAF, rate limiting, and bots: three different layers

Nên đọc trước: Read first: Read first: SSL/TLS: mode nào, và vì sao tránh Flexible SSL/TLS: which mode, and why to avoid Flexible SSL/TLS: which mode, and why to avoid Flexible

Ý chính Main ideas Main ideas

WAF managed chặn kiểu tấn công đã biết. Custom rule là luật bạn viết. Rate limit chặn khi một máy gửi quá nhiều request. Bot Fight, Super Bot Fight và Bot Management là ba sản phẩm bot khác nhau, không phải ba mức của cùng một nút. Managed WAF blocks known attack patterns. A custom rule is a rule you write. Rate limiting blocks a client that sends too many requests. Bot Fight Mode, Super Bot Fight Mode, and Bot Management are three different bot products, not three levels of one switch. Managed WAF blocks known attack patterns. A custom rule is a rule you write. Rate limiting blocks a client that sends too many requests. Bot Fight Mode, Super Bot Fight Mode, and Bot Management are three different bot products, not three levels of one switch.

Cách hoạt động How it works How it works

Chỉ request đi qua proxy mới qua các lớp này. Custom rule chạy trước. Rate limit chạy sau custom rule. Managed Rules là bộ luật Cloudflare giữ. Trên Enterprise, bạn có thể để luật ở Log để xem nó có chặn nhầm không, rồi mới đổi sang Block. Gói khác không có action Log: dùng Managed Challenge trên một path hẹp và xem Security Events trước khi chuyển sang Block. Bot Fight Mode (Free) không nằm trong Ruleset Engine nên custom rule không Skip được nó. Super Bot Fight Mode thì Skip được. Only requests that go through the proxy pass these layers. Custom rules run first. Rate limiting runs after custom rules. Managed Rules are the sets Cloudflare maintains. On Enterprise, you can leave a rule on Log to see if it would block real users, then switch it to Block. Other plans have no Log action: use Managed Challenge on a narrow path and check Security Events before you switch to Block. Bot Fight Mode (Free) is not in the Ruleset Engine, so a custom rule cannot Skip it. Super Bot Fight Mode can be skipped. Only requests that go through the proxy pass these layers. Custom rules run first. Rate limiting runs after custom rules. Managed Rules are the sets Cloudflare maintains. On Enterprise, you can leave a rule on Log to see if it would block real users, then switch it to Block. Other plans have no Log action: use Managed Challenge on a narrow path and check Security Events before you switch to Block. Bot Fight Mode (Free) is not in the Ruleset Engine, so a custom rule cannot Skip it. Super Bot Fight Mode can be skipped.

Kiến trúc Architecture Architecture

Nên chia theo đường dẫn (path): /login và /api cần rate limit chặt hơn trang tĩnh. Bot Fight Mode áp cả domain, không chọn từng path. Super Bot Fight Mode cũng áp cả domain, nhưng bạn chọn hành động theo nhóm bot (chắc chắn tự động, có thể tự động, bot đã xác minh). Bot Management (add-on Enterprise) cho điểm bot để viết custom rule theo path. Think by path: /login and /api need a tighter rate limit than a static page. Bot Fight Mode applies to the whole domain, not one path. Super Bot Fight Mode is also domain-wide, but you pick an action per bot group (definitely automated, likely automated, verified bots). Bot Management (an Enterprise add-on) gives a bot score so you can write a custom rule per path. Think by path: /login and /api need a tighter rate limit than a static page. Bot Fight Mode applies to the whole domain, not one path. Super Bot Fight Mode is also domain-wide, but you pick an action per bot group (definitely automated, likely automated, verified bots). Bot Management (an Enterprise add-on) gives a bot score so you can write a custom rule per path.

Khi nào dùng When to use it When to use it

Trên Free, Free Managed Ruleset đã bật sẵn. Giữ nó bật. Viết custom rule khi bạn biết path cần chặn hoặc challenge. Thêm một rate limit cho form hoặc login. Bật Bot Fight Mode trên Free nếu bạn chấp nhận không tạo ngoại lệ. On Free, the Free Managed Ruleset is already on. Leave it on. Write a custom rule when you know a path to block or challenge. Add one rate limiting rule for a form or login. Turn on Bot Fight Mode on Free if you can accept that you cannot make exceptions. On Free, the Free Managed Ruleset is already on. Leave it on. Write a custom rule when you know a path to block or challenge. Add one rate limiting rule for a form or login. Turn on Bot Fight Mode on Free if you can accept that you cannot make exceptions.

Khi nào không dùng When not to use it When not to use it

Đừng đổi sang Block ngay nếu bạn chưa xem Security Events. Đừng kỳ vọng Bot Fight Mode chừa IP của dịch vụ giám sát — nó không Skip được. Đừng mua Bot Management chỉ để bật công tắc bot trên Free: đó là add-on Enterprise. Do not switch to Block before you have looked at Security Events. Do not expect Bot Fight Mode to spare a monitoring service IP — it cannot be skipped. Do not buy Bot Management just to turn on the Free bot switch: it is an Enterprise add-on. Do not switch to Block before you have looked at Security Events. Do not expect Bot Fight Mode to spare a monitoring service IP — it cannot be skipped. Do not buy Bot Management just to turn on the Free bot switch: it is an Enterprise add-on.

Gói và giới hạn Plans and limits Plans and limits

Số liệu kiểm tra 2026-11-11. Custom rule: Free 5, Pro 20, Business 100, Enterprise 1.000. Regex từ Business; action Log chỉ Enterprise. Rate limit: Free 1 luật, kỳ đếm 10 giây. Pro 2, Business 5. Action trên Free không ghi là Block-only trong bảng availability — xem dashboard. Enterprise: bảng docs ghi 100 khi hợp đồng có application security, và footnote nói số luật phụ thuộc hợp đồng. Managed Rules: Free chỉ Free Managed Ruleset (gắn sẵn trên Free); Pro trở lên có Cloudflare Managed Ruleset. Bot Fight Mode trên Free, custom rule không Skip được. Super Bot Fight Mode trên Pro, Business và Enterprise (khi chưa có add-on Bot Management); custom rule với action Skip thì bỏ qua được. Nguồn: https://developers.cloudflare.com/waf/custom-rules/ https://developers.cloudflare.com/waf/rate-limiting-rules/ https://developers.cloudflare.com/waf/get-started/ https://developers.cloudflare.com/waf/feature-interoperability/ Numbers checked 2026-11-11. Custom rules: Free 5, Pro 20, Business 100, Enterprise 1,000. Regex starts on Business; the Log action is Enterprise only. Rate limiting rules: Free 1 rule, 10-second counting period. Pro 2, Business 5. The availability table does not list Block as the only Free action — check the dashboard. Enterprise: the docs table shows 100 when the contract includes application security, and a footnote says the count depends on the contract. Managed Rules: Free gets only the Free Managed Ruleset, and it is deployed by default on Free; Pro and above get the Cloudflare Managed Ruleset. Bot Fight Mode is on Free, and a custom rule cannot Skip it. Super Bot Fight Mode is on Pro, Business, and Enterprise when you do not have the Bot Management add-on; a custom rule with the Skip action can bypass it. Sources: https://developers.cloudflare.com/waf/custom-rules/ https://developers.cloudflare.com/waf/rate-limiting-rules/ https://developers.cloudflare.com/waf/get-started/ https://developers.cloudflare.com/waf/feature-interoperability/ Numbers checked 2026-11-11. Custom rules: Free 5, Pro 20, Business 100, Enterprise 1,000. Regex starts on Business; the Log action is Enterprise only. Rate limiting rules: Free 1 rule, 10-second counting period. Pro 2, Business 5. The availability table does not list Block as the only Free action — check the dashboard. Enterprise: the docs table shows 100 when the contract includes application security, and a footnote says the count depends on the contract. Managed Rules: Free gets only the Free Managed Ruleset, and it is deployed by default on Free; Pro and above get the Cloudflare Managed Ruleset. Bot Fight Mode is on Free, and a custom rule cannot Skip it. Super Bot Fight Mode is on Pro, Business, and Enterprise when you do not have the Bot Management add-on; a custom rule with the Skip action can bypass it. Sources: https://developers.cloudflare.com/waf/custom-rules/ https://developers.cloudflare.com/waf/rate-limiting-rules/ https://developers.cloudflare.com/waf/get-started/ https://developers.cloudflare.com/waf/feature-interoperability/

Không phải báo giá. Đối chiếu docs và dashboard. Kiểm tra lần cuối: 2026-11-11. Not a price quote. Check the docs and the dashboard. Last checked: 2026-11-11. Not a price quote. Check the docs and the dashboard. Last checked: 2026-11-11.

Thuật ngữ Glossary Glossary

  • Managed Rules Managed Rules Managed Rules

    Bộ luật Cloudflare viết sẵn cho lỗ hổng và kiểu tấn công đã biết. Rulesets Cloudflare writes for known vulnerabilities and attack patterns. Rulesets Cloudflare writes for known vulnerabilities and attack patterns.

  • Rate limit Rate limit Rate limit

    Giới hạn số request của một máy trong một khoảng thời gian. A cap on how many requests one client can send in a period of time. A cap on how many requests one client can send in a period of time.

Mở bảng thuật ngữ → Open the glossary → Open the glossary →

Làm lab Do the lab Do the lab

Lab nằm ở bài riêng. Đọc ý chính trước, rồi mở lab. Labs live on their own pages. Read the main ideas, then open a lab. Labs live on their own pages. Read the main ideas, then open a lab.

Ví dụ triển khai (Cloudflare Resources) Deployment examples (Cloudflare Resources) Deployment examples (Cloudflare Resources)

Ví dụ chính thức từ Cloudflare Resources — gợi ý theo chủ đề bài học trong lộ trình này. Official examples from Cloudflare Resources — matched to this lesson within this path. Official examples from Cloudflare Resources — matched to this lesson within this path.

Tutorial Tutorial Tutorial Application Services Application Services Application Services

Thêm ngoại lệ với Page Rules Add exceptions with Page Rules បន្ថែមករណីលើកលែងជាមួយ Page Rules

Page Rules cho phép bạn bỏ qua cài đặt khu vực cho các mẫu URL cụ thể. Chuyển hướng các URL cũ với một chuyển hướng 301 vĩnh viễn

Page Rules let you override zone settings for specific URL patterns. Redirects old URLs with a 301 permanent redirect.

Page Rules អនុញ្ញាតឱ្យអ្នកបដិសេធការកំណត់តំបន់សម្រាប់លំនាំ URL ជាក់លាក់។ បញ្ជូនបន្ត URLs ចាស់ជាមួយនឹង 301 ប្តូរទិសអចិន្ត្រៃយ៍។

Tìm hiểu thêm Learn more ស្វែងយល់បន្ថែម
Tutorial Tutorial Tutorial Application Services Application Services Application Services

Azure quản lý HSM Azure Managed HSM Azure គ្រប់គ្រង HSM

Hướng dẫn này sử dụng Managed HSM của Microsoft Azure để triển khai một VM với keyless SSL daemon. Làm theo các hướng dẫn này để triển khai máy chủ không chìa khóa của bạn.

This tutorial uses Microsoft Azure's Managed HSM to deploy a VM with the Keyless SSL daemon. Follow these instructions to deploy your keyless server.

ការបង្រៀននេះប្រើ Microsoft Azure's Managed HSM ដើម្បីដាក់ពង្រាយ VM ជាមួយនឹងដេមិន Keyless SSL ។ អនុវត្តតាមការណែនាំទាំងនេះ ដើម្បីដាក់ឱ្យប្រើម៉ាស៊ីនមេដែលគ្មានសោរបស់អ្នក។

Tìm hiểu thêm Learn more ស្វែងយល់បន្ថែម

Xem thêm ví dụ trong lộ trình → More examples in this path → More examples in this path →

Tài liệu Cloudflare Developers Cloudflare Developer docs Cloudflare Developer docs

Học xong hoặc muốn đổi hướng? Finished or want a different path? Finished or want a different path?

Ba lộ trình độc lập — mỗi lộ trình chỉ gồm bài học và tài liệu trong phạm vi đó. Chọn lộ trình khác khi sẵn sàng, không cần học song song. Three independent paths — each includes only lessons and materials for that scope. Switch when you are ready; no need to study paths in parallel. Three independent paths — each includes only lessons and materials for that scope. Switch when you are ready; no need to study paths in parallel.

Chưa chắc — làm bài chọn lộ trình Not sure — use the path selector Not sure — use the path selector · So sánh cả ba lộ trình Compare all three paths Compare all three paths