I have a very low traffic Azure web app written in .net for sharing programming 'books' using a new medium that I created. Currently, I am really the only one creating content on the app.

For the second time in a few weeks I have had a bot (I am assuming) create an account and then use the forms on the app to create thousands of empty books.

After doing a little bit of research it looks like it is a spam referrer network. I am seeing www.acunetix-referrer.com in my logs coming from Ukraine.

My question is, what is the best way of preventing this on an Azure web app?

  • 1
    Captchas, email validation for new accounts, and rate limit your "create book" API, especially for new users.
    – ceejayoz
    Jun 29 '19 at 21:16

You can block traffic depending on which IP the bot traffic have


  • The suggestions in the comment by @ceejayoz are excellent too but this was the quick fix I was looking for.
    – Mark M
    Jun 30 '19 at 23:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.