Skip to content

Should I worry about copying the compiled WASM by someone? #24173

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
AI-Durandal opened this issue Apr 23, 2025 · 1 comment
Open

Should I worry about copying the compiled WASM by someone? #24173

AI-Durandal opened this issue Apr 23, 2025 · 1 comment

Comments

@AI-Durandal
Copy link

Is it possible of anyone to copy the compiled WASM from my published web site with a compiled WASM feature, and use it on his/her web site?
I worry about the piracy of copyright of my WASM files.
Should I take any kind of counter-measures in order to prevent the piracy?
Thank you in advance.

@sbc100
Copy link
Collaborator

sbc100 commented Apr 23, 2025

On the web there is no way to prevent folks from copying your assets since they are all downloaded over the public internet. The wasm binaries in this case are no different to your existing CSS, JavaScript or image assets.

In other words, no there is no way to prevent someone from gaining access to the wasm file. The wasm runs on the client so the client necessarily needs access to it.

If you are asking about reverse engineering the contents of the wasm, that is different question, but its also hard to prevent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants