An question about web forms and security...
When filling in forms (I use FireFox), it's often possible to hit the down arrow and get a list of things you previously typed into that field. This is kind of handy, mostly, and results in me not having to type my name or email address out a lot.
Forms taking things like credit card details don't usually do this - for obvious reasons - and I assume the existence of some sort of 'nocache' attribute which the form-writer can set on the fields which contain information which should be a little more secure.
Except today I filled in an entire payment form (card number, expiry date, security code, the lot) from cached information based on me having filled the same form out on that website months ago. This strikes me as Not Good.
I intend to write to the site in question and tell them I think they're a bit rubbish... but I'd like to be sure I know what I'm talking about first. Am I right about the form attribute ? Am I totally wrong, and this is something which FireFox implements wrongly and the site itself can't be blamed for ?
Informed opinion welcome :)
When filling in forms (I use FireFox), it's often possible to hit the down arrow and get a list of things you previously typed into that field. This is kind of handy, mostly, and results in me not having to type my name or email address out a lot.
Forms taking things like credit card details don't usually do this - for obvious reasons - and I assume the existence of some sort of 'nocache' attribute which the form-writer can set on the fields which contain information which should be a little more secure.
Except today I filled in an entire payment form (card number, expiry date, security code, the lot) from cached information based on me having filled the same form out on that website months ago. This strikes me as Not Good.
I intend to write to the site in question and tell them I think they're a bit rubbish... but I'd like to be sure I know what I'm talking about first. Am I right about the form attribute ? Am I totally wrong, and this is something which FireFox implements wrongly and the site itself can't be blamed for ?
Informed opinion welcome :)
no subject
Date: 2010-06-08 10:32 am (UTC)It's all in your browser. Under the preferences (I'm on a Mac so if you are on Doze it will vary.) Privacy, remember search and form history.
You're not the only one to have found this: http://support.mozilla.com/en-US/forum/1/7920
You can uncheck this - but this is sometimes rather handy.
So, try http://autofillforms.mozdev.org/ which will crypt the settings via your master password.
What? you haven't got one?
do it now : set a Master Password for your profile (Preferences, Security, Use a Master Password)
:)
no subject
Date: 2010-06-08 10:43 am (UTC)While I'm happy to accept that, that doesn't really explain why credit card forms normally *don't* cache the information, but this specific one does.
What? you haven't got one?
I haven't, no. No one uses my laptop but me, and the log-on is password protected. It's locked when I'm away from it, and thus a master password doesn't really seem to bring much to the party.
I'm curious about the autofillforms, so will experiment with it.
no subject
Date: 2010-06-08 10:46 am (UTC)Just in case anyone else is reading this and fancies trying it, the Windows settings are:
Tools->Options->Privacy, set "Firefox will..." to "Use custom settings for history" to see the "Remember search and form history" checkbox.
Tools->Options->Security for the master password option.
no subject
Date: 2010-06-08 10:37 am (UTC)It's down to the user agent what is cached and how. I just switch it off, especially since I use different email addresses for different sites anyway.
In Firefox you can generally highlight a chunk of site and right-click > "View selection source" to see the HTML. It might be possible to use Firefox-specific and/or javascript tricks to prevent caching.
no subject
Date: 2010-06-08 10:38 am (UTC)no subject
Date: 2010-06-08 10:48 am (UTC)no subject
Date: 2010-06-08 10:53 am (UTC)no subject
Date: 2010-06-08 10:55 am (UTC)no subject
Date: 2010-06-08 11:44 am (UTC)no subject
Date: 2010-06-08 11:46 am (UTC)no subject
Date: 2010-06-08 11:50 am (UTC)Somebody always notices.
no subject
Date: 2010-06-08 11:56 am (UTC)Popping out of a door in amanita muscaria is a dead giveaway, though.
no subject
Date: 2010-06-08 10:45 am (UTC)The behaviour you want is accomplished by setting the property autocomplete = "off" on the <form> element.
no subject
Date: 2010-06-08 10:47 am (UTC)no subject
Date: 2010-06-08 10:49 am (UTC)Well... maybe. There's always a trade-off between security and convenience. I do think it would be reasonable to contact the site and ask them to improve their form.
no subject
Date: 2010-06-08 12:40 pm (UTC)IMHO Edit your saved data to pull the number.
... might not work...
Date: 2010-06-08 10:54 am (UTC)Re: ... might not work...
Date: 2010-06-08 10:56 am (UTC)Re: ... might not work...
Date: 2010-06-08 11:00 am (UTC)Re: ... might not work...
Date: 2010-06-08 11:03 am (UTC)no subject
Date: 2010-06-08 10:57 am (UTC)I believe it is to be included in HTML 5.
no subject
Date: 2010-06-08 11:04 am (UTC)I had this revelation once shortly after the Netscape "extensions" to HTML first came out. At first I thought they were evil. Then I realised it didn't matter whether they were evil or not, because individual web developers were free to use them or not as they chose and therefore they were an instant de-facto standard on account of being useful. (Whether Netscape themselves were evil for adding them in the first place is a more complex matter...)
no subject
Date: 2010-06-08 11:10 am (UTC)no subject
Date: 2010-06-08 11:13 am (UTC)no subject
Date: 2010-06-08 11:14 am (UTC)no subject
Date: 2010-06-08 11:15 am (UTC)no subject
Date: 2010-06-08 11:15 am (UTC)(Although... isn't JavaScript considered a bit web!satanic by such persons? I'm a bit out of touch.)
no subject
Date: 2010-06-08 11:13 am (UTC)I agree, I'm perfectly happy to use de facto standards myself; I figure that's between me and my users. But I can sympathize with the pained expression that some people develop when they see such things.
no subject
Date: 2010-06-08 11:07 am (UTC)HTML 5 is one of those more final than it ought to be working drafts :-)