Limiting servlet calls so they cannot be summoned by Curl programs like postman | Community
Skip to main content
Level 3
August 8, 2025
Solved

Limiting servlet calls so they cannot be summoned by Curl programs like postman

  • August 8, 2025
  • 3 replies
  • 478 views

Greetings,

Recently we have had some issues with bad actors flooding our systems with calls in registration and rememberPass pages, the call we make for this processes to an external api goes through our java using servlets, and we were wondering, how can we stop flooding requests to our servlets through botting or other malicious means.

Filtering through domain does not seem very good since you can just fake that in the call.

 

Using cors does not seem ideal aswell since you can tamper with that header.

 

Maybe the cors header in dispatcher, some kind of check through the ResourceResolver?

We will appreciate any recommendation on how to deal with this issue

 

Best Regards,

Daniel

Best answer by joerghoh

And in case of AEM CS you can also use the Traffic Rules to ratelimit and/or block such requests. Check the documentation on Traffic Rules at https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/security/traffic-filter-rules-including-waf

3 replies

Lokesh_Vajrala
Community Advisor
Community Advisor
August 8, 2025

Hi @danielma63  

I believe adding the reCAPTCHA to the form would eliminate the spam and bot activity. You can also look at other alternatives - You can refer the documentation - https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/edge-delivery/build-forms/universal-editor/recaptcha-forms 

 

Thanks,

Lokesh

MukeshYadav_
Community Advisor
Community Advisor
August 8, 2025

Hi @danielma63 ,

Apart from captcha there can be WAF rules and ModSecurity ennoblement can help preventing flooding , DoS, DDoS, etc
https://experienceleague.adobe.com/en/docs/experience-manager-learn/cloud-service/security/traffic-filter-and-waf-rules/overview

Thanks

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
August 16, 2025

And in case of AEM CS you can also use the Traffic Rules to ratelimit and/or block such requests. Check the documentation on Traffic Rules at https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/security/traffic-filter-rules-including-waf