Another neat trick is to add a link in robots.txt and instruct bots to stay away. If they don’t, you add them to your blocklist
You can add something like this to your robots.txt:
User-agent: *
Disallow: /some/unguessible/url
And then you ban any IPs/bots that visit that URL.