News for hackers. Stuff that matters.
Re:Ask HN: Is security by obfuscation sufficient? by gojomo on Monday November 16, 2009 @04:56PM (#945383)
Obfuscation via a suitably-long unpredictable URL can work, but as others have noted, there are a number of ways such an URL can leak -- toolbars/browser-plugins being one of them. Also, that a user can easily forward the URL to others to grant access may be a bug or a feature, depending on your preferences.

One often overlooked leak: the 'Referer' [sic] header. If your document is hypertext, and includes outlinks to elsewhere, and the authorized user(s) click those links, those outlink-target sites may receive your confidential URL as a 'Referer' header. As some sites then publish their referrers, in one way or another, the 'secret' URL could wind up in public.

Remember this before creating a 'Competitors' page with outlinks on a 'login-required' but plain-HTTP wiki!

Re:Ask HN: Is security by obfuscation sufficient? by milestinsley on Monday November 16, 2009 @05:19PM (#945437)
Yes. This concept of 'leaking' the URL is becoming apparent to me. I naively assumed you could keep them semi-private (by simply not telling anyone), but this approach is doesn't appear to hold up.

It's a great point about the referrer header too. Thanks!