samedi 24 avril 2021

Best way to protect website resources from downloading? (no right click) [duplicate]

I'm curious if there is a way to block downloading resources from the web, especially from the inspector. I would like to protect 3D models, textures etc. that I use with Three.js. As I build the script with react, I'm not so concerned about a user sniffing trough the code but the network log in dev tools serves all resources on a silver platter - solutions I can think of are:

  1. Disabling dev tools (inspector)
  2. Blocking direct access to the file via htaccess (not so helpful as there is this right click option to download a resource directly in the network log)

I'm afraid there is no bulletproof solution and I kind of accept the fact someone may steal my work, because the web is like that. But I would like to make it as hard as possible. Thank you.




Aucun commentaire:

Enregistrer un commentaire