V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Flourite
V2EX  ›  服务器

网站图片视频怎么反盗链?

  •  
  •   Flourite · 2020-12-23 16:14:17 +08:00 · 2072 次点击
    这是一个创建于 1191 天前的主题,其中的信息可能已经有所发展或是发生改变。

    目前用的方法

    1. 分成两份, 一份限制 origin,另一份公开

    有什么更好的方法吗?

    5 条回复    2021-01-18 14:43:09 +08:00
    wysnylc
        1
    wysnylc  
       2020-12-23 16:50:26 +08:00
    Referer
    maocat
        2
    maocat  
       2020-12-23 16:55:08 +08:00
    url 加 token
    varrily
        3
    varrily  
       2020-12-23 17:29:29 +08:00
    可以参考阿里云 oss 防盗链方案。
    yfwl
        4
    yfwl  
       2020-12-23 19:48:39 +08:00
    防盗链啊,或者 token 时间戳
    stanchenxxx2015
        5
    stanchenxxx2015  
       2021-01-18 14:43:09 +08:00
    防盗链搞起来呀,时间戳防盗链,Referer 防盗链,Cookie 防盗链啥的
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5764 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 46ms · UTC 06:10 · PVG 14:10 · LAX 23:10 · JFK 02:10
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.