How can I protect my site from HTTrack or other software's ripping?

后端 未结 5 1727
终归单人心
终归单人心 2021-02-01 09:27

I recently got a Site Template approved on Themeforest. I am getting just too much traffic on my site and noticed that my demo on Themeforest is getting ripped by some softwares

5条回答
  •  青春惊慌失措
    2021-02-01 09:48

    There isn't much you can do sadly. However, you can stop script kitties half way by importing your source code for your style through the style.css using @import url('here'). They can still view your .css styling but you they'll have to type in the full url to get it. Which can deter some, but not all.

    Other ways is to Obstruficate Javascript code into many numbers so it makes your code confusing and unreadable. As far as HTML files those are readable because the browser has to read it.

    I obstruficate some code on my sites and I haven't had problems with it. It's a last resort kind of security workaround.

    Other ways you can work things out is to embed php files within each other.

    Other than that, you can't really do much.

提交回复
热议问题