tencent cloud

Web Application Firewall

Multi-Client BOT Protection

Baixar
Modo Foco
Tamanho da Fonte
Última atualização: 2026-11-09 15:30:51
Traduzido por IA

Feature Overview

Multi-platform BOT protection provides device risk identification and multi-platform security protection capabilities based on trusted device identifiers, covering multiple platforms such as iOS, Android, HarmonyOS, mini programs, and H5. After you enable it, you can obtain complete protection capabilities including on-device fingerprint collection, runtime environment detection, device risk scoring, and integration with the BOT engine, which are used to address risk scenarios such as malicious device spoofing, automated tool attacks, bonus hunting, fraudulent registration, and fake orders.

Functional Principles

After the client integrates the SDK, the SDK collects device environment information (such as phone motion status and touchscreen habits) to generate a unique device code (Device_Token), and passes this field to WAF in the request Header. WAF decodes Device_Token and performs risk detection. If a device anomaly is detected, the request is blocked. Otherwise, the request is allowed and forwarded to the origin server.

Access Configuration

Prerequisites

You have submitted a ticket to contact Tencent Cloud engineers to generate an SDK_Channel.

Operation Step

1. Log in to the WAF console and choose BOT Management in the left sidebar.
2. On the BOT management page, choose BOT Rule Configuration > Client-side security > Configure the connectic.
3. On the Client-side security page, obtain the generated SDK_Channel for client SDK integration.
4. Download the SDK and integration documentation for the corresponding platform, and integrate the SDK into your client product by following the integration documentation. Supported platforms include iOS, Android, HarmonyOS, mini programs, and H5.
5. Configure the position of Device_Token in business requests so that WAF can obtain the corresponding content for subsequent parsing.
Parameter
Description
Name
Required. Custom configuration name used to identify this Device_Token configuration, up to 128 characters.
Description
Enter remarks for the configuration to facilitate subsequent management, up to 128 characters.
Parameter location
Specify the position where Device_Token is passed in the request. Supported values: QUERY, BODY, COOKIE, and HEADERS.
Parameter identifier
Enter the parameter name corresponding to Device_Token. WAF will extract the corresponding value from the request based on this identifier for parsing, up to 64 characters.
6. Configure session identifiers and associate them with scenarios. Configure the session extraction feature so that WAF can distinguish different device clients based on session IDs. The specific steps are as follows:
6.1 Go to Session Management and create a session identifier or open an existing one.
Note:
For details about session management, see Session Management.
6.2 In the advanced settings of session identifier configuration, bind the session identifier to the scenario that requires Client-side security protection.

Configuration Rules

Client-side security supports configuring client rules in simple mode and multi-scenario mode. System-preconfigured client rules perform risk detection across dimensions such as device, application, network, and behavior.

Simple mode

1. On the simple mode page, click Protection settings and select Client Rule.
2. On the Client Rules tab, configure rules as needed:
Illegal token: When the device token carried in a request fails to be decrypted, the request cannot be matched by any client scenario rule. After you enable this switch, the system handles such requests according to the selected action, preventing attackers from bypassing client protection by constructing invalid tokens.
Risk Level: You can switch between Strict and Normal.
Action: You can adjust the action for each rule, including Monitor, Redirect, JS Validation, Human-Machine Recognition, and Block.
On/Off: Adjust the rule status.

Multi-Scene Mode

On the multi-scenario mode page, click Details for the target scenario, and select Client Rules in the protection rule set to configure client rules. The configuration items are the same as those in Simple Mode.

Custom Rules

Custom rules are supported in both Simple mode and Multi-scene mode. When creating or editing a custom rule, you can choose a match field under the Client-Side Security Flag (device tag) category in Condition > Field, and use it in conjunction with other conditions (such as Host) for combined protection based on the decoded risk types (such as black-market devices and automated cheating tools). The specific risk tag types are subject to what is displayed in the console. For details about custom rule operations, see Custom Rules.

Protected Applications

After completing access configuration and rule configuration, you can view the matched client risk types and specific data in BOT Attack Analysis > Attack Trends by Category > Client Rule. If a device is found to continuously engage in violations such as coupon abuse, you can add a Custom Rules based on the obtained Device_Token to block the violating device.

Ajuda e Suporte

Esta página foi útil?

comentários