What is the best way for Protecting Web source Code ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is the best way for Protecting Web source Code ?

We do hard work on our project and Somebody steal our code and change name and upload that code by Showing that its made by him it heart more. How to can we protect our source code and convert code less readable . Can any one explain me the best and latest way of Protecting our website source code.

20th May 2020, 4:24 PM
Ashutosh
Ashutosh - avatar
8 Answers
+ 6
I don't have much knowledge about this topic, but i have heard the term "code obfuscation" few times. It makes the code less readable. You should try googling it
20th May 2020, 4:49 PM
Bhavya
Bhavya - avatar
+ 3
Rewrite engine rules
20th May 2020, 5:42 PM
🤔☺️😳😇
+ 1
.htaccess file
20th May 2020, 5:16 PM
🤔☺️😳😇
+ 1
Hello, 1- Client side protection: As the code runs in the browser and we are not interested in the log files, proven methodologies of script concatenation and obfuscation (uglify) would be good enough. 2- Server side protection: This is required only when you do a license sale or deployed in customer site as otherwise (platform as a service) you would have protected access to these files. So, when it is required, as we will also be interested in the log files too, the best option would be to go with exe. The closest that is available for NodeJS platform to create something "like" exe is EncloseJS. Here the problems are unoptimized code, tightly coupled nodejs version, etc. But, won't we normally tradeoff one for another in our architecture? The other option is JXCore. I am not able to get enough documentation on it as most of the doc links based on jxcore.com were breaking. It encrypts the source code and creates the package. We execute our nodejs app through jxcore which decrypts the code before executing it. The problem is how the encryption key is stored and retrieved at the time of decryption as they employ symmetric encryption. (I am not too sure).
22nd May 2020, 12:46 AM
Ben Mansour Marouan
Ben Mansour Marouan - avatar
0
Ok Thanks 👍 Bhavya Tomar
20th May 2020, 5:05 PM
Ashutosh
Ashutosh - avatar
20th May 2020, 5:40 PM
Ashutosh
Ashutosh - avatar
23rd May 2020, 7:19 AM
Ashutosh
Ashutosh - avatar
23rd May 2020, 7:20 AM
Ashutosh
Ashutosh - avatar