Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Software > Mozilla Software > FireFox

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-23-2008, 01:00 PM
Jason Deabill
 
Posts: n/a
Firefox 3, unexpected "cache-control" behaviour

Hi all,

I've been doing some work on a web site that is used to display
potentially sensitive information. As such we serve all the pages with a
"cache-control: no-cache, no-store" header (as well as marking them
private, must-revalidate and supplying an already passed expires date).

I've hit a problem where in FF3 the user can log out of the system then
use their browsers back-button to navigate back to pages containing
sensitive data. This is obviously a security problem. FF3 doesn't seem
to be responding to the "cache-control" header in the manner expected.

Looking at about:cache, the pages are correctly not being placed in the
Disk Cache Device, they are however being placed in the Memory Cache
Device. The HTTP/1.1 spec states that this is fine provided a best
effort is made to remove the page from the volatile cache once it's been
displayed. FF3 doesn't do this, and to compound this it doesn't re-fetch
or even re-validate the page when the back button is pressed.

This appears to only be the case for pages served as a response to an
HTTP POST request. GET behaves as expected.

Under FF2 and IE6/7 the behaviour in this scenario is more as expected.
Clicking the back-button to navigate to an expired page warns the user
the page is expired and prompts them to re-POST the data if they wish.

FF3 does not do this.

It's unclear to me whether this is fully to spec or not as the spec
around this (see section 14.9.2) is slightly ambiguous. That said I'm at
a loss to explain why this behaviour would have been changed between
Firefox 2 and 3.

Is anyone able to shed any light on why this has changed or how to force
FF3 not to behave this way?

Another user with this problem has kindly set up some test pages that
illustrate the issue at: http://dev.jeffersonscher.com/cache/index.asp

Any help would be gratefully appreciated.
Many thanks,
Jason
Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Software > Mozilla Software > FireFox


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 10:17 PM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0


Sponsors:
Samsung | Personal Loans | Loans | Personal Loan | Ringtone



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109