Chapter 12
■
Attacking Other Users
459
HACK STEPS (continued)
■
The following directives will prevent browsers from caching a page. Note
that these may be specified within the HTTP response headers or within
HTML meta-tags:
Expires: 0
Cache-control: no-cache
Pragma: no-cache
■
If these directives are not found, then the page concerned may be vulner-
able to caching by one or more browsers. Note that cache directives are
processed on a per-page basis, and so every sensitive HTTP-based page
needs to be checked.
■
To verify that sensitive information is being cached, use a default instal-
lation of a standard browser, such as Internet Explorer or Firefox. In the
browser’s configuration, completely clean its cache and all cookies, and
Do'stlaringiz bilan baham: