Preventing source code being obtained, copied, read by various means such as obfuscation and encryption. Applies especially to interpreted languages such as JavaScript where source code will be run directly on the user's machine.
Questions tagged [source-code-protection]
183 questions
9
votes
3 answers
Source code protection at Microsoft
Here's another question about source code protection... So far I haven't been convinced with the answers to similar questions found on this site (NDAs on the legal side, trusting employees vs. protected code, etc.) So I'd like to formulate it in a…

ericdes
- 612
- 1
- 6
- 12
9
votes
4 answers
How protect chrome extension
Chrome extension is packed to zip archive. After setup it is installed on folder and user can access to it. Also he can rewrite extension and even clone to new extension.
How i can protect extension from user modifications and cloning?
I find…

mpz
- 1,906
- 3
- 15
- 23
8
votes
6 answers
Can people see my PHP code if rendering fails?
In order to get PHP to run I had to enable Includes on Apache webserver. No one can actually see my .php files because when they're fetched by the server they're rendered and the client sees just css/html/whatever. It might just highlight my…

sova
- 5,468
- 10
- 40
- 48
7
votes
4 answers
How to Protect an Exe File from Decompilation
What are the methods for protecting an Exe file from Reverse Engineering.Many Packers are available to pack an exe file.Such an approach is mentioned in http://c-madeeasy.blogspot.com/2011/07/protecting-your-c-programexe-files-from.html
Is this…

techno
- 6,100
- 16
- 86
- 192
7
votes
2 answers
What is the best solution to obfuscate Angular JS controller code
I want to Obfuscate + Minify my Angular JS code in order to not make it public and if someone tries to decode it, then make it a hurdle. Code is running up on the server.
Note: In future we are planning to shift http to https.
I have seen a lot of…

Mishi
- 628
- 4
- 16
- 40
6
votes
5 answers
How to save VBA code to DLL library?
For security purpose, I want to save my macros from VBA in Excel workbook to DLL library file I'd be calling from the file later.
This way it is possible to deploy any version of my macros to company's PCs but noone would ever see the real code…

Skuta
- 5,830
- 27
- 60
- 68
6
votes
1 answer
I can't understand source code implementation of string.kt in kotlin
In kotlin source code, I can't understand how to implement of length of String.kt , it is as following:
package kotlin
public class String : Comparable, CharSequence {
companion object…

Jim Green
- 1,088
- 3
- 15
- 40
6
votes
1 answer
How to protect and compile python source code into a .so library?
I would like to protect my python source code, I know there is no absolute protection possible, but still there should be some means to make it difficult enough to do or quite time-consuming. I want
1) to remove all documentation, comments…

Mannaggia
- 4,559
- 12
- 34
- 47
5
votes
2 answers
Protect TTF Font files by making them unopenable, but still work on as webfonts
I'm a font maker and I want to protect my web-fonts.
I know about the HTACCESS way to protect font files, but I found that there is another way to protect web-fonts: making the TTF font files intentionaly corrupted when you try to open them with…

Elron
- 1,235
- 1
- 13
- 26
5
votes
1 answer
node-machine-id npm library and the actual uniqueness
I was testing the npm node-machine-id. It works fine to generate a "unique" machine id. However, I was hoping to get some additional advice on if this would be the best option for my needs.
In summary, I am building an electron app that will get…

jremi
- 2,879
- 3
- 26
- 33
5
votes
4 answers
How to stop programmers to copy the code from GitHub when they leave the company?
A friend of mine owns a tech-company and he said that one of the biggest problem he faces is that when a programmer leaves the company, they somehow, copy and share the code with their personal GitHub account. What preventive measures can be taken…

one
- 161
- 1
- 1
- 6
5
votes
7 answers
Protecting source code from theft during development
Is there any way to protect my code during development so that if a developer leaves my company they are unable to access files in my project?
This is especially important with TFS where the project is downloaded locally, cached, and available for…

makerofthings7
- 60,103
- 53
- 215
- 448
5
votes
1 answer
How can I protect/obfuscate/etc an ASP.NET MVC app's source code when deployed?
I have had good experiences recently developing with ASP.NET MVC and am considering whether or not to use it for a project coming up at work. One important consideration though: they sell source code licenses separately as a rule, and it's the kind…

nathanchere
- 8,008
- 15
- 65
- 86
4
votes
2 answers
How to prevent jar decompilation
I have created a plugin project in Eclipse, distributed as a jar.
The user can take this jar and decompile it using JAD.
Is there any way so that i can stop the decompilation of a jar file?
Or, at least, to hide my source code from the user?

Eshika
- 321
- 1
- 8
- 20
4
votes
3 answers
build a standalone application from Matlab code
I have some Matlab code and a GUI for it and I want to make a standalone app to Protect my Source Code. How can I build this standalone?
Thank you for any guide.
================================================================================
I…

Abolfazl
- 453
- 4
- 8
- 19