Tạo và bảo mật một agent wrapper AI bằng cách sử dụng AI Gateway và Zero Trust Create and secure an AI agent wrapper using AI Gateway and Zero Trust ការបង្កើតនិងការសុវត្ថិភាព agent wrapper AI ដោយប្រើ AI Gateway និង Zero Trust
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 បរិបទរហ័ស
Thuộc Cloudflare One — Zero Trust, truy cập an toàn và kiểm soát traffic người dùng/thiết bị. Tutorial «Tạo và secure AI agent wrapper using AI Gateway và Zero Trust» 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. Docs gốc chia khoảng 5 bước chính; bản tóm tắt dưới đây giúp bạn nắm khung trước khi làm theo từng lệnh.
This tutorial explains how to use Cloudflare AI Gateway and Zero Trust to create a functional and secure website wrapper for an AI agent.
វគ្គបណ្តុះបណ្តាលនេះបង្ហាញពីរបៀបដើម្បីប្រើ Cloudflare AI Gateway និង Zero Trust ដើម្បីបង្កើតវគ្គបណ្តុះបណ្តាលគេហទំព័រដែលមានប្រសិទ្ធិភាពនិងសុវត្ថិភាពសម្រាប់អេក្រង់ AI ។
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 đủ.
- Zero Trust thường cần quyền admin trên tenant Cloudflare One và IdP đã kết nối.
- 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.
- Zero Trust typically requires Cloudflare One tenant admin access and a connected IdP.
- Cloudflare docs change frequently — verify the Last reviewed date on the official page before production use.
- នេះគឺជាការបញ្ជាក់អំពី Orange Cloud Learning Hub — វាគឺជាការផ្លាស់ប្តូរនៃឯកសារផ្លូវការ។
- ចុចតំណភ្ជាប់ Docs Official នៅខាងក្រោមសម្រាប់ការបញ្ជា CLI, សៀវភៅកូដនិងរូបថតពេញលេញ។
- Zero Trust ជាទូទៅតម្រូវការ Cloudflare One អ្នកគ្រប់គ្រងហិរញ្ញវត្ថុ access និង IdP ។
- Cloudflare បានផ្លាស់ប្តូរជាធម្មតានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅ។
Tài liệu gốc — rà soát lần cuối: about 1 year ago Official docs — last reviewed: about 1 year ago ឯកសារផ្លូវការ — ពិនិត្យចុងក្រោយ: about 1 year ago
Overview Overview Overview
Tutorial này hướng dẫn cách use Cloudflare AI Gateway and Zero Trust to create a functional and secure website wrapper for an AI agent. Cloudflare Zero Trust administrators can protect access to the wrapper with Cloudflare Access . Additionally, you can enforce Gateway polic…
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)
Trước khi bạn bắt đầu Before you begin មុនពេលដែលអ្នកចាប់ផ្តើម
Phần «Before you begin» — đọ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 "Before you begin" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «មុនពេលដែលអ្នកចាប់ផ្តើម» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
- Một Cloudflare Zero Trust organization
- Một API khóa cho nhà cung cấp AI mong muốn của bạn, chẳng hạn như một OpenAI API key ↗ cho ChatGPT.
- A Cloudflare Zero Trust organization.
- An API key for your desired AI provider, such as an OpenAI API key ↗ for ChatGPT.
- អាសយដ្ឋាន Cloudflare Zero Trust organization
- គោលបំណង API សម្រាប់អ្នកផ្គត់ផ្គង់ AI ដែលអ្នកចង់បានដូចជាគោលបំណង OpenAI API key ↗ សម្រាប់ ChatGPT ។
Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)
1.Điều Tạo một AI gateway 1. Create an AI gateway 1 ។ បានបង្កើត AI gateway
Phần «Tạo AI gateway» — đọ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 "1. Create an AI gateway" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «1 ។ បានបង្កើត AI gateway» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
- Trong Cloudflare dashboard ↗, đi đến trang AI Gateway.
- In the Cloudflare dashboard ↗, go to the AI Gateway page.
- ក្នុង Cloudflare dashboard ↗ សូមចូលទៅក្នុងទំព័រ AI Gateway ។
- Chọn Create Gateway
- Hãy đặt tên gateway của bạn.
- Chọn Create
- Cài đặt các tùy chọn mong muốn của bạn cho gateway.
- Connect your AI provider để truy vấn proxy cho đại lý AI của bạn lựa chọn bằng cách sử dụng AI gateway của bạn.
- (Tùy chọn) Chọn Authenticated Gateway Tính năng Xác thực Gateway đảm bảo rằng AI gateway của bạn chỉ có thể được gọi an toàn bằng cách thực thi mã thông báo trong form của tiêu đề yêu cầu
cf-aig-authorization.
- Select Create Gateway.
- Name your gateway.
- Select Create.
- Configure your desired options for the gateway.
- Connect your AI provider to proxy queries to your AI agent of choice using your AI gateway.
- (Optional) Turn on Authenticated Gateway. The Authenticated Gateway feature ensures your AI gateway can only be called securely by enforcing a token in the form of a request header
cf-aig-authorization.
- សូមជ្រើស Create Gateway ។
- ឈ្មោះរបស់អ្នក gateway ។
- សូមជ្រើស Create ។
- សូមបញ្ជាក់ពីរបៀបដែលអ្នកចង់ gateway ។
- Connect your AI provider ដើម្បីបញ្ជាទិន្នន័យ proxy ទៅអេក្រង់ AI របស់អ្នកដែលអ្នកចង់ប្រើ AI gateway របស់អ្នក។
- (តម្រូវការ) ចុច Authenticated Gateway ។ ឧបករណ៍ Gateway ដែលធ្វើឱ្យប្រាកដថា AI gateway របស់អ្នកអាចត្រូវបានគេស្គាល់ដោយសុវត្ថិភាពតែដោយការអនុវត្ត token នៅលើ form នៃការបញ្ជាទម្រង់
cf-aig-authorization។
Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)
2.Đối với (Tùy chọn) Sử dụng Guardrails để chặn nội dung không an toàn hoặc không phù hợp 2. (Optional) Use Guardrails to block unsafe or inappropriate content 2 ។ (តម្រូវការ) ប្រើ Guardrails ដើម្បីកាត់បន្ថយសម្ភារៈមិនសុវត្ថិភាពឬមិនត្រឹមត្រូវ
Phần «(Optional) Use Guardrails to block unsafe or inappropriate content» — đọ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 "2. (Optional) Use Guardrails to block unsafe or inappropriate content" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «2 ។ (តម្រូវការ) ប្រើ Guardrails ដើម្បីកាត់បន្ថយសម្ភារៈមិនសុវត្ថិភាពឬមិនត្រឹមត្រូវ» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
- Trong bảng điều khiển Cloudflare, đi đến trang AI Gateway.
- In the Cloudflare dashboard, go to the AI Gateway page.
- ក្នុងប្រព័ន្ធប្រតិបត្តិការ Cloudflare សូមចូលទៅក្នុងទំព័រ AI Gateway ។
- Chọn AI gateway của bạn.
- Đi đến Guardrails
- Quay vào Guardrails.
- Chọn Change để cấu hình các thể loại mà bạn muốn lọc cho cả lời nhắc và phản hồi.
- Select your AI gateway.
- Go to Guardrails.
- Turn on Guardrails.
- Select Change to configure the categories you would like to filter for both prompts and responses.
- សូមជ្រើស AI gateway របស់អ្នក។
- សូមចូលទៅ Guardrails ។
- សូមផ្លាស់ប្តូរ Guardrails ។
- ចុច Change ដើម្បីកំណត់ប្រភេទដែលអ្នកចង់បម្រើសម្រាប់សំណួរនិងការឆ្លើយតបទាំងពីរ។
Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)
1.Điều Tạo nhân viên 1. Create the Worker 1 ។ ការបង្កើតការងារ
Phần «Tạo Worker» — đọ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 "1. Create the Worker" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «1 ។ ការបង្កើតការងារ» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
- Trong một thiết bị đầu cuối, hãy đăng nhập vào tài khoản Cloudflare của bạn:
- In a terminal, log in to your Cloudflare account:
- ក្នុងការបញ្ចប់បញ្ចប់, សូមចូលទៅក្នុងគណនីរបស់អ្នក Cloudflare:
wrangler login - Bắt đầu dự án tại địa phương:
- Initiate the project locally:
- ការចាប់ផ្តើមគម្រោងក្នុងស្រុក:
mkdir ai-agent-wrapper
cd ai-agent-wrapper
wrangler init - Tạo tệp cấu hình Wrangler:
- Create a Wrangler configuration file:
- ការបង្កើតឯកសារការកំណត់ Wrangler:
name = "ai-agent-wrapper"
main = "src/index.js"
compatibility_date = "2023-10-30"
[vars]
# Add any environment variables here - Thêm phím API của nhà cung cấp AI của bạn dưới dạng secret:
- Add your AI provider's API key as a secret:
- បន្ថែមគោលបំណង API នៃអ្នកផ្គត់ផ្គង់ AI របស់អ្នកជា secret:
wrangler secret put <OPENAI_API_KEY> index.js được tạo bởi Wrangler.index.js file created by Wrangler.index.js ដែលបានបង្កើតដោយ Wrangler ។- Trong bảng điều khiển Cloudflare, đi đến trang Workers & Pages.
- In the Cloudflare dashboard, go to the Workers & Pages page.
- ក្នុងប្រព័ន្ធប្រតិបត្តិការ Cloudflare សូមចូលទៅក្នុងទំព័រ Workers & Pages ។
- Chọn Create
- Trong Workers, chọn mẫu Hello world.
- Tên nhân viên của bạn, sau đó chọn Deploy.
- Chọn Công nhân của bạn, sau đó đi đến tab Settings.
- Đi đến Variables and Secrets, sau đó chọn Add.
- Chọn Secret làm kiểu, đặt tên bí mật của bạn (ví dụ,
OPENAI<em>API</em>KEY), và nhập giá trị của khóa API của nhà cung cấp AI của bạn trong Value.
- Select Create.
- In Workers, choose the Hello world template.
- Name your worker, then select Deploy.
- Select your Worker, then go to the Settings tab.
- Go to Variables and Secrets, then select Add.
- Choose Secret as the type, name your secret (for example,
OPENAI<em>API</em>KEY), and enter the value of your AI provider's API key in Value.
- សូមជ្រើស Create ។
- ក្នុង Workers, ជ្រើសគំរូ Hello world ។
- ឈ្មោះបុគ្គលិករបស់អ្នកបន្ទាប់មកចុច Deploy ។
- ជ្រើសរើសការងាររបស់អ្នកបន្ទាប់មកចូលទៅក្នុងប្រភេទ Settings ។
- ចុច Variables and Secrets ហើយចុច Add ។
- សូមជ្រើស Secret ដូចជាការប្រើសម្រាប់ឈ្មោះសិទ្ធិរបស់អ្នក (ដូចជា
OPENAI<em>API</em>KEY) និងចុះតម្លៃនៃគោលបំណង API នៃអ្នកផ្គត់ផ្គង់ AI របស់អ្នកនៅក្នុង Value ។
Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)
2.Đối với Xây dựng công nhân 2. Build the Worker 2 ។ ការបង្កើតការងារ
Phần «Build Worker» — đọ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 "2. Build the Worker" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «2 ។ ការបង្កើតការងារ» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
export default {
async fetch(request, env) {
if (request.url.endsWith("/api/chat")) {
if (request.method === "POST") {
try {
const { messages } = await request.json();
const response = await fetch(
"https://gateway.ai.cloudflare.com/v1/$ACCOUNT_ID/$GATEWAY_ID/openai/chat/completions",
{
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization: `Bearer ${env.OPENAI_API_KEY}`,
},
body: JSON.stringify({
model: "gpt-4o-mini",
messages: messages,
}),
},
);
if (!response.ok) {
throw new Error(`AI Gateway Error: ${response.status}`);
}
const result = await response.json();
return new Response(
JSON.stringify({
response: result.choices[0].message.content,
}),
{
headers: { "Content-Type": "application/json" },
},
);
} catch (error) {
return new Response(JSON.stringify({ error: error.message }), {
status: 500,
headers: { "Content-Type": "application/json" },
});
}
}
return new Response("Method not allowed", { status: 405 });
}
return new Response(HTML, {
headers: { "Content-Type": "text/html" },
});
},
};
const HTML = `<!DOCTYPE html>
<html lang="en" data-theme="dark">
177 collapsed lines
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ChatGPT Wrapper</title>
<style>
:root {
--background-color: #1a1a1a;
--chat-background: #2d2d2d;
--text-color: #ffffff;
--input-border: #404040;
--message-ai-background: #404040;
--message-ai-text: #ffffff;
}
body {
font-family: system-ui, sans-serif;
margin: 0;
padding: 20px;
background: var(--background-color);
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
color: var(--text-color);
}
.chat-container {
width: 100%;
max-width: 800px;
background: var(--chat-background);
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
height: 80vh;
display: flex;
flex-direction: column;
}
.chat-header {
padding: 15px 20px;
border-bottom: 1px solid var(--input-border);
background: var(--chat-background);
border-radius: 10px 10px 0 0;
text-align: center;
}
.chat-messages {
flex-grow: 1;
overflow-y: auto;
padding: 20px;
}
.message {
margin-bottom: 20px;
padding: 10px 15px;
border-radius: 10px;
max-width: 80%;
}
.user-message {
background: #007AFF;
color: white;
margin-left: auto;
}
.ai-message {
background: var(--message-ai-background);
color: var(--message-ai-text);
}
.input-container {
padding: 20px;
border-top: 1px solid var(--input-border);
display: flex;
gap: 10px;
}
input {
flex-grow: 1;
padding: 10px;
border: 1px solid var(--input-border);
border-radius: 5px; cf-aig-authorization.cf-aig-authorization header.cf-aig-authorization header ។Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)
3 Cái Xuất bản The Worker 3. Publish the Worker 3 ។ ការបោះពុម្ព អ្នកការងារ
Phần «Publish Worker» — đọ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 "3. Publish the Worker" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «3 ។ ការបោះពុម្ព អ្នកការងារ» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
name = "ai-agent-wrapper"
main = "src/index.js"
compatibility_date = "2023-10-30"
workers_dev = false
# Replace with your custom domain
routes = [
{ pattern = "<YOUR_CUSTOM_DOMAIN>", custom_domain = true }
]
[vars]
# Add any environment variables here wrangler deploy.wrangler deploy.wrangler deploy- Trong bảng điều khiển Cloudflare, đi đến trang Workers & Pages.
- In the Cloudflare dashboard, go to the Workers & Pages page.
- ក្នុងប្រព័ន្ធប្រតិបត្តិការ Cloudflare សូមចូលទៅក្នុងទំព័រ Workers & Pages ។
- Chọn nhân viên của bạn
- Đi đến Settings
- Trong Domains & Routes, chọn Add.
- Chọn Custom domain
- Nhập tên miền tùy chỉnh mong muốn.
- Chọn Add domain
- Select your Worker.
- Go to Settings.
- Within Domains & Routes, select Add.
- Choose Custom domain.
- Enter your desired custom domain name.
- Select Add domain.
- ជ្រើសបុគ្គលិករបស់អ្នក
- សូមចូលទៅ Settings ។
- ក្នុងកំណត់ Domains & Routes ចុច Add ។
- សូមជ្រើស Custom domain ។
- ទាញយកឈ្មោះ domain របស់អ្នកដែលអ្នកចង់។
- សូមជ្រើស Add domain ។
Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)
Bốn Đảm bảo vòng bi với Access 4. Secure the wrapper with Access 4 ។ សូមបញ្ជាក់អំពី Access
Phần «Bảo mật wrapper với Access» — đọ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 "4. Secure the wrapper with Access" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «4 ។ សូមបញ្ជាក់អំពី Access» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
- Trong Cloudflare dashboard ↗, đi đến Zero Trust \> Access controls \> Applications.
- Chọn Create new application
- Chọn Self-hosted and private
- Chọn Add public hostname và nhập miền tùy chỉnh mà bạn đã thiết lập cho Worker của mình.
- Configure your Access application cho nhân viên của bạn.
- Thêm Access policies để kiểm soát ai có thể kết nối với ứng dụng của bạn.
- In the Cloudflare dashboard ↗, go to Zero Trust \> Access controls \> Applications.
- Select Create new application.
- Select Self-hosted and private.
- Select Add public hostname and enter the custom domain you set for your Worker.
- Configure your Access application for your Worker.
- Add Access policies to control who can connect to your application.
- ក្នុង Cloudflare dashboard ↗ សូមចូលទៅទៅ Zero Trust \> Access controls \> Applications ។
- សូមជ្រើស Create new application ។
- សូមជ្រើស Self-hosted and private ។
- សូមជ្រើស Add public hostname ហើយចូលទៅក្នុងឧបករណ៍ដែលអ្នកបានកំណត់សម្រាប់ Worker របស់អ្នក។
- Configure your Access application សម្រាប់ការងាររបស់អ្នក។
- បន្ថែម Access policies ដើម្បីត្រួតពិនិត្យអ្នកដែលអាចចូលទៅក្នុងកម្មវិធីរបស់អ្នក។
Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)
5 Block access đến các đại lý AI công cộng với Gateway 5. Block access to public AI agents with Gateway 5 ។ ប្លុក access ទៅអេក្រង់អេក្រង់អេក្រង់អេក្រង់អេក្រង់អេក្រង់អេក្រង់ជាមួយ Gateway
Phần «Block access to public AI agents với Gateway» — đọ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 "5. Block access to public AI agents with Gateway" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «5 ។ ប្លុក access ទៅអេក្រង់អេក្រង់អេក្រង់អេក្រង់អេក្រង់អេក្រង់អេក្រង់ជាមួយ Gateway» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
- Trong Cloudflare dashboard ↗, đi đến Zero Trust & > Traffic policies > Firewall policies > HTTP.
- Chọn Add a policy
- Thêm chính sách sau:
- In the Cloudflare dashboard ↗, go to Zero Trust \> Traffic policies \> Firewall policies \> HTTP.
- Select Add a policy.
- Add the following policy:
- ក្នុង Cloudflare dashboard ↗ សូមចូលទៅទៅ Zero Trust \> Traffic policies \> Firewall policies \> HTTP ។
- សូមជ្រើស Add a policy ។
- សូមបញ្ចូលគោលបំណងដូចខាងក្រោម:
- Chọn Create policy
- Select Create policy.
- សូមជ្រើស Create policy ។
Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)
Sáu Enforce Data Loss Prevention và Clientless Browser Isolation 6. Enforce Data Loss Prevention and Clientless Browser Isolation 6 ។ ការពារការកាត់បន្ថយទិន្នន័យនិងការកាត់បន្ថយទិន្នន័យដោយគ្មានកុំព្យូទ័រ
Phần «Enforce Data Loss Prevention và Clientless Browser Isolation» — đọ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 "6. Enforce Data Loss Prevention and Clientless Browser Isolation" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «6 ។ ការពារការកាត់បន្ថយទិន្នន័យនិងការកាត់បន្ថយទិន្នន័យដោយគ្មានកុំព្យូទ័រ» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
Ứng dụng Profile Data Loss Prevention Apply Data Loss Prevention profiles ទាញយកឯកសារប្រឆាំងនឹងការកាត់បន្ថយទិន្នន័យ
Phần «Apply Data Loss Prevention profiles» — đọ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 "Apply Data Loss Prevention profiles" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «ទាញយកឯកសារប្រឆាំងនឹងការកាត់បន្ថយទិន្នន័យ» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
- Trong Cloudflare dashboard ↗, đi đến Zero Trust \> Data loss prevention \> Profiles.
- Đảm bảo rằng DLP profiles bạn muốn thực thi được cấu hình đúng.
- Thêm chính sách HTTP để thực thi hồ sơ DLP cho tên máy chủ cho wrapper của bạn. Ví dụ:
- In the Cloudflare dashboard ↗, go to Zero Trust \> Data loss prevention \> Profiles.
- Ensure that the DLP profiles you want to enforce are properly configured.
- Add an HTTP policy to enforce the DLP profile for the hostname for your wrapper. For example:
- ក្នុង Cloudflare dashboard ↗ សូមចូលទៅទៅ Zero Trust \> Data loss prevention \> Profiles ។
- សូមធានាថា DLP profiles ដែលអ្នកចង់អនុវត្តគឺមានកំណត់ត្រឹមត្រូវ។
- បន្ថែមគោលបំណង HTTP ដើម្បីអនុវត្តឯកសារ DLP សម្រាប់ឈ្មោះក្រុមហ៊ុនផ្គត់ផ្គង់របស់អ្នក។ ឧទាហរណ៍ :
- Chọn Create policy
- Select Create policy.
- សូមជ្រើស Create policy ។
Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)
Chạy trong một trình duyệt không khách hàng cô lập Execute in a clientless isolated browser ការដំឡើងនៅក្នុងអ្នកដំឡើងដោយគ្មានកុំព្យូទ័រ
Phần «Execute in clientless isolated browser» — đọ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 "Execute in a clientless isolated browser" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «ការដំឡើងនៅក្នុងអ្នកដំឡើងដោយគ្មានកុំព្យូទ័រ» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
- Trong Cloudflare One ↗, đi đến Browser isolation \> Browser isolation settings.
- Nhấp vào Allow users to open a remote browser without the device client
- Đi đến Access controls \> Policies.
- Chọn Add a policy
- Đặt Action thành Allow.
- Trong Add rules, thêm quy tắc nhận dạng để xác định ứng dụng nên được cô lập cho ai.
- Trong Additional settings (optional), hãy bật Isolate application.
- In Cloudflare One ↗, go to Browser isolation \> Browser isolation settings.
- Turn on Allow users to open a remote browser without the device client.
- Go to Access controls \> Policies.
- Select Add a policy.
- Set the Action to Allow.
- In Add rules, add identity rules to define who the application should be isolated for.
- In Additional settings (optional), turn on Isolate application.
- នៅ Cloudflare One ↗ សូមចូលទៅ Browser isolation \> Browser isolation settings ។
- សូមចុច Allow users to open a remote browser without the device client ។
- ចុចទៅ Access controls \> Policies ។
- សូមជ្រើស Add a policy ។
- ទាញយក Action ទៅ Allow ។
- ក្នុង Add rules, បន្ថែមច្បាប់សម្គាល់ដើម្បីបញ្ជាក់អ្នកដែលកម្មវិធីនេះគួរតែត្រូវបានកាត់បន្ថយសម្រាប់។
- នៅលើ Additional settings (optional) ចុច Isolate application ។
- Đi đến Access controls \> Applications.
- Chọn ứng dụng wrapper của bạn, sau đó chọn Configure.
- Trong Policies, hãy chọn Select existing policies.
- Chọn chính sách Access mà bạn đã tạo trước đó.
- Chọn Confirm, rồi chọn Save.
- Go to Access controls \> Applications.
- Choose your wrapper application, then select Configure.
- In Policies, select Select existing policies.
- Choose the Access policy you previously created.
- Select Confirm, then select Save.
- ចុចទៅ Access controls \> Applications ។
- សូមជ្រើសកម្មវិធី Wrapper របស់អ្នកបន្ទាប់មកជ្រើស Configure ។
- នៅលើ Policies ចុច Select existing policies ។
- ជ្រើសគោលបំណង Access ដែលអ្នកបានបង្កើតមុន។
- ចុច Confirm បន្ទាប់មកចុច Save ។
Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)
Lợi ích bổ sung Additional benefits លទ្ធផលបន្ថែមទៀត
Phần «Additional benefits» — đọ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 "Additional benefits" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «លទ្ធផលបន្ថែមទៀត» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
Tầm nhìn Visibility រូបភាព
Phần «Visibility» — đọ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 "Visibility" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «រូបភាព» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
Liên kết liên quan (docs Cloudflare) Related links (Cloudflare docs) តំណពាក់ព័ន្ធ (docs Cloudflare)
Configuration Configurability ការ Configuration
Phần «Configurability» — đọ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 "Configurability" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «ការ Configuration» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"/directory/","name":"Directory"}},{"@type":"ListItem","position":2,"item":{"@id":"/cloudflare-one/","name":"Cloudflare One"}},{"@type":"ListItem","position":3,"item":{"@id":"/cloudflare-one/tutorials/","name":"Tutorials"}},{"@type":"ListItem","position":4,"item":{"@id":"/cloudflare-one/tutorials/ai-wrapper-tenant-control/","name":"Create and secure an AI agent wrapper using AI Gateway and Zero Trust"}}]} 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 ↗ ឯកសារផ្លូវការ ↗