คู่มือนักพัฒนาซอฟต์แวร์
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
Google นำเสนอ reCAPTCHA (v3 และ v2) และ reCAPTCHA Enterprise ที่จะช่วยปกป้องคุณ
เว็บไซต์ของคุณจากกิจกรรมที่เป็นการฉ้อโกง สแปม และการละเมิด หากต้องการทราบข้อมูลเพิ่มเติมเกี่ยวกับ
ฟีเจอร์ของ reCAPTCHA และ reCAPTCHA Enterprise ดูการเปรียบเทียบฟีเจอร์ระหว่าง reCAPTCHA แต่ละเวอร์ชัน
เอกสารนี้แสดงภาพรวมของ Google reCAPTCHA เวอร์ชัน 3 และ 2 ดูข้อมูลเกี่ยวกับ reCAPTCHA Enterprise ได้ในเอกสารประกอบ reCAPTCHA Enterprise
ในการเริ่มต้นใช้งาน reCAPTCHA Enterprise คุณสามารถใช้
เครื่องมือการลงทะเบียนเว็บไซต์ ช่วงเวลานี้
จะช่วยคุณสร้างคีย์เว็บไซต์ reCAPTCHA ใหม่ และหากจำเป็น ให้สร้างคีย์
บัญชี Google Cloud ใหม่
เริ่มต้นใช้งาน
ผู้ชม
เอกสารประกอบนี้ออกแบบมาสำหรับผู้ที่คุ้นเคยกับแบบฟอร์ม HTML, การประมวลผลฝั่งเซิร์ฟเวอร์ หรืออุปกรณ์เคลื่อนที่
การพัฒนาแอปพลิเคชัน คุณอาจต้องแก้ไขโค้ดบางอย่างเพื่อติดตั้ง reCAPTCHA
เราหวังว่าเอกสารนี้จะช่วยให้คุณทำตามได้ง่ายๆ คุณถามคำถามเกี่ยวกับ reCAPTCHA ได้ใน
Stack Overflow โดยใช้แท็ก recaptcha
ภาพรวม
หากต้องการเริ่มใช้ reCAPTCHA คุณต้องลงชื่อสมัครใช้คู่คีย์ API สำหรับเว็บไซต์ คู่คีย์ประกอบด้วยคีย์เว็บไซต์และ
คีย์ลับ คีย์ของเว็บไซต์ใช้สำหรับเรียกใช้บริการ reCAPTCHA ในเว็บไซต์หรือแอปพลิเคชันบนอุปกรณ์เคลื่อนที่
คีย์ลับจะให้สิทธิ์การสื่อสารระหว่างแบ็กเอนด์ของแอปพลิเคชันและเซิร์ฟเวอร์ reCAPTCHA
ยืนยันคำตอบของผู้ใช้ ต้องเก็บคีย์ลับให้ปลอดภัยสำหรับ
เพื่อความปลอดภัย
ก่อนอื่น ให้เลือกประเภทของ reCAPTCHA จากนั้นกรอกโดเมนที่ได้รับอนุญาต
หรือแพ็กเกจ
หลังจากที่คุณ
ยอมรับข้อกำหนดในการให้บริการแล้ว ให้คลิกลงทะเบียนเพื่อรับคู่คีย์ API ใหม่
ตอนนี้ให้ทําตามขั้นตอนต่อไปนี้เพื่อเพิ่ม reCAPTCHA ลงในเว็บไซต์หรือแอปพลิเคชันบนอุปกรณ์เคลื่อนที่
- เลือกการผสานรวมฝั่งไคลเอ็นต์:
- ยืนยันคำตอบของผู้ใช้
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-09-18 UTC
[null,null,["อัปเดตล่าสุด 2024-09-18 UTC"],[[["\u003cp\u003eGoogle reCAPTCHA helps protect your website from spam, abuse, and fraudulent activities with v3, v2, and Enterprise options.\u003c/p\u003e\n"],["\u003cp\u003eTo use reCAPTCHA, you'll need to sign up for an API key pair (site key and secret key) and integrate it into your website or mobile application.\u003c/p\u003e\n"],["\u003cp\u003ereCAPTCHA offers different integration options including v3, v2 (checkbox, invisible), and Android, allowing you to choose the best fit for your needs.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation is intended for developers familiar with HTML, server-side processing, or mobile application development and requires code edits for installation.\u003c/p\u003e\n"]]],["Google offers reCAPTCHA v3, v2, and reCAPTCHA Enterprise to protect against fraud and spam. To begin, register for an API key pair (site and secret keys) using the Site Registration Tool. Choose a reCAPTCHA type and provide authorized domains or package names. Integrate reCAPTCHA on the client-side, selecting from v3, v2 checkbox, invisible, or Android options. Finally, verify the user's response by authorizing communication with the reCAPTCHA server using the secret key.\n"],null,["# Developer's Guide\n\nGoogle offers reCAPTCHA (v3 and v2) and reCAPTCHA Enterprise to help you protect\nyour sites from fraudulent activities, spam, and abuse. To know more about the\nfeatures of reCAPTCHA and reCAPTCHA Enterprise, see [Comparison of features between reCAPTCHA versions](https://cloud.google.com/recaptcha/docs/compare-tiers).\n\nThis document provides an overview of Google reCAPTCHA v3 and v2. For\ninformation about reCAPTCHA Enterprise, see the\n[reCAPTCHA Enterprise documentation](https://cloud.google.com/recaptcha/docs/overview).\n\nTo get started with reCAPTCHA Enterprise, you can use our\n[Site Registration Tool](https://www.google.com/recaptcha/admin/create). This\ntool will help you create a new reCAPTCHA Site Key, and if needed also create a\nnew Google Cloud account.\n\n[Get Started](https://www.google.com/recaptcha/admin/create)\n\nAudience\n--------\n\nThis documentation is designed for people familiar with HTML forms, server-side processing or mobile\napplication development. To install reCAPTCHA, you might need to edit some code.\n\nWe hope you find this documentation easy to follow. You can ask a question about reCAPTCHA on\n[Stack Overflow](https://stackoverflow.com/questions/tagged/recaptcha), using the tag `recaptcha`.\n\nOverview\n--------\n\nTo start using reCAPTCHA, you need to [sign up for an API key\npair](http://www.google.com/recaptcha/admin) for your site. The key pair consists of a site key and\nsecret key. The site key is used to invoke reCAPTCHA service on your site or mobile application. The\nsecret key authorizes communication between your application backend and the reCAPTCHA server to\n[verify the user's response](/recaptcha/docs/verify). The secret key needs to be kept safe for\nsecurity purposes.\n\nFirst, choose the [type of reCAPTCHA](/recaptcha/docs/versions) and then fill in authorized domains\nor [package\nnames.](https://developer.android.com/guide/topics/manifest/manifest-element.html#package) After you\nhave accepted the terms of service, click **Register** to get new API key pair.\n\nNow, perform the following steps to add reCAPTCHA to your site or mobile application:\n\n1. Choose the client-side integration:\n - [reCAPTCHA v3](/recaptcha/docs/v3)\n - reCAPTCHA v2\n - [Checkbox](/recaptcha/docs/display)\n - [Invisible](/recaptcha/docs/invisible)\n - [Android](https://developer.android.com/training/safetynet/recaptcha.html)\n2. [Verify the user's response](/recaptcha/docs/verify)."]]