logoalt Hacker News

littlecranky67today at 12:48 PM1 replyview on HN

Not if its publicly called from Javascript, as your user's browser will make those requests. You neither know their IP addresses, nor is the referer or origin header a safe choice as it can be spoofed outside of a browser.


Replies

lucavicetoday at 12:57 PM

If it's called from Javascript in the browser, it's not a secret API key....

show 2 replies