News for hackers. Stuff that matters.
Re:Evil.js: A JavaScript library for thwarting hot-linkers by welder on Monday March 31, 2014 @11:25AM (#7502027)
combination and minification also prevent hot-linking
Re:Evil.js: A JavaScript library for thwarting hot-linkers by jdavis703 on Monday March 31, 2014 @11:38AM (#7502119)
I've had experience where someone doesn't just hotlink a resource, but they "clone" it, and replace our ads with their ads. Assuming evil.js works by detecting host names, this would help prevent that.
Re:Evil.js: A JavaScript library for thwarting hot-linkers by brianpgordon on Monday March 31, 2014 @12:22PM (#7502384)
It doesn't, as a cursory glance at the source would show.
Re:Evil.js: A JavaScript library for thwarting hot-linkers by toxicFork on Monday March 31, 2014 @12:44PM (#7502543)
The server could check which page is embedding the script and then server evil.js instead of good.js :)
Re:Evil.js: A JavaScript library for thwarting hot-linkers by Dylan16807 on Monday March 31, 2014 @01:19PM (#7502810)
Better hope they don't visit the real site after the fake site!
Re:Evil.js: A JavaScript library for thwarting hot-linkers by cmelbye on Monday March 31, 2014 @09:01PM (#7505523)
Don't cache the fake version?