In mobile application security protection, ESA provides different Bot traffic management solutions for native apps and embedded H5 pages. Native app protection policies effectively block automated attacks and malicious traffic through Bot feature detection, Bot rate limiting mechanisms, bot threat intelligence library matching, and IDC blacklist blocking. H5 page protection policies combine legitimate Bot management (such as search engine whitelists), Bot behavior detection, and custom rate limiting rules to accurately distinguish between normal users and malicious crawlers. Through layered protection and multi-policy coordination, ESA can comprehensively defend against Bot attacks, reduce bandwidth consumption, resource misuse, and data breach risks, ensuring the business stability and security of mobile applications.
Native app protection
If your actual business is based on iOS or Android native apps (excluding H5 pages embedded in the app), you can configure Bot protection rules according to the following procedure to defend against app crawlers.
In the ESA console, select Site Management, and click the target site in the Website list.
In the navigation pane on the left, select .
Click , enter the Rule Set Name and set Protection Target Type to APP.
Click SDK Integration followed by Obtain and Copy AppKey, Contact Us to obtain the SDK package, and then integrate the SDK into your app. For more information, see Integrate protection SDK for Android applications or Integrate protection SDK for iOS applications.
Configure rule expressions in If requests match... based on the request conditions you want to filter. For example, to apply Bot protection to requests from IP address
192.168.0.1, you can configure:(ip.src eq 192.168.0.1). For more information, see Available rule matching fields for Bots.
In the Then execute... section, select the protection policies you want to add.
In the Effective Time section, click Edit in the Actions column, set the effective time, and then click OK.
After completing the configuration, click OK.
App embedded H5 page protection
If your scenario involves accessing H5 pages through browsers, you can configure Bot protection rule sets to accurately identify and block malicious crawler attacks through behavior analysis, feature detection, and threat intelligence libraries.