vendredi 25 mai 2018

How do I hide code/files on my website?

Currently, I have a website: http://hitsujistories.com

There is some javascript running in the body of the index.html that makes a bunch of particles on the screen. I want to keep this code private, but if you got to http://hitsujistories.com/canvas.js the code is openly available for anyone to see. How can I hide this file?

I tried to put the file in a password protected folder, but it didn't work because whenever I tried to go on the website (index.html) and it called for the javascript file, it would require the password.




Aucun commentaire:

Enregistrer un commentaire