Preventing Amazon Cloudfront hotlinking

前端 未结 7 1821
孤独总比滥情好
孤独总比滥情好 2020-12-08 15:18

I use Amazon Cloudfront to host all my site\'s images and videos, to serve them faster to my users which are pretty scattered across the globe. I also apply pretty aggressi

7条回答
  •  Happy的楠姐
    2020-12-08 16:14

    This question mentioned image and video files.
    Referer checking cannot be used to protect multimedia resources from hotlinking because some mobile browsers do not send referer header when requesting for an audio or video file played using HTML5.
    I am sure of that about Safari and Chrome on iPhone and Safari on Android.
    Too bad! Thank you, Apple and Google.

提交回复
热议问题