ESA provides distinct bot management solutions to secure native apps and embedded H5 pages. For native apps, protection policies use bot characteristic detection, bot throttling, a bot threat intelligence library, and data center blacklists to block automated attacks and malicious traffic. For H5 pages, protection policies combine bot management features, such as search engine allowlists, with behavior detection and custom rate-limiting rules to accurately distinguish between legitimate users and malicious bots. Using layered protection and coordinated policies, ESA helps you defend against bot attacks, reduce bandwidth consumption, prevent resource abuse, and lower data breach risks, ensuring the stability and security of your mobile applications.
Protect native apps
If you have a native app developed for iOS or Android, follow these steps to configure bot protection rules and defend against app crawlers. These steps do not apply to H5 pages embedded in your app.
In the ESA console, navigate to Websites, and then click your target website in the Website column.
In the left-side navigation pane, choose .
Click . Enter a Ruleset name and set Service Type to Apps.
Next to SDK Integration, click Obtain and Copy AppKey. Contact Us to obtain the SDK package and integrate it into your app. For detailed instructions, see Integrate the protection SDK with an Android application or Integrate the protection SDK with an iOS application.
In the If requests match... section, configure a rule expression that defines the conditions for filtering requests. For example, to apply bot protection to requests from the IP address
192.168.0.1, you can configure the expression as(ip.src eq 192.168.0.1). For more information about supported fields, see Fields for bot protection rules.
In the Then execute... section, select a protection policy to apply.
In the Effective Time section, click Edit in the Actions column. Set the time range and click OK.
After you complete the configuration, click OK.
Protect H5 pages embedded in apps
If your app includes embedded H5 pages, set up rulesets. These rulesets use behavior analysis, feature detection, and a bot threat intelligence library to identify and block malicious bot attacks.