← Dashboard

Install D&N CAPTCHA

1. Create a website

Sign in, add the exact hostname, and copy both keys. Your secret is shown only once.

2. Add the widget

<script src="https://captcha.dnnsitelaunch.com/widget.js" defer></script>
<form method="POST" action="/register">
  <div class="dnn-captcha" data-sitekey="YOUR_SITE_KEY"></div>
  <button type="submit">Register</button>
</form>

3. Verify on your backend

Read the form field dnn-captcha-response. From your server POST to /api/siteverify. Require success=true and matching hostname. Never expose the secret in frontend code.

POST /api/siteverify
Content-Type: application/json

{"secret":"YOUR_SECRET_KEY","response":"TOKEN_FROM_FORM"}

→ {"success":true,"hostname":"example.com"}

How protection works

The widget solves a SHA-256 Proof-of-Work challenge in the browser. This makes large-scale automated abuse expensive. Tokens are short-lived and single-use. Always verify on the server.