How to prevent a website being completely consumed and mirror-served elsewhere?

前端 未结 3 1109
悲&欢浪女
悲&欢浪女 2021-01-27 00:46

I have heard many stories from people who had their sites integrated elsewhere so that the visitors to those other sites would see the original one not even knowing that the sit

3条回答
  •  野的像风
    2021-01-27 01:39

    In short, you can't. But fortunately, they can only copy your front-end data. Your CSS, Markup, and JavaScript are all out there. You should state in your footer that your content is your property, and may not be copied or distributed in any manner without prior consent from you. That won't deter anybody motivated enough to copy in the first place, but it gives you better footing for any future disputes.

    Some measures can be taken to really make the process of stealing your content rather tedious. Many users will obfuscate their JavaScript, making it practically unintelligible (without programmatically cleaning it up a bit.) This is a very small wall to scale for a thief though, and shouldn't be viewed as an end-all solution to the main problem.

    Sadly, some people are evil. And they will continue to be evil.

提交回复
热议问题