|
|
|
|
|
by than3
1264 days ago
|
|
Can't you disallow external links that will redirect to a dynamic error page? Things like HTTP Referrer, coupled with a set of rolling dynamic headers so actual site visitors aren't impacted, or significant rate limiting, or a simple non-malicious HTTP widget injection that sends a simple message, stop the unauthorized hotlinking. You could even take it a step further by evaluating at the packet header level but that's a bit of a setup. |
|
You might not want to break the existing web link (if you don’t want to break existing sites). But you could move the link to the javascript code somewhere else which has this origin guarding behaviour.
Edit: There’s a better suggestion down thread. Put the javascript file in a zip file and let people download that. Brilliant.