Security and Cryptography
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationSecurity and Cryptography

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 29th, 2003, 03:56 PM
wol wol is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: Switzerland
Posts: 11 wol User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 28 m 29 sec
Reputation Power: 0
Clearing Browser cache

If I look at some of the authentication security setups I've seen, (generally session variables, go back to the database and check if this user has appropriate permissions), I've run into something in testing that bothers me, but I'm not sure if I can do anything about it.

If I login with a high security clearance user, look at some pages requiring that security, then logoff, then login as a low security clearance user, the browser caches the high security page and will show it to the new user. If that user hits the refresh button, the system comes to its senses and refuses to output the page, so I'm assuming (big leap here) that the page was actually generated by the browser cache. (I'm not letting apache cache any pages).

Am I missing something obvious or is there some way to clear the browser cache when the high security clearance user logs off?

Reply With Quote
  #2  
Old June 29th, 2003, 04:19 PM
wol wol is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: Switzerland
Posts: 11 wol User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 28 m 29 sec
Reputation Power: 0
Never Mind

A proper search would have revealed:

header("Cache-control:no-cache, must revalidate");
header("Pragma:no-cache");

as the very first things sent. I accidently was sending a couple of characters prior to the headers.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationSecurity and Cryptography > Clearing Browser cache


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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 On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT