Protecting the sources of HTML5 game

后端 未结 8 648
小蘑菇
小蘑菇 2021-02-04 12:00

People have been saying so many good words for HTML5, but one of my main concern is how to protect the source code of my game.

essentially..

  1. How to prevent
8条回答
  •  逝去的感伤
    2021-02-04 12:31

    Ultimately, there is no protection of assets on the web. If you can see it in a browser, you can download it with curl. If protection of assets is a major concern for you, I don't recommend HTML and JavaScript.

    You can obfuscate your code to prevent casual theft and use SSL to prevent snooping, but industrious people will still be able to access these assets in other ways.

提交回复
热议问题