jwz - Take my cookie! Choke on it! CHOKE ON MY COOKIE!! [entries|archive|friends|userinfo]
jwz

  www.jwz.org
  userinfo
  archive
  rss

Links
[»| DNA (Log) (iCal) WebCollage (LJ) Mixtapes ]

Take my cookie! Choke on it! CHOKE ON MY COOKIE!! [Thu, 1-May-2008 12:14 AM]
Previous Entry Add to Memories Tell a Friend Next Entry
[Tags|, ]
[music |British Electric Foundation -- Optimum Chant]

Remember the good old days, when if you configured your web browser to remember cookies for a site forever, you wouldn't have to log in again all the fucking time? Gosh, those were the days. Before sites kept a useless shit-ton of server-side session state that they felt the need to constantly expire on you. Or before they decided to log you out every N days for "security" reasons.

Also remember when if you told your web browser to remember your user name and password for web sites, that worked? When people actually used HTTP authentication instead of crazy-assed bullshit involving JavaScript and Flash and turning off autocomplete, because they know better than you? Yeah. Those were the days.

Dear Interweb: fucking knock that shit off.

linkReply

Comments:
[User Picture]From: [info]ender_wiggin04
Thu, 1-May-2008 7:23 AM (UTC)

(Link)

Right but noone ever made basic auth programmable, right? Well, except for embedding a password in the URL, and that always gives me a kind of nervous tick. I'd love to use basic auth more, but I think it needs a little coding love first on the browser side and I think many other webmasters might agree.
[User Picture]From: [info]zetawoof
Thu, 1-May-2008 7:49 AM (UTC)

Reasons HTTP authentication sucks

(Link)

  • There's no way to force a logout
  • Basic sends your password in plain text (well, base64, but that's practically plain text), and the fancier schemes still aren't well-supported
  • There's no way to customize the login UI
  • Some mobile browsers don't support HTTP authentication at all, because nobody uses it
[User Picture]From: [info]jayp39
Thu, 1-May-2008 8:05 AM (UTC)

(Link)

Agreed. There's no excuse for that crap. I'm working on a flash app right now (or rather, the backend for it) and we're configuring it to work better with remembering your password and auto-logging you in. If we can do it with a flash app, there's no excuse for less complicated pages.
[User Picture]From: [info]lenno_cornish
Thu, 1-May-2008 8:15 AM (UTC)

(Link)

As with any other human-made feature it had both negative and postitive effects. For example your cookies can be used by federal agents against you:)
[User Picture]From: [info]fo0bar
Thu, 1-May-2008 8:17 AM (UTC)

(Link)

Duh. As we all know, we should use all-natural features, which the feds can't use against us.
[User Picture]From: [info]fo0bar
Thu, 1-May-2008 8:16 AM (UTC)

(Link)

I went to chase.com to pay my credit card bill this evening. The cycle for the last year or so has been this:

1. Go to chase.com, notice that the username is not pre-filled.
2. Enter my username and password, check "remember my username", never actually expecting that to work the next month. Log in.
3. Get "Hey, we don't recognize your computer!" (Note: my computer has not been given plastic surgery in the last month.) "We'll have to SMS a code to your cell phone so you can prove yourself to us!
4. It does so, I enter the 6-digit code, it lets me in.
5. I pay my credit card bill.
6. Repeat next month.

This month, the username wasn't pre-filled, but here's the surprise: it didn't "not recognize" my computer! Isn't technology amazing!
[User Picture]From: [info]neurophyre
Thu, 1-May-2008 2:37 PM (UTC)

(Link)

It's probably installing an ActiveX control to query yr 'Windows Genuine Advantage' hardware hash. heh.
[User Picture]From: [info]imsaguy
Thu, 1-May-2008 5:05 PM (UTC)

(Link)

I get this too. cardmemberservices.com, which is an identical site except its hooked up to all of their branded cards, has the same checkbox and doublecheck. It actually remembers the username as well as the doublecheck, so I'd venture to guess that part of their code is broken on chase.com.
[User Picture]From: [info]nester
Thu, 1-May-2008 9:58 PM (UTC)

(Link)

yeah, part of the reason I canceled my Chase card was because of this. Hate Hate Hate.

That and I had been with them since 2004, had a 750+ credit score, and they refused to give me any better than 21% interest.
[User Picture]From: [info]kavavita
Thu, 1-May-2008 10:01 AM (UTC)

(Link)

one of my *favorite* fabric stores online times out a session after 30 minutes. This means that, wherever you are on their site, if you've been idle for 30 minutes, you get an error saying "sorry! your session has ended! please go to our home page and start shopping again!"

This even happens when, say, I was shopping Monday night, left a browser open, and start working Tuesday morning, and click on a link from a blog/coworker/client saying "check out this product...". Their STUPID FUCKING SITE loses the context entirely, and sends me to a "your session has timed out, please go to our home page and start over" error page, with zero reference to what I was actually trying to get to. This is great, of course, because I usually have four rows of tabs going, and I have to go re-create what I was looking for in the first place, hoping that the original product reference is still in some chat/email log somewhere so that I can figure out what it was in the first place.

Since a major portion of what I have to do is source materials, their shopping site PISSES ME OFF to no end. I've lost hours of time doing research, only to have them delete my entire cart full of carefully chosen materials, because I was idle for thirty minutes. My new solution is to just continually print my shopping cart to PDF so I can at least re-create it later.

they aren't the worst, but they are a nationwide major retailer. No site where you have to have a user account in order to purchase goods should forget what you were trying to buy. ever.

[User Picture]From: [info]inoshiro
Thu, 1-May-2008 6:42 PM (UTC)

(Link)

Have you tried telling them what is wrong, why, and how is has negatively effected your shopping experience?

Waving $$s at companies tends to get them to fix the problem.
[User Picture]From: [info]superlib
Thu, 1-May-2008 12:50 PM (UTC)

(Link)

Another unneccesary kludge of technology is that 'site popup' thing on LJ. Some pople may use it and love it. Personally I don't want a mini-website to pop up any time I mouse over a link. But since the setting is stored in a cookie, any time I use a computer I haven't used before I'm subjected to it again. Or when cookies are auto-purged on my work computer.

Opt-out settings should NOT be stored in cookies.
[User Picture]From: [info]topazirradiated
Thu, 1-May-2008 1:02 PM (UTC)

(Link)

oh i agree! I've been wondering why more people don't complain bitterly about that "function".
[User Picture]From: [info]fu3dotorg
Thu, 1-May-2008 2:41 PM (UTC)

(Link)

A nice way to make people turn off their "IntelliPictures" preview crud on LJ or elsewhere is to link to your nearest goatse page, (with a catchier link title, ofcourse,) and it'll eventually be turned off.
[User Picture]From: [info]paisleychick
Thu, 1-May-2008 2:44 PM (UTC)

(Link)

Greasemonkey + Goodbye Snapshot are your friends.
[User Picture]From: [info]taffer
Thu, 1-May-2008 1:35 PM (UTC)

(Link)

ARGH yes.

The CMS we use here (cobbled together through McGyver techniques) logs you out every hour. Doesn't remember anything for you.

Entirely pointless because it's only accessible from without our network, so you're already authenticated somewhere.
[User Picture]From: [info]mark242
Thu, 1-May-2008 1:48 PM (UTC)

(Link)

You want to know what happened?

Let me tell you what happened...

Microsoft made saving form data the default behavior, and people happened to stay logged into their bank accounts, eBay accounts, etc, while using shared computers. A few lawsuits later, and you've got image-based challenge-response systems, "this computer isn't recognized" ip-validation systems, cookies holding only session ids, and other various security obfuscations.

The real solution to the various security problems is not that stupid Firefox 3 behavior of coloring the url bar green, or making extra-big lock icons that scream "we're secure!" on your sites. The real solution is to use SSL all the time. Browser manufacturers have no excuse to work on the time it takes to create and break down an SSL request/response, and to store all cookie data with the server's public key, so each cookie is encrypted differently. Once you can assume that every request you're processing is SSL, and that any cookie data you send will be secure, you can send a lot more data down to be stored at the client.
[User Picture]From: [info]jferg
Thu, 1-May-2008 2:44 PM (UTC)

(Link)

Remember the good old days when 99% of the people on the internet weren't completely non-technical, and had at least a minimalistic grasp of a.) how the internet worked, and b.) how to keep their personal data somewhat private on their own? Yeah. Me too. Unfortunately, that's not the case now, and the majority of the stupid authentication schemes end up being implemented to keep the lusers safe from themselves. Unfortunately, they just end up inconveniencing the other 2% of the internet that doesn't think that myspace is the greatest thing since the hamsterdance.
(And yes, I work for security at a bank, and we've been forced to implement most of this crap by the Office of the Comptroller of the Currency. But, given some of the stupid shit that I've found just by perusing our referrer logs, (http://luser.tripod.com/myaccounts.html, containing the user's entire username/password and account number list, anyone?) I think for the most part it's justified.)
The session-timeout bullshit, though - there's just no excuse for that shit.

Edited at 2008-05-01 02:45 pm (UTC)
[User Picture]From: [info]quantumanomaly
Thu, 1-May-2008 2:57 PM (UTC)

(Link)

Maybe another take on this whole thing: http://drnicwilliams.com/2008/02/22/zero-sign-on-with-client-certificates/ though if you are multiple systems, then you need to lug a keychain around.
[User Picture]From: [info]evan
Thu, 1-May-2008 3:32 PM (UTC)

(Link)

Un(der?)documented LJ tip: if you put an ! after your username when you login, you don't have to check off the "remember me" setting. This means Firefox remembers "evan!" as my username so even when my cookies are reset the form autofill remembers enough that I don't have to check the checkbox when I log in again.
[User Picture]From: [info]cabrius
Thu, 1-May-2008 4:18 PM (UTC)

(Link)

MS's Xbox site is extra-retarded in that if you were previously logged in and the session expired, the next time you visit it will immediately take you to an "oh please relog in again now" page. Even if you were just going to the front page, or following a link from another site, or anything else that doesn't even need you to be logged in.

If I remember correctly, it doesn't even give you a "no, go away, continue without logging in" option at that point.
[User Picture]From: [info]boggyb
Thu, 1-May-2008 5:09 PM (UTC)

Re: Reasons HTTP authentication sucks

(Link)

Hear hear.

I spent a chunk of time yesterday attempting to find useful stuff (a headset driver that works with the Windows XP Bluetooth stack). After many pages of google results and several trips to the wayback machine I discovered that there's far too much noise, aggregration sites, advertising sites, dead links, domain squatters and people posting "how do i make this cool thing work without having to read the manual" to have any hope of finding actually useful information.
[User Picture]From: [info]elusis
Fri, 2-May-2008 7:08 AM (UTC)

(Link)

Oh, so it's not just me/Firefox/my Mac then.

I suppose that's some kind of small comfort.
From: [info]deviantq
Fri, 2-May-2008 9:26 PM (UTC)

iMacros

(Link)

Recently I've found a pretty good solution for this, which is the iMacros plugin for Firefox. It's basically just very simple macro recording and playback that does all the smart things you would hope. So I can record myself performing complicated multi-step login procedures, and then save the macro into a bookmark, which is basically the easiest thing ever. It's a good fix.
[User Picture]From: [info]lionsphil
Wed, 14-May-2008 12:00 AM (UTC)

(Link)

Jesus, the fact that hardly anyone uses HTTP auth these days, yet also break the idea that a URI encapsulates all page state (the fact that hyperdocuments now have state is a whole barrel of hate of its own), TROLLS ME ROTTEN.

"Oh, hai, we redirected via this shitty form that just boings back to the URI you came from, and now all the form data and AJAX wankery state you were doing has been lost. Kthxbye!"