Re:Tell HN: How to ban url shorteners from linking to your site
by pj on Sunday July 19, 2009 @11:38PM
(#713895)
That's true. I just threw this together. I think you could even create a database table and generate the redirect on the server side or dynamically create the javascript. Most browsers have javascript enabled. Maybe a hacker with some time (maybe I'll create one) could create a site with a dynamically created .js file and a remote link like this:
<script src="http://takebackthewebfromurlshorteners.com/bannedreferrerslist.js">
</script>
This .js could be dynamically generated from a database table of known url shorteners. Such a service could even get really fancy and show stats from all the known shorteners, etc.You could add parameters like this:
<script src=".../bannedlist.aspx?allow=digg.com,bit.ly,etc..."></script>
Then the user could customize exactly which url shorteners they want to allow.All kinds of things a service like this could do!
Re:Tell HN: How to ban url shorteners from linking to your site
by pj on Monday July 20, 2009 @12:26AM
(#713945)
Yeah! That's what i'm talking about!!
now it's just a FOR loop!
Re:Tell HN: How to ban url shorteners from linking to your site
by bhseo on Monday July 20, 2009 @03:38AM
(#714114)
http://www.blackhat-seo.com/2009/short-url-services/
A bigger list.
However even though I'm, in general, against URL shorteners, I wouldn't do this because I think there are some situations where they are helpful.