Saturday, July 11, 2009

Watch where you're going!



Shortened URLs, such as those created by the tinyurl.com, bit.ly, and tiny.cc, have become quite common.
They turn a super long URL such as:
http://www.amazon.com/Peach-Beanbag-Purple/dp/B001I82E5C/ref=sr_1_65?ie=UTF8&m=A1BP9IUW2BQTAE&s=sporting-goods&qid=1247289816&sr=1-65
into a shorter url such as:
http://bit.ly/10FkOL

I'm a bit uncomfortable around them.

Yes, these shortened URLs are nice and convenient. They make super long addresses look a lot nicer, and they’re great for status updates such as on Facebook and Twitter, where you are typically limited to a certain number of characters.

But I feel uncomfortable because I can't see exactly where I'm going. "http://bit.ly/10FkOL" doesn't tell me anything. I have no clue that it's a link to an item on amazon.com. Just as in real life, you wouldn't drive to an unknown or unfamiliar location (it could be in a bad neighborhood!), you also don't want to surf to a bad site, which may lead to bad graphics (at the very least), phishing, or malware injected into your computer... Spammers like to use these shortened URLs, because they can easily bypass SPAM filters. They can also more easily bypass other security features provided by your browser.

What can I do about them?
You can check on the link before you go to it. Many of these URL-shortening sites provide a preview feature. (For example, go to http://preview.tinyurl.com/msezvx instead of http://tinyurl.com/msezvx. You can also go to other sites (like http://longurl.org/), type in a shortened URL, and see where it'll lead to without actually going there.

There are also browser plugins (like this one or this one) that you may use, and when you hover over the link a preview and link to the real site will automatically appear on-screen.

If you are providing a link, just include the entire address or use a regular link like this so that when a user hovers over the link, he can just look at the browser and see where the link will take him. If you are using Twitter, you may not be able to avoid using a shortened URL. Oh well.

My friend sent me the link - can't I just trust my friend?
Your friend is probably more trustworthy than a random unknown source on the internet - you can usually trust your friend.... unless (1) your friend's account was compromised and your friend didn't really send you that message (this has happened to my friends on Facebook and in instant messaging services).. or (2) your friend didn't know what he sent you is a bad site.. or (3) the site providing the URL shortening service was hacked (as has happened before.)

Be careful with shortened URLs - they may be bad sites in disguise!

Update:
bit.ly's blog entry about what it does to protect against SPAM and malware. It'll give you warning message if it knows some site is probably a bad site before redirecting you to the actual site. That's a nice addition.

No comments:

Post a Comment