Answer the question
In order to leave comments, you need to log in
How to transfer the API key on the site so that it would not be seen?
I have an api token. secret token. I need to connect api on the site with this code:
<script src="https://api-maps.yandex.ru/2.1/?apikey=token&lang=ru_RU" type="text/javascript">
</script>
Answer the question
In order to leave comments, you need to log in
If requests are made from the frontend, then no way. It can simply be hidden from the eyes of a non-professional. But in fact, a more or less knowledgeable person will find it.
If from a backend it is possible.
Your account will be tied to a domain, so you don't have to worry about the key.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question