In the world of the internet, the answer is clear: data must reach the browser in order to be displayed.
If you want to prevent people from easily copying your models from the resources tab, there are various strategies you can implement. The options are plentiful and only constrained by your creativity.
Here are some ideas to inspire you:
- Create your own unique file format instead of using collada, especially if you're working with static models.
- Consider utilizing a compression library to generate a binary blob without indicating the content type in the resources tab (check out or https://github.com/nodeca/pako for examples).
- Utilize the web cryptography API available in modern browsers (https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto) to transmit an encrypted file securely to the browser.
Ultimately, once you find a way to obfuscate the file type through any means you choose, you'll likely resolve your issue. While it's technically feasible for someone to intercept the data before rendering, it's unlikely that many individuals will go through such lengths.