Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
Is there any way to encrypt the js files in the solution after publishing the VS project?
I want to see all js files in encrypted format to prevent people from viewing.
Thanks in advance.

Regards,
Soumya

What I have tried:

I used Free Javascript Obfuscator - Protects JavaScript code from stealing and shrinks size[^]
but this is not a proper solution since it needs to be done by manually and also paided service.
Posted
Updated 29-Apr-16 0:10am
v2

1 solution

You can't encrypt them as the browser can't decrypt them. Obfuscators make the code much harder\impossible to read by a human without affecting how they work so it's the best option really. There are free ones out there if you search some more.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900