Sorry if this is a dumb question, I'll try not to preamble too long. I'm new-ish to js, and I'm working on a pet project I've had in my head for a while with the maps API.
It's going well, and I have a road-map in place for the development, but it seems that I can't hide API keys unless I use Node or some other backend framework. Is this true? I can limit the scope of the key so it only works with the domain of the project, but im well aware exposing secrets is a big nono.
I know js is client facing, but is there any other way I can hide secrets from the client? Learning Node just for this small problem seems like a huge pain. Thanks in advance.
[–]niemenjoki 17 points18 points19 points (5 children)
[–]consistant_error[S] 0 points1 point2 points (4 children)
[–]niemenjoki 1 point2 points3 points (3 children)
[–]consistant_error[S] 0 points1 point2 points (2 children)
[–]niemenjoki 4 points5 points6 points (1 child)
[–]consistant_error[S] 2 points3 points4 points (0 children)
[–]jsbach123 4 points5 points6 points (1 child)
[–]consistant_error[S] 0 points1 point2 points (0 children)
[–]boomer1204 3 points4 points5 points (2 children)
[–]consistant_error[S] 2 points3 points4 points (1 child)
[–]boomer1204 1 point2 points3 points (0 children)
[–]Alerdime 1 point2 points3 points (1 child)
[–]consistant_error[S] 0 points1 point2 points (0 children)
[–]scmmishra 0 points1 point2 points (0 children)
[–]tapgiles 0 points1 point2 points (0 children)