Khám phá và bảo mật các điểm cuối API của bạn (Miễn phí, Pro và Doanh nghiệp) Discover and secure your API endpoints (Free, Pro, and Business) ស្វែងរកនិងការធានា API របស់អ្នក (ដោយឥតគិតថ្លៃ, អ្នកជំនាញនិងអាជីវកម្ម)
Hướng dẫn chi tiết đồng bộ từ docs Cloudflare — mỗi section có backlink tới đúng vị trí trên trang gốc. Detailed guide synced from Cloudflare docs — each section links to the matching anchor on the official page. មគ្គុទ្ទេសក៍លម្អិតធ្វើសមកាលពី docs Cloudflare — ផ្នែកនីមួយៗមានតំណទៅទីតាំងត្រូវគ្នានៅទំព័រផ្លូវការ។
← Danh mục ← Catalog ← បញ្ជីGiải thích nhanh Quick context បរិបទរហ័ស
Tutorial đa lĩnh vực — kết hợp nhiều sản phẩm Cloudflare. Tutorial «Discover và secure your API endpoints (Free, Pro, và Business)» giúp bạn làm quen luồng triển khai thật — phù hợp đọc trước khi mở tài liệu gốc tiếng Anh. Đọc phần tóm tắt và lưu ý trước — sau đó mở docs gốc để copy lệnh và cấu hình chi tiết.
Block API abuse, restrict unauthorized access, and monitor endpoint traffic using layered Cloudflare security features.
ការកាត់បន្ថយការប្រើប្រាស់ API ការកាត់បន្ថយការប្រើប្រាស់ access ដែលមិនបានអនុញ្ញាតនិងការត្រួតពិនិត្យការដឹកជញ្ជូន endpoint ដោយប្រើកម្មវិធីសុវត្ថិភាព Cloudflare ។
Lưu ý Note ចំណាំ
Lưu ý trước khi làm Notes before you start ចំណាំមុនពេលចាប់ផ្តើម
- Đây là bản tóm tắt trên Orange Cloud Learning Hub — không thay thế tài liệu chính thức.
- Luôn mở liên kết «Tài liệu gốc» bên dưới khi cần lệnh CLI, snippet code và ảnh minh họa đầy đủ.
- Docs Cloudflare cập nhật thường xuyên — đối chiếu ngày «Rà soát lần cuối» trên trang gốc khi triển khai production.
- This is a summary on Orange Cloud Learning Hub — it does not replace the official documentation.
- Open the Official docs link below for CLI commands, code snippets, and full screenshots.
- Cloudflare docs change frequently — verify the Last reviewed date on the official page before production use.
- នេះគឺជាការបញ្ជាក់អំពី Orange Cloud Learning Hub — វាគឺជាការផ្លាស់ប្តូរនៃឯកសារផ្លូវការ។
- ចុចតំណភ្ជាប់ Docs Official នៅខាងក្រោមសម្រាប់ការបញ្ជា CLI, សៀវភៅកូដនិងរូបថតពេញលេញ។
- Cloudflare បានផ្លាស់ប្តូរជាធម្មតានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅ។
Overview Overview Overview
Phần «Tổng quan» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "Overview" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «Overview» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)
Biết những gì bạn đang phơi bày Know what you are exposing សូមដឹងអំពីអ្វីដែលអ្នកបង្ហាញ
Phần «Know what you are exposing» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "Know what you are exposing" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «សូមដឹងអំពីអ្វីដែលអ្នកបង្ហាញ» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
Kiểm tra bề mặt API của bạn bằng tay Audit your API surface manually ការត្រួតពិនិត្យផ្ទៃ API របស់អ្នកដោយផ្ទាល់
Phần «Audit your API surface manually» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "Audit your API surface manually" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «ការត្រួតពិនិត្យផ្ទៃ API របស់អ្នកដោយផ្ទាល់» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
- Xem lại cấu hình định tuyến của ứng dụng của bạn và liệt kê từng điểm cuối với phương pháp HTTP và các thông số dự kiến.
- Review your application's routing configuration and list every endpoint with its HTTP method and expected parameters.
- ការពិនិត្យឡើងវិញកំណត់ដំណើរការកម្មវិធីរបស់អ្នកនិងបញ្ចូលគ្នានៃទីបញ្ចប់ទាំងអស់ជាមួយនឹងវិធី HTTP និងទំហំដែលគួរឱ្យចាប់ផ្តើម។
- Thể loại từng điểm cuối theo mức access (chính thức, công khai, nội bộ). Ưu tiên các điểm cuối chấp nhận tải lên tệp, xử lý thanh toán hoặc trả về dữ liệu nhạy cảm.
- Categorize each endpoint by access level (public, authenticated, internal). Prioritize endpoints that accept file uploads, process payments, or return sensitive data.
- ប្រភេទបញ្ចប់ទាំងអស់ដោយទំហំ access (ប្រព័ន្ធគ្រប់គ្រង, ដោយផ្ទាល់ខ្លួន, ដោយផ្ទាល់ខ្លួន) ។ គោលដៅនៃបញ្ចប់ដែលទទួលយកការទាញយកឯកសារ, ការដំណើរការការទូទាត់, ឬដំណើរការទូទាត់ទិន្នន័យដែលមានអារម្មណ៍។
- Lưu trữ hàng tồn kho trong một bảng tính hoặc tệp sơ đồ OpenAPI để tham khảo khi viết các biểu thức quy tắc trong các phần sau. Nếu bạn đã có một thông số kỹ thuật OpenAPI, bạn có thể sử dụng nó trực tiếp với API Shield schema validation (được bao gồm trong Enterprise callout dưới đây).
- Record the inventory in a spreadsheet or OpenAPI schema file for reference when writing rule expressions in later sections. If you already have an OpenAPI specification, you can use it directly with API Shield's schema validation (covered in the Enterprise callout below).
- សៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅសៀវភៅ ប្រសិនបើអ្នកមានឯកសារ OpenAPI នៅពេលនេះអ្នកអាចប្រើវាដោយផ្ទាល់ជាមួយនឹងការត្រួតពិនិត្យគំរូ API Shield ។
Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)
Áp dụng HTTPS cho tất cả lưu lượng truy cập API Enforce HTTPS for all API traffic ការអនុវត្ត HTTPS សម្រាប់ការដឹកជញ្ជូនទាំងអស់ API
Phần «Enforce HTTPS for all API traffic» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "Enforce HTTPS for all API traffic" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «ការអនុវត្ត HTTPS សម្រាប់ការដឹកជញ្ជូនទាំងអស់ API» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
Cài đặt SSL/TLS chế độ mã hóa Set your SSL/TLS encryption mode ការកំណត់ SSL / TLS របស់អ្នក
Phần «Set your SSL/TLS encryption mode» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "Set your SSL/TLS encryption mode" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «ការកំណត់ SSL / TLS របស់អ្នក» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
- Trong bảng điều khiển Cloudflare, đi đến trang SSL/TLS Overview.
- In the Cloudflare dashboard, go to the SSL/TLS Overview page.
- ក្នុងប្រព័ន្ធប្រតិបត្តិការ Cloudflare សូមចូលទៅក្នុងទំព័រ SSL/TLS Overview ។
- Đối với SSL/TLS encryption, hãy chọn Full (Strict).
- For SSL/TLS encryption, select Full (Strict).
- សម្រាប់ SSL/TLS encryption ចុច Full (Strict) ។
Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)
Chuyển sang Always Use HTTPS Turn on Always Use HTTPS ទាញយក Always Use HTTPS
Phần «Turn on Always Use HTTPS» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "Turn on Always Use HTTPS" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «ទាញយក Always Use HTTPS» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
- Trong bảng điều khiển Cloudflare, đi đến trang SSL/TLS Overview.
- In the Cloudflare dashboard, go to the SSL/TLS Overview page.
- ក្នុងប្រព័ន្ធប្រតិបត្តិការ Cloudflare សូមចូលទៅក្នុងទំព័រ SSL/TLS Overview ។
- Đảm bảo rằng SSL/TLS encryption mode không được đặt thành Off. Tùy chọn Always Use HTTPS không hiển thị khi mã hóa bị tắt.
- Đi đến trang Edge Certificates.
- Verify that your SSL/TLS encryption mode is not set to Off. The Always Use HTTPS option is not visible when encryption is off.
- Go to the Edge Certificates page.
- សូមបញ្ជាក់ថា SSL/TLS encryption mode របស់អ្នកមិនត្រូវបានកំណត់ទៅ Off ។ ទម្រង់ Always Use HTTPS មិនអាចមើលឃើញនៅពេលដែលការអេក្រង់អេក្រង់អេក្រង់អេក្រង់អេក្រង់អេក្រង់អេក្រង់អេក្រង់អេក្រង់អេក្រង់អេក្រង់។
- សូមចូលទៅក្នុងទំព័រ Edge Certificates ។
- Nhấp vào Always Use HTTPS
- Turn on Always Use HTTPS.
- សូមចុច Always Use HTTPS ។
Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)
Đặt tối thiểu TLS phiên bản thành 1.2 Set minimum TLS version to 1.2 ទាញយក TLS ទាញយក 1.2
Phần «Set minimum TLS version to 1.2» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "Set minimum TLS version to 1.2" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «ទាញយក TLS ទាញយក 1.2» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
- Trong bảng điều khiển Cloudflare, đi đến trang Edge Certificates.
- In the Cloudflare dashboard, go to the Edge Certificates page.
- ក្នុងប្រព័ន្ធប្រតិបត្តិការ Cloudflare សូមចូលទៅក្នុងទំព័រ Edge Certificates ។
- Đối với Minimum TLS Version, hãy chọn TLS 1.2.
- For Minimum TLS Version, select TLS 1.2.
- សម្រាប់ Minimum TLS Version ចុច TLS 1.2 ។
Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)
Tắt HTTPS tự động viết lại cho API-chỉ tên miền Disable Automatic HTTPS Rewrites for API-only domains បិទ HTTPS ដោយស្វ័យប្រវត្តិ Rewrites សម្រាប់ API-តែឧបករណ៍
Phần «Disable Automatic HTTPS Rewrites for API-only domains» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "Disable Automatic HTTPS Rewrites for API-only domains" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «បិទ HTTPS ដោយស្វ័យប្រវត្តិ Rewrites សម្រាប់ API-តែឧបករណ៍» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
- Trong bảng điều khiển Cloudflare, đi đến trang Edge Certificates.
- In the Cloudflare dashboard, go to the Edge Certificates page.
- ក្នុងប្រព័ន្ធប្រតិបត្តិការ Cloudflare សូមចូលទៅក្នុងទំព័រ Edge Certificates ។
- Tắt Automatic HTTPS Rewrites
- Turn off Automatic HTTPS Rewrites.
- ទាញយក Automatic HTTPS Rewrites ។
Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)
Hạn chế access đến các điểm cuối của bạn API Restrict access to your API endpoints ការកាត់បន្ថយ access ទៅ API របស់អ្នក
Phần «Restrict access vào API endpoints» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "Restrict access to your API endpoints" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «ការកាត់បន្ថយ access ទៅ API របស់អ្នក» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
Content-Type: application/json và yêu cầu các con đường được tài liệu. Ứng dụng bảo mật custom rules cho phép bạn chặn lưu lượng truy cập lệch từ các mô hình này. Rate limiting rules Cap yêu cầu khối lượng cho mỗi khách hàng để ngăn chặn lạm dụng.Content-Type: application/json, and requests to documented paths. Application Security custom rules let you block traffic that deviates from these patterns. Rate limiting rules cap request volume per client to prevent abuse.Content-Type: application/json, and requests to documented paths. Application Security custom rules let you block traffic that deviates from these patterns. Rate limiting rules cap request volume per client to prevent abuse.Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)
Block yêu cầu thiếu headers mong đợi Block requests missing expected headers Blocks Requests ការបាត់បន្ថយ Headers អរគុណ
Phần «Block requests missing expected headers» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "Block requests missing expected headers" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «Blocks Requests ការបាត់បន្ថយ Headers អរគុណ» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
Content-Type và có thể bao gồm tiêu đề Authorization hoặc tiêu đề khóa API tùy chỉnh. Yêu cầu đến các con đường API của bạn thiếu các tiêu đề này không đến từ khách hàng dự kiến của bạn.Content-Type header and may include an Authorization header or a custom API key header. Requests to your API paths that lack these headers are not from your expected clients.Content-Type និងអាចរួមបញ្ចូលគោលបំណង Authorization ឬគោលបំណងគោលបំណង API ។ គោលបំណងទៅលើផ្លូវរបស់អ្នក API ដែលមិនមានកំណត់ទាំងនេះគឺមិនពីអតិថិជនដែលអ្នកគិត។/api/ đường dẫn mà đang thiếu một Content-Type header. Điều chỉnh đường dẫn và kiểm tra tiêu đề để phù hợp với API của bạn./api/ paths that are missing a Content-Type header. Adjust the path and header checks to match your API./api/ ទម្រង់ដែលមិនមាន Content-Type header ។ ការត្រួតពិនិត្យដំណើរការនិងការត្រួតពិនិត្យ header ដើម្បីត្រឹមត្រូវជាមួយ API របស់អ្នក។- Trong bảng điều khiển Cloudflare, đi đến Security \> Security rules.
- In the Cloudflare dashboard, go to Security \> Security rules.
- នៅលើប្រព័ន្ធប្រតិបត្តិការ Cloudflare សូមចូលទៅ Security \> Security rules ។
- Chọn Create rule \> Custom rules.
- Xác định tên quy tắc Ví dụ như
Block API requests missing Content-Type. - Trong trình soạn thảo biểu thức, nhập:
- Select Create rule \> Custom rules.
- Define the rule name. For example,
Block API requests missing Content-Type. - In the expression editor, enter:
- សូមចុច Create rule > Custom rules ។
- សូមបញ្ជាក់ឈ្មោះច្បាប់។ ដូចជា
Block API requests missing Content-Type។ - ក្នុងកម្មវិធីសរសេរកម្មវិធីសរសេរកម្មវិធីសរសេរកម្មវិធី, enter:
(starts_with(http.request.uri.path, "/api/") and not len(http.request.headers["content-type"][0]) > 0) - Đối với Choose action, hãy chọn Block.
- Chọn Deploy
- For Choose action, select Block.
- Select Deploy.
- សម្រាប់ Choose action ចុច Block ។
- សូមជ្រើស Deploy ។
- Đăng nhập vào Cloudflare dashboard ↗ và chọn tài khoản và tên miền của bạn.
- Đi đến Security \> WAF \> Custom rules.
- Chọn Create rule
- Xác định tên quy tắc Ví dụ như
Block API requests missing Content-Type. - Trong trình soạn thảo biểu thức, nhập:
- Log in to the Cloudflare dashboard ↗, and select your account and domain.
- Go to Security \> WAF \> Custom rules.
- Select Create rule.
- Define the rule name. For example,
Block API requests missing Content-Type. - In the expression editor, enter:
- ចុច Cloudflare dashboard ↗ ហើយជ្រើសគណនីរបស់អ្នកនិងតំបន់បណ្ដាញរបស់អ្នក។
- ចុចទៅ Security \> WAF \> Custom rules ។
- សូមជ្រើស Create rule ។
- សូមបញ្ជាក់ឈ្មោះច្បាប់។ ដូចជា
Block API requests missing Content-Type។ - ក្នុងកម្មវិធីសរសេរកម្មវិធីសរសេរកម្មវិធីសរសេរកម្មវិធី, enter:
(starts_with(http.request.uri.path, "/api/") and not len(http.request.headers["content-type"][0]) > 0) - Đối với Choose action, hãy chọn Block.
- Chọn Deploy
- For Choose action, select Block.
- Select Deploy.
- សម្រាប់ Choose action ចុច Block ។
- សូមជ្រើស Deploy ។
Giới hạn HTTP phương pháp cho từng điểm cuối Restrict HTTP methods per endpoint ការកាត់បន្ថយ HTTP ឧបករណ៍ per endpoint
Phần «Restrict HTTP methods per endpoint» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "Restrict HTTP methods per endpoint" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «ការកាត់បន្ថយ HTTP ឧបករណ៍ per endpoint» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
/api/users của bạn chỉ chấp nhận yêu cầu GET và POST, hãy chặn tất cả các phương pháp HTTP khác trên con đường đó. Điều này ngăn chặn kẻ tấn công điều tra với yêu cầu PUT, DELETE hoặc PATCH chống lại các điểm cuối không hỗ trợ họ./api/users endpoint only accepts GET and POST requests, block all other HTTP methods on that path. This prevents attackers from probing with PUT, DELETE, or PATCH requests against endpoints that do not support them./api/users endpoint only accepts GET and POST requests, block all other HTTP methods on that path. This prevents attackers from probing with PUT, DELETE, or PATCH requests against endpoints that do not support them.- Trong bảng điều khiển Cloudflare, đi đến Security \> Security rules.
- In the Cloudflare dashboard, go to Security \> Security rules.
- នៅលើប្រព័ន្ធប្រតិបត្តិការ Cloudflare សូមចូលទៅ Security \> Security rules ។
- Chọn Create rule \> Custom rules.
- Xác định tên quy tắc Ví dụ như
Block unexpected methods on /api/users. - Trong trình soạn thảo biểu thức, nhập:
- Select Create rule \> Custom rules.
- Define the rule name. For example,
Block unexpected methods on /api/users. - In the expression editor, enter:
- សូមចុច Create rule > Custom rules ។
- សូមបញ្ជាក់ឈ្មោះច្បាប់។ ដូចជា
Block unexpected methods on /api/users។ - ក្នុងកម្មវិធីសរសេរកម្មវិធីសរសេរកម្មវិធីសរសេរកម្មវិធី, enter:
(http.request.uri.path eq "/api/users" and http.request.method ne "GET" and http.request.method ne "POST") - Đối với Choose action, hãy chọn Block.
- Chọn Deploy
- For Choose action, select Block.
- Select Deploy.
- សម្រាប់ Choose action ចុច Block ។
- សូមជ្រើស Deploy ។
- Đăng nhập vào Cloudflare dashboard ↗ và chọn tài khoản và tên miền của bạn.
- Đi đến Security \> WAF \> Custom rules
- Chọn Create rule
- Xác định tên quy tắc Ví dụ như
Block unexpected methods on /api/users. - Trong trình soạn thảo biểu thức, nhập:
- Log in to the Cloudflare dashboard ↗, and select your account and domain.
- Go to Security \> WAF \> Custom rules
- Select Create rule.
- Define the rule name. For example,
Block unexpected methods on /api/users. - In the expression editor, enter:
- ចុច Cloudflare dashboard ↗ ហើយជ្រើសគណនីរបស់អ្នកនិងតំបន់បណ្ដាញរបស់អ្នក។
- ចុចទៅ Security & > WAF > Custom rules
- សូមជ្រើស Create rule ។
- សូមបញ្ជាក់ឈ្មោះច្បាប់។ ដូចជា
Block unexpected methods on /api/users។ - ក្នុងកម្មវិធីសរសេរកម្មវិធីសរសេរកម្មវិធីសរសេរកម្មវិធី, enter:
(http.request.uri.path eq "/api/users" and http.request.method ne "GET" and http.request.method ne "POST") - Đối với Choose action, hãy chọn Block.
- Chọn Deploy
- For Choose action, select Block.
- Select Deploy.
- សម្រាប់ Choose action ចុច Block ។
- សូមជ្រើស Deploy ។
- Thêm điểm cuối API vào Endpoint Management from a schema hoặc manually.
- Tạo quy tắc vượt qua ngăn chặn các yêu cầu không khớp với điểm cuối đã lưu trong Endpoint Management.
- Add your API endpoints to Endpoint Management from a schema or manually.
- Create a fallthrough rule that blocks requests that do not match a saved endpoint in Endpoint Management.
- បន្ថែមបញ្ចប់ API របស់អ្នកទៅ Endpoint Management from a schema ឬ manually ។
- បានបង្កើតกฎការបង្វិលដែលកាត់បន្ថយសំណួរដែលមិនត្រឹមត្រូវជាមួយបញ្ចប់ដែលបានសរសេរនៅក្នុង Endpoint Management ។
Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)
Giới hạn tỷ lệ API điểm cuối Rate limit API endpoints លក្ខណៈពិសេស API Endpoints
Phần «Rate limit API endpoints» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "Rate limit API endpoints" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «លក្ខណៈពិសេស API Endpoints» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
/api/auth/login đến 10 mỗi phút cho mỗi địa chỉ IP. Điều chỉnh con đường, yêu cầu ngưỡng và thời gian cho điểm cuối của bạn./api/auth/login to 10 per minute per IP address. Adjust the path, request threshold, and period for your endpoints./api/auth/login ទៅ 10 ក្នុងមួយ នាទីសម្រាប់អាសយដ្ឋាន IP ។ សូមផ្ដល់នូវដំណោះស្រាយនិងតម្រូវការសម្រាប់ចំណុចបញ្ចប់របស់អ្នក- Trong bảng điều khiển Cloudflare, đi đến trang Security rules.
- In the Cloudflare dashboard, go to the Security rules page.
- ក្នុងប្រព័ន្ធប្រតិបត្តិការ Cloudflare សូមចូលទៅក្នុងទំព័រ Security rules ។
- Chọn Create rule \> Rate limiting rules.
- Nhập tên mô tả Ví dụ như
Rate limit login endpoint. - Trong Field, hãy chọn URI Path. Đặt Operator thành equals và Value thành
/api/auth/login. - Bên dưới With the same characteristics, thêm IP.
- Trong When rate exceeds, đặt Requests thành
10và Period thành 1 minute. - Trong Then take action, chọn Block.
- Đặt Duration (thời gian giảm thiểu) thành 1 minute.
- Chọn Deploy
- Select Create rule \> Rate limiting rules.
- Enter a descriptive name. For example,
Rate limit login endpoint. - In the Field drop-down, select URI Path. Set Operator to equals and Value to
/api/auth/login. - Under With the same characteristics, add IP.
- Under When rate exceeds, set Requests to
10and Period to 1 minute. - Under Then take action, select Block.
- Set the Duration (mitigation timeout) to 1 minute.
- Select Deploy.
- សូមចុច Create rule > Rate limiting rules ។
- ទាញយកឈ្មោះដែលមានលក្ខណៈពិសេស ដូចជា
Rate limit login endpoint។ - នៅលើ Field ទាញយកចុច URI Path ។ ទាញយក Operator ទៅ equals និង Value ទៅ
/api/auth/login។ - នៅក្រោម With the same characteristics បន្ថែម IP ។
- នៅក្រោម When rate exceeds បានកំណត់ Requests ទៅ
10និង Period ទៅ 1 minute ។ - នៅក្រោម Then take action ចុច Block ។
- ទាញយក Duration ទៅ 1 minute ។
- សូមជ្រើស Deploy ។
- Đăng nhập vào Cloudflare dashboard ↗ và chọn tài khoản và khu vực của bạn.
- Đi đến Security \> WAF \> Rate limiting rules.
- Chọn Create rule
- Nhập tên mô tả Ví dụ như
Rate limit login endpoint. - Trong Field, hãy chọn URI Path. Đặt Operator thành equals và Value thành
/api/auth/login. - Bên dưới With the same characteristics, thêm IP.
- Trong When rate exceeds, đặt Requests thành
10và Period thành 1 minute. - Trong Then take action, chọn Block.
- Đặt Duration (thời gian giảm thiểu) thành 1 minute.
- Chọn Deploy
- Log in to the Cloudflare dashboard ↗, and select your account and zone.
- Go to Security \> WAF \> Rate limiting rules.
- Select Create rule.
- Enter a descriptive name. For example,
Rate limit login endpoint. - In the Field drop-down, select URI Path. Set Operator to equals and Value to
/api/auth/login. - Under With the same characteristics, add IP.
- Under When rate exceeds, set Requests to
10and Period to 1 minute. - Under Then take action, select Block.
- Set the Duration (mitigation timeout) to 1 minute.
- Select Deploy.
- ចុច Cloudflare dashboard ↗ ហើយជ្រើសគណនីនិងតំបន់របស់អ្នក។
- ចុចទៅ Security \> WAF \> Rate limiting rules ។
- សូមជ្រើស Create rule ។
- ទាញយកឈ្មោះដែលមានលក្ខណៈពិសេស ដូចជា
Rate limit login endpoint។ - នៅលើ Field ទាញយកចុច URI Path ។ ទាញយក Operator ទៅ equals និង Value ទៅ
/api/auth/login។ - នៅក្រោម With the same characteristics បន្ថែម IP ។
- នៅក្រោម When rate exceeds បានកំណត់ Requests ទៅ
10និង Period ទៅ 1 minute ។ - នៅក្រោម Then take action ចុច Block ។
- ទាញយក Duration ទៅ 1 minute ។
- សូមជ្រើស Deploy ។
Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)
Bảo vệ chống lại sự lạm dụng tự động API Protect against automated API abuse ការពារពីការប្រើប្រាស់ដោយស្វ័យប្រវត្តិ API
Phần «Bảo vệ against automated API abuse» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "Protect against automated API abuse" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «ការពារពីការប្រើប្រាស់ដោយស្វ័យប្រវត្តិ API» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
Turn on Bot Fight Mode (Miễn phí) Turn on Bot Fight Mode (Free) ចុចលើ Bot Fight Mode (ដោយឥតគិតថ្លៃ)
Phần «Turn on Bot Fight Mode (Free)» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "Turn on Bot Fight Mode (Free)" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «ចុចលើ Bot Fight Mode (ដោយឥតគិតថ្លៃ)» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
- Trong bảng điều khiển Cloudflare, đi đến trang Security Settings.
- In the Cloudflare dashboard, go to the Security Settings page.
- ក្នុងប្រព័ន្ធប្រតិបត្តិការ Cloudflare សូមចូលទៅក្នុងទំព័រ Security Settings ។
- Lọc theo Bot traffic
- Đi đến Bot fight mode
- Nhấn Bot fight mode vào.
- Filter by Bot traffic.
- Go to Bot fight mode.
- Turn Bot fight mode on.
- កញ្ចប់ដោយ Bot traffic
- សូមចូលទៅ Bot fight mode ។
- ចុច Bot fight mode នៅលើ។
- Đăng nhập vào Cloudflare dashboard ↗ và chọn tài khoản và tên miền của bạn.
- Đi đến Security \> Bots.
- Đối với Bot Fight Mode, hãy chọn On.
- Log in to the Cloudflare dashboard ↗, and select your account and domain.
- Go to Security \> Bots.
- For Bot Fight Mode, select On.
- ចុច Cloudflare dashboard ↗ ហើយជ្រើសគណនីរបស់អ្នកនិងតំបន់បណ្ដាញរបស់អ្នក។
- ចុចទៅ Security \> Bots ។
- សម្រាប់ Bot Fight Mode ចុច On ។
Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)
Tạo các quy tắc ngoại lệ cho các khách hàng bot hợp pháp (Pro, Business) Create exception rules for legitimate bot clients (Pro, Business) ការបង្កើតច្បាប់ការប៉ះពាល់សម្រាប់អតិថិជន bot ដែលមានជំនាញវិជ្ជាជីវៈ (Pro, Business)
Phần «Tạo exception rules for legitimate bot clients (Pro, Business)» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "Create exception rules for legitimate bot clients (Pro, Business)" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «ការបង្កើតច្បាប់ការប៉ះពាល់សម្រាប់អតិថិជន bot ដែលមានជំនាញវិជ្ជាជីវៈ (Pro, Business)» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
- Trong bảng điều khiển Cloudflare, đi đến Security \> Security rules.
- In the Cloudflare dashboard, go to Security \> Security rules.
- នៅលើប្រព័ន្ធប្រតិបត្តិការ Cloudflare សូមចូលទៅ Security \> Security rules ។
- Chọn Create rule \> Custom rules.
- Xác định tên quy tắc Ví dụ như
Skip bot protections for monitoring service. - Tạo một biểu thức phù hợp với lưu lượng bot đã biết của bạn. Ví dụ, để bỏ qua bảo vệ cho các yêu cầu từ một phạm vi IP cụ thể với một User-Agent đã biết:
- Select Create rule \> Custom rules.
- Define the rule name. For example,
Skip bot protections for monitoring service. - Build an expression that matches your known bot traffic. For example, to skip protections for requests from a specific IP range with a known User-Agent:
- សូមចុច Create rule > Custom rules ។
- សូមបញ្ជាក់ឈ្មោះច្បាប់។ ដូចជា
Skip bot protections for monitoring service។ - បានបង្កើតការសរសេរដែលសមរម្យជាមួយនឹងការដឹកជញ្ជូន bot ដែលអ្នកដឹង។ ឧទាហរណ៍ដើម្បីបាត់បង់ការពារសម្រាប់សំណួរពីតម្រូវការ IP ដែលមានអេក្រង់អ្នកប្រើដែលបានដឹង:
(ip.src in {203.0.113.0/24} and http.user_agent contains "MonitoringBot") - Đối với Choose action, chọn Skip và sau đó chọn All Super Bot Fight Mode rules.
- Chọn Deploy
- For Choose action, select Skip and then select All Super Bot Fight Mode rules.
- Select Deploy.
- សម្រាប់ Choose action សូមជ្រើស Skip បន្ទាប់មកជ្រើស All Super Bot Fight Mode rules ។
- សូមជ្រើស Deploy ។
- Đăng nhập vào Cloudflare dashboard ↗ và chọn tài khoản và tên miền của bạn.
- Đi đến Security \> WAF \> Custom rules
- Chọn Create rule
- Xác định tên quy tắc Ví dụ như
Skip bot protections for monitoring service. - Tạo một biểu thức phù hợp với lưu lượng bot đã biết của bạn. Ví dụ, để bỏ qua bảo vệ cho các yêu cầu từ một phạm vi IP cụ thể với một User-Agent đã biết:
- Log in to the Cloudflare dashboard ↗, and select your account and domain.
- Go to Security \> WAF \> Custom rules
- Select Create rule.
- Define the rule name. For example,
Skip bot protections for monitoring service. - Build an expression that matches your known bot traffic. For example, to skip protections for requests from a specific IP range with a known User-Agent:
- ចុច Cloudflare dashboard ↗ ហើយជ្រើសគណនីរបស់អ្នកនិងតំបន់បណ្ដាញរបស់អ្នក។
- ចុចទៅ Security & > WAF > Custom rules
- សូមជ្រើស Create rule ។
- សូមបញ្ជាក់ឈ្មោះច្បាប់។ ដូចជា
Skip bot protections for monitoring service។ - បានបង្កើតការសរសេរដែលសមរម្យជាមួយនឹងការដឹកជញ្ជូន bot ដែលអ្នកដឹង។ ឧទាហរណ៍ដើម្បីបាត់បង់ការពារសម្រាប់សំណួរពីតម្រូវការ IP ដែលមានអេក្រង់អ្នកប្រើដែលបានដឹង:
(ip.src in {203.0.113.0/24} and http.user_agent contains "MonitoringBot") - Đối với Choose action, chọn Skip và sau đó chọn All Super Bot Fight Mode rules.
- Chọn Deploy
- For Choose action, select Skip and then select All Super Bot Fight Mode rules.
- Select Deploy.
- សម្រាប់ Choose action សូមជ្រើស Skip បន្ទាប់មកជ្រើស All Super Bot Fight Mode rules ។
- សូមជ្រើស Deploy ។
Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)
Thiết lập chế độ Super Bot Fight Mode (Pro, Business) Configure Super Bot Fight Mode (Pro, Business) ប្រព័ន្ធ ប្រតិបត្តិការ Super Bot Fight Mode (Pro, Business)
Phần «Cấu hình Super Bot Fight Mode (Pro, Business)» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "Configure Super Bot Fight Mode (Pro, Business)" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «ប្រព័ន្ធ ប្រតិបត្តិការ Super Bot Fight Mode (Pro, Business)» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
- Bảng điều khiển cũ: Security \> Bots, và chọn Configure Bot Fight Mode.
- Bảng điều khiển mới: Security \> Settings. Chọn Bot traffic và tắt Bot fight mode.
- Old dashboard: Security \> Bots, and select Configure Bot Fight Mode.
- New dashboard: Security \> Settings. Filter by Bot traffic and turn Bot fight mode off.
- ប្រព័ន្ធប្រតិបត្តិការទូទៅ: Security & > Bots, និងចុច Configure Bot Fight Mode ។
- ស្លាកថ្មី: Security \> Settings ។ ចុច Bot traffic ហើយចុច Bot fight mode ។
- Trong bảng điều khiển Cloudflare, đi đến trang Security Settings.
- In the Cloudflare dashboard, go to the Security Settings page.
- ក្នុងប្រព័ន្ធប្រតិបត្តិការ Cloudflare សូមចូលទៅក្នុងទំព័រ Security Settings ។
- Lọc theo Bot traffic
- Đi đến Super Bot fight mode
- Nhấn Super Bot fight mode vào.
- Chọn cách miền của bạn nên đáp ứng với các loại lưu lượng truy cập khác nhau bằng cách chọn biểu tượng chỉnh sửa liên quan:
- Filter by Bot traffic.
- Go to Super Bot fight mode.
- Turn Super Bot fight mode on.
- Choose how your domain should respond to various types of traffic by selecting the associated edit icon:
- កញ្ចប់ដោយ Bot traffic
- សូមចូលទៅ Super Bot fight mode ។
- ចុច Super Bot fight mode នៅលើ។
- ជ្រើសរើសរបៀបដែលអាសយដ្ឋានរបស់អ្នកគួរឱ្យឆ្លើយតបទៅនឹងប្រភេទផ្សេងគ្នានៃការដឹកជញ្ជូនដោយជ្រើសរើសអេឡិចត្រូនិ edit ដែលរួមបញ្ចូលគ្នា:
- Đăng nhập vào Cloudflare dashboard ↗ và chọn tài khoản và tên miền của bạn.
- Đi đến Security \> Bots.
- Chọn Configure Super Bot Fight Mode
- Chọn cách miền của bạn nên đáp ứng với các loại lưu lượng truy cập khác nhau:
- Log in to the Cloudflare dashboard ↗, and select your account and domain.
- Go to Security \> Bots.
- Select Configure Super Bot Fight Mode.
- Choose how your domain should respond to various types of traffic:
- ចុច Cloudflare dashboard ↗ ហើយជ្រើសគណនីរបស់អ្នកនិងតំបន់បណ្ដាញរបស់អ្នក។
- ចុចទៅ Security \> Bots ។
- សូមជ្រើស Configure Super Bot Fight Mode ។
- ជ្រើសរើសរបៀបដែលអាសយដ្ឋានរបស់អ្នកគួរឱ្យឆ្លើយតបទៅនឹងប្រភេទផ្សេងគ្នានៃការដឹកជញ្ជូន:
- Chặn hoặc cho phép các bot đã được xác minh
- Thiết lập action riêng biệt (cho phép, chặn hoặc thách thức) cho Definitely automated traffic (bot score của 1)
- Trên các kế hoạch kinh doanh và trên: Thiết lập một action riêng biệt cho Likely automated traffic (tỷ lệ bot là 2-29)
- Block or allow verified bots
- Configure a separate action (allow, block, or challenge) for Definitely automated traffic (bot score of 1)
- On Business plans and above: Configure a separate action for Likely automated traffic (bot score of 2-29)
- ប្លុកឬអនុញ្ញាតឱ្យកុំព្យូទ័រសាកល្បង
- កំណត់ action សម្រាប់ Definitely automated traffic (bot score នៃ 1) ។
- នៅលើគម្រោងអាជីវកម្មនិងច្រើនជាងនេះ: បានកំណត់ action សម្រាប់ Likely automated traffic (កម្រិត bot នៃ 2-29)
cf.bot_management.score để thiết lập ngưỡng cụ thể. Ví dụ, chặn các yêu cầu có điểm số bot dưới 30 trên đường dẫn /api/auth trong khi cho phép tất cả điểm số trên các đường dẫn API khác. Để biết thêm thông tin, hãy tham khảo Bot Management.cf.bot_management.score to set path-specific thresholds. For example, block requests with a bot score below 30 on /api/auth paths while allowing all scores on other API paths. For more information, refer to Bot Management.cf.bot_management.score ដើម្បីកំណត់ទំហំទូលំទូលំទូលាយ។ លក្ខណៈពិសេសនេះគឺជាការកាត់បន្ថយទម្រង់ដែលមានកំណត់បន្ថយជាង 30 នៅលើ /api/auth និងអនុញ្ញាតឱ្យមានកំណត់បន្ថយទម្រង់ទាំងអស់នៅលើ API ។ សម្រាប់ព័ត៌មានបន្ថែមសូមមើល Bot Management ។Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)
Xác định thông tin bị rò rỉ trên login endpoints Detect leaked credentials on login endpoints ការកាត់បន្ថយការកាត់បន្ថយការកាត់បន្ថយការកាត់បន្ថយលើ login endpoints
Phần «Detect leaked credentials on login endpoints» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "Detect leaked credentials on login endpoints" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «ការកាត់បន្ថយការកាត់បន្ថយការកាត់បន្ថយការកាត់បន្ថយលើ login endpoints» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
cf.waf.credential<em>check.username</em>and<em>password</em>leaked (Người dùng và mật khẩu bị rò rỉ) yêu cầu gói Pro hoặc cao hơn. Nếu bạn đang trên gói miễn phí, hãy sử dụng trường cf.waf.credential<em>check.password</em>leaked (Mật khẩu bị rò rỉ) thay vào đó, cho biết mật khẩu được phát hiện trong yêu cầu đã bị rò rỉ trước đó.cf.waf.credential<em>check.username</em>and<em>password</em>leaked field (User and Password Leaked) requires a Pro plan or above. If you are on a Free plan, use the cf.waf.credential<em>check.password</em>leaked field (Password Leaked) instead, which indicates whether the password detected in the request was previously leaked.cf.waf.credential<em>check.username</em>and<em>password</em>leaked (អ្នកប្រើប្រាស់និង Password Leaked) តម្រូវឱ្យមានគណនី Pro ឬខ្ពស់ជាងនេះ។ ប្រសិនបើអ្នកមានគម្រោងដោយឥតគិតថ្លៃអ្នកអាចប្រើឧបករណ៍ cf.waf.credential<em>check.password</em>leaked (Password Leaked) ដូចជាឧបករណ៍នេះអាចបង្ហាញថាការបញ្ចូលគោលដៅដែលបានរកឃើញនៅក្នុងតម្រូវការនេះបានបញ្ចូលគ្នានៅពេលមុន។/auth, sau đó /account, sau đó /transfer trong chuỗi nhanh. Để biết thêm thông tin, hãy tham khảo Sequence Analytics./auth, then /account, then /transfer in rapid succession. For more information, refer to Sequence Analytics./auth, បន្ទាប់ /account, បន្ទាប់ /transfer ក្នុងកម្រិតខ្ពស់។ សម្រាប់ព័ត៌មានបន្ថែមសូមមើល Sequence Analytics ។Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)
Theo dõi lưu lượng truy cập của bạn API Monitor your API traffic ការត្រួតពិនិត្យការដឹកជញ្ជូនរបស់អ្នក API
Phần «Monitor your API traffic» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "Monitor your API traffic" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «ការត្រួតពិនិត្យការដឹកជញ្ជូនរបស់អ្នក API» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
Đánh giá sự kiện bảo mật cho đường dẫn API Review Security Events for API paths ការពិនិត្យឡើងវិញឧបករណ៍សុវត្ថិភាពសម្រាប់ផ្លូវ API
Phần «Review Security Events for API paths» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "Review Security Events for API paths" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «ការពិនិត្យឡើងវិញឧបករណ៍សុវត្ថិភាពសម្រាប់ផ្លូវ API» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
- Trong bảng điều khiển Cloudflare, đi đến trang Analytics.
- In the Cloudflare dashboard, go to the Analytics page.
- ក្នុងប្រព័ន្ធប្រតិបត្តិការ Cloudflare សូមចូលទៅក្នុងទំព័រ Analytics ។
- Chọn tab Events
- Thêm một bộ lọc cho URI Path bắt đầu với
/api/. - Xem lại các sự kiện Tìm kiếm các khách hàng hợp pháp đang bị chặn (phản ứng dương tính giả). Các chỉ số tích cực giả:
- Select the Events tab.
- Add a filter for URI Path starts with
/api/. - Review the events. Look for legitimate clients that are being blocked (false positives). Common indicators of false positives:
- សូមចុច Events ។
- បន្ថែមឯកសារសម្រាប់ URI Path ដែលចាប់ផ្តើមជាមួយ
/api/។ - យោបល់អំពីព្រឹត្តិការណ៍ សូមស្វែងរកអតិថិជនពិតប្រាកដដែលត្រូវបានកាត់បន្ថយ (អត្ថប្រយោជន៍ពហុ). វិញ្ញាបនប័ត្រដែលមានលក្ខណៈពិសេសនៃការគួរឱ្យឆ្លើយតប:
- Đăng nhập vào Cloudflare dashboard ↗ và chọn tài khoản và khu vực của bạn.
- Đi đến Security \> Events.
- Thêm một bộ lọc cho URI Path bắt đầu với
/api/. - Xem lại các sự kiện Tìm kiếm các khách hàng hợp pháp đang bị chặn (phản ứng dương tính giả). Các chỉ số tích cực giả:
- Log in to the Cloudflare dashboard ↗, and select your account and zone.
- Go to Security \> Events.
- Add a filter for URI Path starts with
/api/. - Review the events. Look for legitimate clients that are being blocked (false positives). Common indicators of false positives:
- ចុច Cloudflare dashboard ↗ ហើយជ្រើសគណនីនិងតំបន់របស់អ្នក។
- ចុចទៅ Security \> Events ។
- បន្ថែមឯកសារសម្រាប់ URI Path ដែលចាប់ផ្តើមជាមួយ
/api/។ - យោបល់អំពីព្រឹត្តិការណ៍ សូមស្វែងរកអតិថិជនពិតប្រាកដដែលត្រូវបានកាត់បន្ថយ (អត្ថប្រយោជន៍ពហុ). វិញ្ញាបនប័ត្រដែលមានលក្ខណៈពិសេសនៃការគួរឱ្យឆ្លើយតប:
Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)
Tune rate limiting ngưỡng Tune rate limiting thresholds Tune rate limiting កម្រិតខ្ពស់
Phần «Tune rate limiting thresholds» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "Tune rate limiting thresholds" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «Tune rate limiting កម្រិតខ្ពស់» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
- Trong bảng điều khiển Cloudflare, đi đến trang Analytics.
- In the Cloudflare dashboard, go to the Analytics page.
- ក្នុងប្រព័ន្ធប្រតិបត្តិការ Cloudflare សូមចូលទៅក្នុងទំព័រ Analytics ។
- Chọn tab Events
- Bộ lọc theo Action bằng Block và Service bằng Rate limiting.
- Kiểm tra xem các yêu cầu bị chặn đến từ khách hàng hợp pháp hay lưu lượng truy cập lạm dụng.
- Nếu khách hàng hợp pháp đang bị giới hạn giá, hãy sửa quy tắc rate limiting có liên quan để tăng ngưỡng yêu cầu hoặc kéo dài thời gian cho quy tắc bị ảnh hưởng.
- Nếu lưu lượng truy cập lạm dụng đang đi qua, hãy giảm ngưỡng quy tắc hoặc thu hẹp khoảng thời gian.
- Select the Events tab.
- Filter by Action equals Block and Service equals Rate limiting.
- Check whether blocked requests come from legitimate clients or abusive traffic.
- If legitimate clients are being rate limited, edit the relevant rate limiting rule to increase the request threshold or widen the time period for the affected rule.
- If abusive traffic is getting through, lower the rule threshold or narrow the time period.
- សូមចុច Events ។
- កុំព្យូទ័រដោយ Action មានគុណភាព Block និង Service មានគុណភាព Rate limiting ។
- សូមពិនិត្យមើលប្រសិនបើតម្រូវការដែលត្រូវបានកាត់បន្ថយមកពីអតិថិជនត្រឹមត្រូវឬការដឹកជញ្ជូនដែលមានប្រសិទ្ធិភាព។
- ប្រសិនបើអតិថិជនដែលមានលក្ខខណ្ឌត្រឹមត្រូវត្រូវបានកាត់បន្ថយការកាត់បន្ថយការកាត់បន្ថយការកាត់បន្ថយការកាត់បន្ថយការកាត់បន្ថយការកាត់បន្ថយការកាត់បន្ថយការកាត់បន្ថយការកាត់បន្ថយការកាត់បន្ថយការកាត់បន្ថយការកាត់បន្ថយ។
- ប្រសិនបើការដឹកជញ្ជូនដែលមានលក្ខណៈសម្បត្តិមានប្រសិទ្ធិភាពទាបទាបទំហំច្បាប់ឬកាត់បន្ថយអំឡុងពេលវេលា។
- Đăng nhập vào Cloudflare dashboard ↗ và chọn tài khoản và khu vực của bạn.
- Đi đến Security \> Events.
- Bộ lọc theo Action bằng Block và Service bằng Rate limiting.
- Kiểm tra xem các yêu cầu bị chặn đến từ khách hàng hợp pháp hay lưu lượng truy cập lạm dụng.
- Nếu khách hàng hợp pháp đang bị giới hạn giá, hãy sửa quy tắc rate limiting có liên quan để tăng ngưỡng yêu cầu hoặc kéo dài thời gian cho quy tắc bị ảnh hưởng.
- Nếu lưu lượng truy cập lạm dụng đang đi qua, hãy giảm ngưỡng quy tắc hoặc thu hẹp khoảng thời gian.
- Log in to the Cloudflare dashboard ↗, and select your account and zone.
- Go to Security \> Events.
- Filter by Action equals Block and Service equals Rate limiting.
- Check whether blocked requests come from legitimate clients or abusive traffic.
- If legitimate clients are being rate limited, edit the relevant rate limiting rule to increase the request threshold or widen the time period for the affected rule.
- If abusive traffic is getting through, lower the rule threshold or narrow the time period.
- ចុច Cloudflare dashboard ↗ ហើយជ្រើសគណនីនិងតំបន់របស់អ្នក។
- ចុចទៅ Security \> Events ។
- កុំព្យូទ័រដោយ Action មានគុណភាព Block និង Service មានគុណភាព Rate limiting ។
- សូមពិនិត្យមើលប្រសិនបើតម្រូវការដែលត្រូវបានកាត់បន្ថយមកពីអតិថិជនត្រឹមត្រូវឬការដឹកជញ្ជូនដែលមានប្រសិទ្ធិភាព។
- ប្រសិនបើអតិថិជនដែលមានលក្ខខណ្ឌត្រឹមត្រូវត្រូវបានកាត់បន្ថយការកាត់បន្ថយការកាត់បន្ថយការកាត់បន្ថយការកាត់បន្ថយការកាត់បន្ថយការកាត់បន្ថយការកាត់បន្ថយការកាត់បន្ថយការកាត់បន្ថយការកាត់បន្ថយការកាត់បន្ថយការកាត់បន្ថយ។
- ប្រសិនបើការដឹកជញ្ជូនដែលមានលក្ខណៈសម្បត្តិមានប្រសិទ្ធិភាពទាបទាបទំហំច្បាប់ឬកាត់បន្ថយអំឡុងពេលវេលា។
Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)
Thiết lập thông báo cho spikes sự kiện bảo mật Set up notifications for security event spikes ការបញ្ជាទិន្នន័យនៃការបញ្ជាទិន្នន័យសុវត្ថិភាព
Phần «Thiết lập notifications for security event spikes» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "Set up notifications for security event spikes" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «ការបញ្ជាទិន្នន័យនៃការបញ្ជាទិន្នន័យសុវត្ថិភាព» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
- Trong bảng điều khiển Cloudflare, đi đến trang Notifications.
- In the Cloudflare dashboard, go to the Notifications page.
- ក្នុងប្រព័ន្ធប្រតិបត្តិការ Cloudflare សូមចូលទៅក្នុងទំព័រ Notifications ។
- Chọn Add
- Chọn WAF và chọn Security Events Alert.
- Xác định tên cho thông báo và phương thức giao hàng (email, webhook hoặc PagerDuty).
- Tiếp theo, cấu hình các tên miền mà bạn muốn nhận thông báo. Bạn cũng có thể lọc các sự kiện theo mục tiêu action (ví dụ: Block hoặc Skip).
- Chọn Create
- Select Add.
- Filter by WAF and select Security Events Alert.
- Define a name for the notification and the delivery method (email, webhook, or PagerDuty).
- Next, configure the domains for which you want to receive notifications. You can also filter events by a targeted action (for example, Block or Skip).
- Select Create.
- សូមជ្រើស Add ។
- ចុច WAF ហើយចុច Security Events Alert ។
- បានកំណត់ឈ្មោះសម្រាប់ការបញ្ជាក់និងវិធីបញ្ជូន (email, webhook ឬ PagerDuty) ។
- បន្ទាប់មកបញ្ជាក់តំបន់ដែលអ្នកចង់ទទួលបានការប្រកាស។ អ្នកអាចបម្រើប្រវត្តិសាស្រ្តដោយ action (ដូចជា Block ឬ Skip) ។
- សូមជ្រើស Create ។
Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)
Xem bản đầy đủ trên developers.cloudflare.com (ảnh, tab cấu hình). View the full guide on developers.cloudflare.com (images, config tabs). មើលមគ្គុទ្ទេសក៍ពេញលើ developers.cloudflare.com (រូបភាព, tab កំណត់)។
Tài liệu gốc ↗ Official docs ↗ ឯកសារផ្លូវការ ↗