Answer the question
In order to leave comments, you need to log in
Is it possible to hide the API endpoint from bots?
Hello everyone,
are there any ways to develop a front-end application so that during its work in production, it would be more difficult for bots to determine the path to the api endpoint, for example, responsible for the login page - this will reduce the number of false positives
Regards,
Vadim
Answer the question
In order to leave comments, you need to log in
Encrypt it) Transfer the key somehow to the client in js and decrypt it)
This is if the bot does not emulate a real user.
And if it does and you don't want to fool around with encryption, close access for the left IP. But this will stupidly close access to the API for bots, and not hide its address.
If someone wants to write a bot for your API, they will. So I advise you not to sweat it. Well, or start from the other end, fight bots after the fact, use the mechanisms for detecting and blocking them.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question