让SWF文件不显示在IE缓存中

      网站建设知识 2007-2-1 15:8
实现方法就是在Apache Server配置文件(httpd.conf)中加入下面几句:

ExpiresActive On
header append cache-control: "no-cache"
header append pragma: "no-cache"
header append expires: "-1"

下面是个例子:
::URL::http://www.oddhammer.com/tutorials/nocache/SWF_security.html

注意:这种方法只是让Flash不显示在客户端的IE临时文件夹中,但不能防止被直接下载.并且对FireFox浏览器无效.

最终结论是:无论你怎么弄,SWF还是一样被下载.

Via Mike Lyda

最后补充:
不显示不等于没有保存在缓存中.用下面的方法就可以找出来.

标签集:TAGS:
回复Comments() 点击Count()

回复Comments

{commentauthor}
{commentauthor}
{commenttime}
{commentnum}
{commentcontent}
作者:
{commentrecontent}