Forwarding with Benjamin's permission, curious what other people think
of this! We definitely need to think more in terms of this sort of
per-user web, and less in terms of client-server websites.
On Fri, Jun 22, 2012 at 3:20 PM, <
byo...@bigbluehat.com> wrote:
> I've been toying with an idea for identification "routing" on the Web. By
> that, I mean a simpler URL pattern/design for things like OpenID, WebFinger,
> etc. URL-based login identifiers were said to be one of the major adoption
> hurdles for OpenID.
>
> The idea sprang from a bad/lazy/accidental habit I formed of occasionally
> typing in a person's e-mail address into the location bar of my browser.
> Needless to say I've been frequently disappointed. :)
>
> One day, I realized I *should* be able to do that! And in fact, HTTP already
> had specs (HTTP Basic) that looked quite similar to an e-mail address
> (
http://user:pa...@domain.com/ which of course you know). :)
>
> My idea, is simply a "tweak" to HTTP Basic that would allow a different
> interaction if the password *and* the preceding colon are left off.
>
> So,
http://byo...@bigbluehat.com/ would respond as if it were any other HTTP
> resource and not with an authentication request.
>
> I realize that "inside" the HTTP packets, it doesn't look like a nice,
> e-mail address-looking URL, but rather something like this:
> GET /
> Host:
bigbluehat.com
> Authorization: Basic YnlvdW5n
>
> If the server received an Authorization header which, upon base64 decoding,
> had no ":" or anything to the right of it, then it would "upgrade" or
> "reconsider" the request as an "identity" request and return some
> identifying information--based on the server's setup, user's preferences,
> and included Accept headers.
>
> In the typical (or most-likely-to-be-implemented) case, the above address
> would return an HTML page containing "discovery" content for OpenID,
> WebFinger, etc. That HTML may also be that person's public profile
> (
about.me,
flavors.me style) or even their public microblogging feed
> (imagine
http://bigbl...@twitter.com/ returning or redirecting to my
> twitter stream).
>
> This topic of "humanely parse-able URLs" is coming up more and more. OpenID,
> WebFinger, WebID, and i-names all offer "strange" looking (from a user
> perspective) URLs that "mimic" e-mail or Twitter-style identifiers
> (sometimes at a monetary cost to the user), and they're likely to be
> unmemorable. Additionally, it's often recommended by those specs, that the
> HTML-level discovery mechanisms be placed in a more memorable
> location...like the user's home page or blog URL. This spec/idea would
> provide a memorable location for just that sort of thing (in addition to
> other valuable uses).
>
> Now, besides HTTP spec tweaking/changing/amending/extending, there's
> obviously the concern of "exposure" of e-mail address, etc. If the
> "Authorization" header is used (and/or augmented with an "Identification" or
> similar header), then HTTPS should suffice in "hiding" things (to some
> extent). Browsers already do a good job of not keeping these URLs in your
> browser history/cache--at least not with the creds attached. That said, in
> the ideal setup, I'd very likely want to link to
>
http://mic...@unhosted.org/ in a FOAF doc, XFN, or similar, and my doing
> that could expose that address to "spammers." However, that's the same risks
> we have now with mailto. The additional risk would be intermediaries and
> even destination servers "catching" requested headers (if not sent over
> HTTPS) and doing something malicious with the findings. However, all of
> those are likely separate considerations.
>
> References:
> OpenID:
https://openid.org/
> WebFinger:
http://code.google.com/p/webfinger/
> WebID:
http://www.w3.org/2005/Incubator/webid/spec/
> i-names:
http://www.inames.net/