There are multiple ways you can protect the API key. You can simply tell what domain will have access to the API by going to the Google Cloud Console. For more watch this video: ruclips.net/video/ASiEw-eakWM/видео.html&ab_channel=SoftAuthor
👉 Enroll now for the full course ➡ www.udemy.com/course/vuejs-google-maps-api-for-beginners/?couponCode=VGYT-80OFF-JUN24 Use 80% OFF Code: VGYT-80OFF-JUN24 (Expires on June 30th, 2024)
I enroll the course but this course is different . please help me
Your API key is in the clear in index.html! What a huge security flaw.
There are multiple ways you can protect the API key. You can simply tell what domain will have access to the API by going to the Google Cloud Console. For more watch this video: ruclips.net/video/ASiEw-eakWM/видео.html&ab_channel=SoftAuthor
Or he could put it in a .env file
👉 Enroll now for the full course ➡ www.udemy.com/course/vuejs-google-maps-api-for-beginners/?couponCode=VGYT-80OFF-JUN24
Use 80% OFF Code: VGYT-80OFF-JUN24 (Expires on June 30th, 2024)
Thank you
You’re welcome!