LWN: Comments on "Gone In Six Characters: Short URLs Considered Harmful for Cloud Services (Freedom to Tinker)" https://lwn.net/Articles/683880/ This is a special feed containing comments posted to the individual LWN article titled "Gone In Six Characters: Short URLs Considered Harmful for Cloud Services (Freedom to Tinker)". en-us Sat, 01 Nov 2025 12:49:13 +0000 Sat, 01 Nov 2025 12:49:13 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Gone In Six Characters: Short URLs Considered Harmful for Cloud Services (Freedom to Tinker) https://lwn.net/Articles/685154/ https://lwn.net/Articles/685154/ mathstuf <div class="FormattedComment"> The best patterns I've seen are "<a href="https://host/path/id/slug">https://host/path/id/slug</a>" where the slug doesn't matter (so if the link gets word-wrapped or truncated, it still resolves properly), but is still useful when searching history or whatever. But that doesn't really work for non-static websites.<br> </div> Tue, 26 Apr 2016 18:04:37 +0000 Gone In Six Characters: Short URLs Considered Harmful for Cloud Services (Freedom to Tinker) https://lwn.net/Articles/685092/ https://lwn.net/Articles/685092/ itvirta <div class="FormattedComment"> Including the title in the URL is actually _useful_ too, if you happen to only have the URLs saved. <br> It's rather annoying to pick the correct one amongst many that differ only by an opaque number.<br> <p> </div> Tue, 26 Apr 2016 12:50:53 +0000 Gone In Six Characters: Short URLs Considered Harmful for Cloud Services (Freedom to Tinker) https://lwn.net/Articles/685085/ https://lwn.net/Articles/685085/ robbe <div class="FormattedComment"> <font class="QuotedText">&gt; If you are puking your internal data structures into the URL</font><br> <p> If you’re CMS puts the article "Gone In Six Characters: Short URLs Considered Harmful for Cloud Services" under <a href="https://example.org/Gone-In-Six-Characters-Short-URLs-Considered-Harmful-for-Cloud-Services">https://example.org/Gone-In-Six-Characters-Short-URLs-Con...</a> it is NOT because it somehow shows its innards (that’s much more the case, if the article in question is at <a href="https://lwn.net/Articles/683880/">https://lwn.net/Articles/683880/</a>)<br> <p> The reason for these verbose URLs seems to be search engine "optimisation" (newspeak for tricking). I don’t know if Google (are there other engines these SEOers and their customers care about?) still gives more weight to keywords in the URL than in the text, or if it ever did.<br> </div> Tue, 26 Apr 2016 12:10:41 +0000 Gone In Six Characters: Short URLs Considered Harmful for Cloud Services (Freedom to Tinker) https://lwn.net/Articles/684952/ https://lwn.net/Articles/684952/ JFlorian <div class="FormattedComment"> <font class="QuotedText">&gt; There's nothing worse than copy-pasting an Amazon string, even and discovering a pile of unnecessary junk on the end of it.</font><br> <p> I oft wonder if my soul is part of that unnecessary junk and if I've made some sort of deal with the devil if I don't trim it.<br> </div> Mon, 25 Apr 2016 14:18:30 +0000 Gone In Six Characters: Short URLs Considered Harmful for Cloud Services (Freedom to Tinker) https://lwn.net/Articles/684134/ https://lwn.net/Articles/684134/ pr1268 <blockquote><font class="QuotedText">So it seems reasonable to assume that the person who requested all of those driving directions lives at that address.</font></blockquote> <p>Either that, or the researchers stumbled upon someone's malicious prank to inundate said address with dozens of unwanted visitors.</p> <p>Okay, I'm being a little facetious here, but it <em>could</em> happen!</p> Sun, 17 Apr 2016 20:41:19 +0000 Gone In Six Characters: Short URLs Considered Harmful for Cloud Services (Freedom to Tinker) https://lwn.net/Articles/684027/ https://lwn.net/Articles/684027/ cwitty <div class="FormattedComment"> "What I don't quite understand is how do they know who created that map?"<br> <p> If you're talking about the geocacher map, the researchers created the map as a summary of hundreds of sets of driving directions, all starting at one particular residential address. So it seems reasonable to assume that the person who requested all of those driving directions lives at that address.<br> </div> Fri, 15 Apr 2016 19:33:46 +0000 Gone In Six Characters: Short URLs Considered Harmful for Cloud Services (Freedom to Tinker) https://lwn.net/Articles/684000/ https://lwn.net/Articles/684000/ ledow <div class="FormattedComment"> That's a problem with the CMS, not the URL.<br> <p> And every CMS I've ever used has a "friendly URL" option which basically just puts the logical location (e.g. fred.com/section/subsection/page) as the URL string.<br> <p> There's nothing worse than copy-pasting an Amazon string, even and discovering a pile of unnecessary junk on the end of it.<br> </div> Fri, 15 Apr 2016 15:24:20 +0000 Gone In Six Characters: Short URLs Considered Harmful for Cloud Services (Freedom to Tinker) https://lwn.net/Articles/683996/ https://lwn.net/Articles/683996/ drag <div class="FormattedComment"> <font class="QuotedText">&gt; I agree with you but CMS that generate ridiculously long and non copy-pastable URL are to blame fo the invention of shorteners.</font><br> <p> The reply to that is obviously: <br> <p> <font class="QuotedText">&gt; Sadly, 25 years on and the exotic wizardry of hypertext remains barely understood by the people whose job involves communicating with others on the Web...</font><br> <p> If you are puking your internal data structures into the URL then you are doing something wrong, I figure. URL shorteners are just a symptom of a bigger problem. <br> </div> Fri, 15 Apr 2016 15:02:19 +0000 Gone In Six Characters: Short URLs Considered Harmful for Cloud Services (Freedom to Tinker) https://lwn.net/Articles/683961/ https://lwn.net/Articles/683961/ khim <p>I don't really see why. Note that we are NOT talking about some arbitrary functions which you could calculate locally. Rather we talk about something you need to ask remote server about!</p> <p>Which means that if server responds fast enough to make human reader happy but not fast enough to make brute-force attack feasible... then that's it: fast computers and ASICs wouldn't change anything for that equations.</p> Fri, 15 Apr 2016 14:28:11 +0000 Gone In Six Characters: Short URLs Considered Harmful for Cloud Services (Freedom to Tinker) https://lwn.net/Articles/683956/ https://lwn.net/Articles/683956/ ballombe <div class="FormattedComment"> I agree with you but CMS that generate ridiculously long and non copy-pastable URL are to blame fo the invention of shorteners.<br> <p> </div> Fri, 15 Apr 2016 12:55:50 +0000 Gone In Six Characters: Short URLs Considered Harmful for Cloud Services (Freedom to Tinker) https://lwn.net/Articles/683954/ https://lwn.net/Articles/683954/ lmb <div class="FormattedComment"> Not to mention that these various URL redirection services amass tons of data on who accesses the links from where.<br> <p> It's not uncommon nowadays to be shuffled through three or more layers of indirection, allowing an exact mapping of the social media graph it got passed through.<br> </div> Fri, 15 Apr 2016 12:05:38 +0000 Gone In Six Characters: Short URLs Considered Harmful for Cloud Services (Freedom to Tinker) https://lwn.net/Articles/683951/ https://lwn.net/Articles/683951/ pboddie <div class="FormattedComment"> Careful: you'll get shouted down by the "everybody else does it" brigade. It gets even more annoying when people use these obfuscated URLs in communications where the original URL need not be short, like normal HTML where it is the link text that gets displayed.<br> <p> Sadly, 25 years on and the exotic wizardry of hypertext remains barely understood by the people whose job involves communicating with others on the Web, as their communications gradually degrade into a string of hash- and at-prefixed keywords mixed with opaque references that depend on a handful of proprietary services for their correct interpretation, making those utterances even less comprehensible when reviewed in 25 years' time.<br> </div> Fri, 15 Apr 2016 11:30:40 +0000 Gone In Six Characters: Short URLs Considered Harmful for Cloud Services (Freedom to Tinker) https://lwn.net/Articles/683952/ https://lwn.net/Articles/683952/ NAR <div class="FormattedComment"> I think there's an option to share it with only specific Google Maps users (i.e. with those who have a Google account).<br> <p> What I don't quite understand is how do they know who created that map?<br> </div> Fri, 15 Apr 2016 11:25:53 +0000 Gone In Six Characters: Short URLs Considered Harmful for Cloud Services (Freedom to Tinker) https://lwn.net/Articles/683950/ https://lwn.net/Articles/683950/ alonz It actually is quite common to have a URI act as a password: just look e.g. at the URIs for Google photos. <p> And there is good reason for this practice&mdash;it enables the photo owner to share it with friends without them having to sign in. So sure, it's limited (if the URI leaks, it's usable by anyone) but it is a valid trade-off. Fri, 15 Apr 2016 11:10:03 +0000 Gone In Six Characters: Short URLs Considered Harmful for Cloud Services (Freedom to Tinker) https://lwn.net/Articles/683948/ https://lwn.net/Articles/683948/ niner <div class="FormattedComment"> So how exactly can I password protect the Google Maps route I'm sending to someone?<br> </div> Fri, 15 Apr 2016 10:43:20 +0000 Gone In Six Characters: Short URLs Considered Harmful for Cloud Services (Freedom to Tinker) https://lwn.net/Articles/683945/ https://lwn.net/Articles/683945/ jezuch <div class="FormattedComment"> <font class="QuotedText">&gt; Heh. I've always disliked shorteners.</font><br> <p> I was going to say that! :) Yeah, they are opaque and very unhelpful when I want to quickly and efficiently determine whether I want to go there at all. You never know where you're going to land. This alone has some security implications...<br> </div> Fri, 15 Apr 2016 10:14:43 +0000 Gone In Six Characters: Short URLs Considered Harmful for Cloud Services (Freedom to Tinker) https://lwn.net/Articles/683941/ https://lwn.net/Articles/683941/ epa <div class="FormattedComment"> That's what I am saying. Treating the URI as a password and trying to keep it 'secret' is a flawed approach. Accept that the URI can be found out by anyone who does a bit of digging, and if you have sensitive information to protect, use a password or other authentication to protect it.<br> <p> A longer URI would be harder to find by brute force, but that is only a sticking plaster for the problem, since it will still turn up in Referer: headers and so on.<br> <p> That said, it is certainly true that the insecure approach is usually the more convenient one, and passing around URIs which don't require any further login details is always going to beat any other approach in convenience. So a sticking plaster may be the best we can do at the moment. If everyone in the world had a Google account then it would be trivial to 'share these driving directions with the following users...' but, thank goodness, the world is more messy than that.<br> </div> Fri, 15 Apr 2016 09:06:53 +0000 Gone In Six Characters: Short URLs Considered Harmful for Cloud Services (Freedom to Tinker) https://lwn.net/Articles/683933/ https://lwn.net/Articles/683933/ DOT <div class="FormattedComment"> The URI is a red herring in this case, since you can consider it the password. The real problem is that the password was too short.<br> </div> Fri, 15 Apr 2016 07:28:21 +0000 Gone In Six Characters: Short URLs Considered Harmful for Cloud Services (Freedom to Tinker) https://lwn.net/Articles/683931/ https://lwn.net/Articles/683931/ tao <div class="FormattedComment"> Indeed. If there really are services that rely on the URI for security, then those services are flawed -- URI shortening or not.<br> </div> Fri, 15 Apr 2016 07:26:15 +0000 Gone In Six Characters: Short URLs Considered Harmful for Cloud Services (Freedom to Tinker) https://lwn.net/Articles/683927/ https://lwn.net/Articles/683927/ epa <div class="FormattedComment"> Hasn't it always been a tenet of the Web that relying on keeping a URI 'secret' is doomed?<br> If you have sensitive information to protect, don't rely on others not being able to guess the URI; protect it with a password or other authentication mechanism instead.<br> </div> Fri, 15 Apr 2016 06:51:17 +0000 Gone In Six Characters: Short URLs Considered Harmful for Cloud Services (Freedom to Tinker) https://lwn.net/Articles/683926/ https://lwn.net/Articles/683926/ eru <div class="FormattedComment"> In one sense MS is right: the attack works because the URLs are short, and making short URLs is the whole point of URL shorteners. I suspect you would need something like 20 characters to make brute-forcing infeasible today, and the minimum length would grow over time.<br> <p> </div> Fri, 15 Apr 2016 06:10:39 +0000 Gone In Six Characters: Short URLs Considered Harmful for Cloud Services (Freedom to Tinker) https://lwn.net/Articles/683915/ https://lwn.net/Articles/683915/ dirtyepic <div class="FormattedComment"> Which is which?<br> <p> Just kidding, we all know the answer.<br> </div> Fri, 15 Apr 2016 00:12:49 +0000 Gone In Six Characters: Short URLs Considered Harmful for Cloud Services (Freedom to Tinker) https://lwn.net/Articles/683892/ https://lwn.net/Articles/683892/ noahm <div class="FormattedComment"> The difference in tone of the responses from Google and Microsoft, when informed of this problem with their services, is really interesting. One of these companies either didn't comprehend the significance of the problem or didn't take seriously the threat to their users. The other fixed the problem promptly, and is working on additional defenses for the future.<br> </div> Thu, 14 Apr 2016 20:59:47 +0000 Gone In Six Characters: Short URLs Considered Harmful for Cloud Services (Freedom to Tinker) https://lwn.net/Articles/683889/ https://lwn.net/Articles/683889/ niner <div class="FormattedComment"> A quick test shows that even with manual trial and error one can find working URLs quite easily. A "take me to some random page" feature would be very simple to build...<br> </div> Thu, 14 Apr 2016 20:34:47 +0000 Gone In Six Characters: Short URLs Considered Harmful for Cloud Services (Freedom to Tinker) https://lwn.net/Articles/683888/ https://lwn.net/Articles/683888/ mathstuf <div class="FormattedComment"> Heh. I've always disliked shorteners. Seems like a good reason to continue to not use them. Also fun is finding the shorteners which need JS to actually work…<br> </div> Thu, 14 Apr 2016 20:29:21 +0000