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
1
vote
5 answers
How to protect my Python code before distribution?
I have written a python code which takes an input data file, performs some processing on the data and writes another data file as output.
I should distribute my code now but the users should not see the source code but be able to just giving the…

user8224662
- 131
- 2
- 6
- 13
1
vote
1 answer
Encrypt .dll from asp.net web application
I had in mind, if it´s possible to encrypt all the source code from web applications (.dll) and keep the app working with this approach?.
Recently our company has been suffering many attacks to the server, and they can be able to steal some source…

deduardolv
- 23
- 4
1
vote
0 answers
python compilation-encryption to skip plagiarism
I'm considering to compile a python code in order to ensure the source-code without losing script functionality
By reading the following post from stackoverflow: "Is it possible to decompile a compiled .pyc file into a .py file?", I took into…

PeCaDe
- 277
- 1
- 8
- 33
1
vote
1 answer
Is it possible to get source code of abstract, extends, implements keywords?
Is it possible to get source code of abstract, extends, implements keywords? I want to see how abstract or extends work in Java?

Nick Silicon
- 61
- 1
- 12
1
vote
1 answer
Compile node.js express app into binary
I'm trying to compile an express web API into a binary so that my source code can be protected.
I'm trying nexe. I noticed a few pitfalls such as __dirname and __filename's behavior will be modified. I certainly can modify my own code to avoid…

Lee
- 2,874
- 3
- 27
- 51
1
vote
2 answers
setContentView shows number; how can I find layout after decompile code?
I have decompiled an apk code by using apktool. The code which I got contains
setContentView(2130903087);
My question is how can I find the layout name from this line.

Rahul Vats
- 277
- 3
- 17
1
vote
2 answers
SQL Server Procedure with Encryption input Parameter
I am new at using procedure with encryption, I tried altering my procedures to encrytped procedure. When there is no input parameter something like,
ALTER PROCEDURE [dbo].[Stock] WITH ENCRYPTION
-- @Input_Parameter1 nvarchar(50) -> gives syntax…

Ali CAKIL
- 383
- 5
- 21
1
vote
2 answers
Is it possible to view source code of an API class?
E.g I'd like to see how Integer Class is coded. Is that available?

Square-root
- 853
- 1
- 12
- 25
1
vote
0 answers
How can protect Java source code
I am developing an Java web application witch I will deploy to a war file.
The problem is that using JD Decompiler system administrators or someone else witch has access to war file can decompile and take the source code.
Is it possible to protect…

A. Zalonis
- 1,599
- 6
- 26
- 41
1
vote
0 answers
Protecting .NET assemblies
I'm currently learning MSIL and wanted try, if I can "crack" an assembly only editing byte codes via Notepad++ (with Hex-Editor plugin). So I wrote a simple console application taking one argument, hashing it (SHA256), comparing it with an already…

Cubi73
- 1,891
- 3
- 31
- 52
1
vote
0 answers
Ruby On Rails, Ruby code compilation, encryption?
I have developed a tool with ruby on rails, and I want to install my tool on a client in-house intranet. I can deliver an application which protects my Javascript code and sources, but is there a way to protect/encrypt the ruby on rails code?…

Lefty
- 395
- 1
- 7
- 17
1
vote
1 answer
Protecting SWF file with bytearray
I'm developing a Flex application for a customer and I don't want others know my code using decompilers, I found a SWF protector(dcomsoft) that convert all codes to a byte arrays and the code becomes more complex for beginners programmers and I…

parse
- 1,706
- 17
- 27
1
vote
2 answers
Unable to execute JavaScripts files protected through .htaccess
Being new to .htaccess concept, I have a basic question.
I tried to protect a directory which hosts my stored procedure files... this is because I need not anyone else accessing the code of the file. My issue is the following:
When I try to access a…

Samuel Mathews
- 171
- 1
- 2
- 17
1
vote
2 answers
Would missing jars affect Fortify scan results?
I am trying to scan pure .java files using Fortify static code analysis and frequently getting an error message saying that I have not included the complete list of jars.
"The following references to java classes could not be resolved. Please make…

user2122786
- 71
- 2
- 3
1
vote
1 answer
How to protect my copyright links in Wordpress footer?
I would like to protect my footer copyrights in my templates, because some people has removed it. I saw in some templates some encrypted code with copyrights, and when I delete it - template doesn't work. How I can do that in my templates?

inlanger
- 2,904
- 4
- 18
- 30