I want to protect my source code and does not want the ts and js files to be exposing entire source code. Could you please suggest if there is a library that I can use to prevent this?
Asked
Active
Viewed 2,133 times
0
-
1The same tools you would use for JS. Angular is compiled to JavaScript and then you can use the same tools on this build output. – Günter Zöchbauer Jul 19 '17 at 07:13
-
https://www.google.es/search?q=tools+for+offuscate+javascript&oq=tools+for+offuscate+javascript&aqs=chrome..69i57.8847j0j1&sourceid=chrome&ie=UTF-8#q=tools+for+obfuscate+javascript – Álvaro Touzón Jul 19 '17 at 07:13
-
visit https://stackoverflow.com/questions/194397/how-can-i-obfuscate-protect-javascript – Dhyey Jul 19 '17 at 07:17
-
I have an angular app acting as a client which is completely deployed on a different server and an express app deployed in different server used to serve rest api calls. – rhru Jul 20 '17 at 17:09
1 Answers
0
I'm using Jscrambler for Javascript files. I don't think they work with typescript, but I like protecting my app through them.
You have to pay to use it, but your code won't timeout after protecting it, and they offer good support too for their app.
I use Jscrambler to obfuscate classes, methods, and variables, but they also offer code locks, and an anti-tampering/anti-debugging feature.

user7366409
- 186
- 1
- 5
-
-
From what I've tested, no. Open source programs I testes were also easily reversible. – user7366409 Aug 07 '17 at 08:41