Performance-oriented way to protect files on PHP level?

前端 未结 8 513
孤独总比滥情好
孤独总比滥情好 2020-12-09 23:15

I am looking for some input on something I have been thinking about for a long time. It is a very general problem, maybe there are solutions out there I haven\'t thought of

8条回答
  •  一整个雨季
    2020-12-09 23:57

    I'd just prevent hotlinking of any non-HTML file, so all the "assets" stuff is accessible only from the HTML page. Removing (or protecting) the page just removes everything without having to mess up the whole file system.

提交回复
热议问题