RE: Prevent caching of pdf files
"Tiago Halm" <[email protected]>
| Newsgroups | gmane.comp.security.programming |
|---|---|
| Message-ID | <002e01c3bc29$597f93c0$0b0010ac@Casa> |
If you wish to prevent the pdf from being cached in the client computer, then put all your pdf's in a directory and then in the "Properties" of that directory (inside "Internet Information Services") go to the "HTTP Headers" tab and add the "Expires: -1" header. I believe that will do. Regards Tiago Halm -----Original Message----- From: bsec [mailto:[email protected]] Sent: sexta-feira, 5 de Dezembro de 2003 22:33 To: [email protected] Subject: Prevent caching of pdf files Currently on a secure Internet application we use the "Cache-Control: No Cache" header to prevent information from caching on client machines. We would like to begin to provide pdf files via our application; however, there is a known issue with accessing pdf files with IE 6.0 sp1 when the no-cache header is used. (Please refer to http://support.microsoft.com/default.aspx?scid=kb;en-us;812935 for details.) As we have no control over the client machines accessing our application, is there another way to prevent pdf files from being automatically stored on the clients without using the no-cache header? Thanks in advance, -Brett