You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

DrawingCaptcha

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

DrawingCaptcha

This package offers seamless integration with the Drawing Captcha App, an application designed to verify human users through interactive drawing tasks. Users are prompted to complete specific patterns or color in logos on a grid, ensuring a secure and enjoyable verification process. Integration is achieved via a NuGet package that extends the Umbraco Forms field. You can configure your server instance and API key through the appsettings.

1.1.1
Source
nugetNuGet
Version published
Maintainers
1
Created
Source

Drawing Captcha Umbraco Integration

This is the NuGet package for .NET 8 .NET Core applications, primarily written to extend the Umbraco Forms Integration. You can find the package on NuGet.

Installation

Once the NuGet package is installed, the package source will be copied to ~/App_Plugins/Drawing_Captcha/.

Setup

Script Integration

After installation, implement the script that triggers the drawing captcha attributes. It is recommended to place this script in the base page view to ensure it is rendered after the form:

<script src="~/App_Plugins/Drawing_Captcha/captcha.js" onload="initializeCaptcha()"></script>

Example integration in a Razor view:

@using System.Globalization
@inherits UmbracoViewPage<IBasePage>
@using Microsoft.Extensions.Configuration
@inject IConfiguration Configuration
@inject Microsoft.AspNetCore.Http.IHttpContextAccessor HttpContextAccessor

<!DOCTYPE html>
<html>
<head>
</head>
<body>
    @await Html.PartialAsync("Partials/Header")
    @RenderBody()
    @await Html.PartialAsync("Partials/Footer")
    <script src="~/App_Plugins/Drawing_Captcha/captcha.js" onload="initializeCaptcha()"></script>
</body>
</html>

Configuration

Ensure your API key and server are configured in appsettings.json:

"Forms": {
    "FieldTypes": {
        "DrawingCaptcha": {
            "APIKey": "yourapikey",
            "Server": "https://yourdrawingcaptchainstance.com/"
        }
    }
}

You can obtain an API key by creating a company account if you haven't done so already. Make sure to allow the origin that will be using the drawing captcha.

Origin Setup

API Key Management

Navigate to drawing-captcha > api-keys to create a new API key.

API Key Navigation

Create an API key:

API Key Creation

Umbraco Backoffice Integration

After setting up the configuration, navigate to the Umbraco Forms backoffice. You should see the extended field type added by the package, indicating that the drawing captcha is active.

Field Type Added

Here you can see that the drawing captcha is active:

Captcha Active

Additional Resources

License

This project is licensed under the MIT License.

Contact

For issues or contributions, please visit the GitHub repository.

Keywords

umbraco-marketplace

FAQs

Package last updated on 15 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts