Hacker News new | ask | show | jobs
by Meph504 1665 days ago
Fair point, you can accomplish the same by comparing the ip adress that the image request came from against your servers.
1 comments

Wouldn't that just mean comparing the user's public address? It is the browser that is trying to download the image from your servers.
The shortest route yes, but I'd rather whitelist check, because depending on your infra, there might be a lot more things that make request for the content.

But the concept is the same, server side check the ip of the request, and take action based on that check.