Ask HN: How are analytics API on public web pages secured?
3 points by powersnail 2 days ago | 3 comments
It struck me today that a lot of public web pages have analytics, and these pages do not require a login. Hence, the analytics API must accept collected data without authentication.
What stops a malicious actor from calling those APIs and feeding them garbage?
XCSme a day ago | next |
> What stops a malicious actor from calling those APIs and feeding them garbage?
Isn't that true for any service or API that collects data? If a bad actor wants to spam it with useless info, they can always find a way to do it.
You can filter out a lot of bad data with UA bot detection and maybe rate limits per IP, but if someone really wants to spam your service, they can always do it.
GA already has a lot keyword/referrer spam, where you saw as referrers some dodgy websites.