主要思路是用Request
首先
<img src="/images/getimg
對getimg
<%
Option Explicit
dim Server_Link
Server_Link=request
Server_Link=mid(Server_Link
Server_Link=left(Server_Link
If Server_Link="code
FilePath="圖片文件夾地址" + Request
Else
FilePath="/images/非法鏈接
End If
Response
%>
可實現防盜鏈效果
From:http://tw.wingwit.com/Article/program/net/201311/14319.html