作者accordingto (Knoppix)
看板Web_Design
标题Re: [问题] 请问如何才能禁止下载页面上的东西
时间Fri Mar 4 14:21:37 2005
※ 引述《ailicia (等待-是一生中最初的苍老)》之铭言:
: 我有看过有的网站会限制别人从网页上下载东西
: 请问要如何做到,我听过是用java写的
: 如果可以,请将程式码寄给我,谢谢
是这个吗?
---------------------------------------------------------------------------
如何防止附件档案直接被下载
参考
http://www.phpmix.com/index.php?page=213&t=328
Upload a .htaccess file to the folder with the following contents:
<Limit GET POST HEAD PUT DELETE>
order deny,allow
deny from all
</Limit>
This will prevent direct HTTP access to the files on these folders. So, anyone
trying to do so, will (hopefully) get a nice 403 HTTP error.
---------------------------------------------------------------------------
from
http://www.php5.idv.tw/modules.php?mod=forum&act=show&cid=10&showid=5760
--
※ 编辑: accordingto 来自: 61.218.51.174 (03/04 14:22)
1F:推 cplusplus:再怎样都抓得下来的吧...只是手续多一点~ 140.115.205.46 03/04