<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>
<!--
body
        {height:100%;
        color:#000000;
        font-size:12pt;
        font-family:Times New Roman}
-->
</style><style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 10px;">
<div style="">Making proper hashing algorithms is actually really hard to do.&nbsp; You have to worry about collisions and reversing (in most cases).<br>
<br>
For URL shorteners,&nbsp; it's often more efficient to implement an incrementer and just keep a database around.<br>
</div>
<div><br>
<div style="font-family: Tahoma; font-size: 13px;">
<div style="font-family: Tahoma; font-size: 13px;">
<div style="font-family: Tahoma; font-size: 13px;"><font style="font-family: Courier New;" color="#888888" size="1">-Josh More, CISSP, GIAC-GSLC, GIAC-GCIH, RHCE, NCLP<br>
<a href="mailto:morej@alliancetechnologies.net" target="_blank"><span class="il">morej@alliancetechnologies.net</span></a>
<br>
515-245-7701 </font>
<div style="font-family: Tahoma; font-size: 13px;"></div>
</div>
</div>
</div>
</div>
<div style="font-family: Times New Roman; color: rgb(0, 0, 0); font-size: 16px;">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF102749"><font color="#000000" size="2" face="Tahoma"><b>From:</b> cialug-bounces@cialug.org [cialug-bounces@cialug.org] on behalf of j.bengtson@mchsi.com [j.bengtson@mchsi.com]<br>
<b>Sent:</b> Thursday, July 15, 2010 14:41<br>
<b>To:</b> Central Iowa Linux Users Group<br>
<b>Subject:</b> Re: [Cialug] TinyURL<br>
</font><br>
</div>
<div></div>
<div>I wonder why no one has made a way to take any URL and automatically shorten it.&nbsp; Consider an MD5 hash...you can take virtually any text, no matter how long, and the MD5 algorithm will return a 32-digit hex number.&nbsp; How hard is it to make something similar,
 that can take a URL of any length and return an 8-character string that can then be decoded back to the original URL?&nbsp; Make that algorithm public open-source, and you've got a tinyURL mechanism that isn't dependent upon any vendor, can be checked against a
 blacklist, and yet is short enough for mere humans to handle.<br>
<br>
----- Original Message -----<br>
From: Adam Shannon <br>
To: Central Iowa Linux Users Group <br>
Sent: Fri, 18 Jun 2010 22:54:01 -0500 (CDT)<br>
Subject: Re: [Cialug] TinyURL<br>
<br>
Having a service (or services) to shorten a url that breaks in use<br>
(email, webpages...) is perfectly fine, but that service should only<br>
be giving the user the actual link, not directing them to the link<br>
they wanted.<br>
<br>
What happens when that short link provider goes out of business or is<br>
hacked, then I lose the ability to control where I will end up<br>
(negating anything on the link I'm trying to reach does) because I<br>
can't see where I'm going.&nbsp;&nbsp;If the service is hacked and spreads<br>
malware than anyone with javascript or cookies allowed on that domain<br>
will be infected or tracked.<br>
<br>
In my view, short url providers should only be presenting a page for<br>
the user as to what the short link represents, the short link is not<br>
the same link and therefore shouldn't act the same.&nbsp;&nbsp;It's a<br>
representation for another url.<br>
<br>
Thoughts?<br>
<br>
On Fri, Jun 18, 2010 at 17:26, Scott Prader wrote:<br>
&gt; Sometimes a URL that takes up multiple lines can get cut off with a carriage<br>
&gt; return inserted by some program, at some point.&nbsp; When I see a link, I like<br>
&gt; to think that I can click on it and not get a 404.&nbsp; TinyURL fixed this.<br>
&gt; What they don't do is auto-forward a 404 to archive.org, which tends to<br>
&gt; cover what a downed URL can't, whether it's complete or not.<br>
&gt;<br>
&gt; -Scott<br>
&gt;<br>
&gt; On Fri, Jun 18, 2010 at 4:58 PM, Barry Von Ahsen wrote:<br>
&gt;&gt;<br>
&gt;&gt; 7 ff addons tagged 'unshort url', probably more under other tags<br>
&gt;&gt;<br>
&gt;&gt; https://addons.mozilla.org/en-US/firefox/tag/unshort%20url<br>
&gt;&gt;<br>
&gt;&gt; -barry<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Nathan C. Smith wrote:<br>
&gt;&gt; &gt; Seems to me there could be a whole industry for a technology for<br>
&gt;&gt; &gt; converting the various short-URLs back to long ones, particularly if the<br>
&gt;&gt; &gt; tools and technology provide a means to mitigate potential risks.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Don't bit.ly and others use a hash that stays the same for each<br>
&gt;&gt; &gt; shortening of a reference? &nbsp;So that if you shorten cialug.org and send it to<br>
&gt;&gt; &gt; me I will get the same shortened url if I do it?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; -Nate<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; -----Original Message-----<br>
&gt;&gt; &gt;&gt; From: cialug-bounces@cialug.org<br>
&gt;&gt; &gt;&gt; [mailto:cialug-bounces@cialug.org] On Behalf Of Ed Meacham (@work)<br>
&gt;&gt; &gt;&gt; Sent: Friday, June 18, 2010 3:12 PM<br>
&gt;&gt; &gt;&gt; To: 'Central Iowa Linux Users Group'<br>
&gt;&gt; &gt;&gt; Subject: Re: [Cialug] TinyURL<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; I love the idea of URL shortening services. Though, they<br>
&gt;&gt; &gt;&gt; definitely have instances where the use of one is more<br>
&gt;&gt; &gt;&gt; appropriate than others... I don't see the need to shorten a<br>
&gt;&gt; &gt;&gt; URL in an email, unless you're spreading &quot;infectious-love.&quot;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Rather than write off TinyURL/Bit.ly, I would blame improper<br>
&gt;&gt; &gt;&gt; organization and/or the sender not qualifying the details of<br>
&gt;&gt; &gt;&gt; the URL in the message.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; I see there is a plug-in for Thunderbird for converting a URL<br>
&gt;&gt; &gt;&gt; into a TinyURL... wonder if it has a reversal option? (I<br>
&gt;&gt; &gt;&gt; don't have Thunderbird installed on this machine to check) If<br>
&gt;&gt; &gt;&gt; not, a lookup plug-in might be a good project for someone. :P<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; -emeacham (@work)<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; -----Original Message-----<br>
&gt;&gt; &gt;&gt; From: cialug-bounces@cialug.org<br>
&gt;&gt; &gt;&gt; [mailto:cialug-bounces@cialug.org] On Behalf Of Todd Walton<br>
&gt;&gt; &gt;&gt; Sent: Friday, June 18, 2010 6:27 AM<br>
&gt;&gt; &gt;&gt; To: Central Iowa Linux Users Group<br>
&gt;&gt; &gt;&gt; Subject: [Cialug] TinyURL<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; And another reason I hate this tinyurl thing... I know<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Cialug mailing list<br>
&gt;&gt; Cialug@cialug.org<br>
&gt;&gt; http://cialug.org/mailman/listinfo/cialug<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Cialug mailing list<br>
&gt; Cialug@cialug.org<br>
&gt; http://cialug.org/mailman/listinfo/cialug<br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
-- <br>
Adam Shannon<br>
Web Developer<br>
http://ashannon.us<br>
_______________________________________________<br>
Cialug mailing list<br>
Cialug@cialug.org<br>
http://cialug.org/mailman/listinfo/cialug<br>
<br>
</div>
</div>
</div>
</body>
</html>