Questions tagged [source-code-protection]

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.

183 questions
2
votes
2 answers

Run NodeJS server without exposing its source code

For an usual NodeJS instance, we can start it by node server.js. The problem with this is that, in a production server, when a hacker compromises my machine they will be able to view and copy all of my server-side source code. This is a big risk,…
HenryNguyen
  • 1,153
  • 1
  • 10
  • 8
2
votes
2 answers

protect my code from plagiarizing when deploying symfony2

I'm working with Symfony2.3.4 and PHP 5.6.3. I'm going to deploy a project I just finished and I need to do it "by hand", it means copying the project source code manually onto the production server in a company because I can't use any tool for it…
Scaramouche
  • 3,188
  • 2
  • 20
  • 46
2
votes
1 answer

Encrypting executable causes exception in BinaryAssemblyInfo.GetAssembly

I use a dongle to protect my executable. The dongle protects the software in two ways: inside the code with calls to read/write the dongle memory (for example to store functional data), to encrypt/decrypt data with an algorithm resident in the…
2
votes
4 answers

How to secure an API written in .Net

This is a variation on an existing question in SO about securing/obfuscating .Net applications in general. I'm developing an API in C# that includes some algorithms I'm keen to protect. I understand no method will be perfect, but what's the…
user183325
2
votes
2 answers

Protecting Source Code in Matlab vs. Python

I need to write a program in either Python or MATLAB that contains some proprietary information, but will not easily reveal this proprietary information if the program is distributed. While I realize that a determined hacker can reverse engineer…
2
votes
2 answers

Protecting Ruby Code

I'm developing a commercial project on an ARM based embedded board with a custom Linux kernel on it, using Ruby. Target workspace of the project and the device is a closed-environment, no ethernet, inernet, I/O devices etc... I want to protect my…
Cihan Keser
  • 3,190
  • 4
  • 30
  • 43
2
votes
2 answers

How can I restrict access to Cobertura coverage report in Jenkins

I'm using Jenkins for CI in a multi-user Linux environment, with Cobertura for tracking code coverage. CVS is used for version control. With each "cvs commit" a build is triggered. A build includes running unit-tests and generating code…
2
votes
2 answers

Java JAR protection

I've coded a Java app and I plan to distribute it online. Each release will be locked with a secret serial key I made. I need to secure my jar file from decompiler etc. Here is what I've done so far: User enters his serial key into a form The…
Manitoba
  • 8,522
  • 11
  • 60
  • 122
2
votes
1 answer

Python: have a user-defined function as an input while keeping the source-code inaccessible?

I need to write a piece of software that takes a user-defined function (written in python) as an input. The user-defined function takes a vector of numbers and returns a vector of numbers. My software will call this user function many times (in…
Yulia V
  • 3,507
  • 10
  • 31
  • 64
1
vote
2 answers

Add on to: How do I protect my Python codebase so that guests can't see certain modules but so it still works?

How do I protect my Python codebase so that guests can't see certain modules but so it still works? My question is an add on question posted on the page above. If there are two svn directories; for example, src/private and src/public and internal…
Nav
  • 11
  • 1
1
vote
1 answer

How can I protect my C# opensource game from hacking?

I'm developing a game with online mode, but it's opensource (SourceForge) and anyone can download the code, hack any checks and play against the official server with a hacked client. I've been thinking about EXE file md5 checking, but anyone can…
Beto
  • 21
  • 3
1
vote
2 answers

Inishtech / Software Potential Code Protector integration with Visual Studio build or Setup project

Have anyone tried InishTech Software Potential Code Protector ? Can we integrate this with our build programmatically? I found tutorials but those were to do with the help of the Code Protector standalone GUI. What I want to know is do they have an…
Farooq Ahmed Khan
  • 3,975
  • 3
  • 27
  • 36
1
vote
1 answer

Why does vs2008 express shows me the source code for another dll Project?

i'm totally new to .net especially with c# 3.0 and i'm working on an access database wrapper application because we need to protect the password and content of the database from being directly accessed by a third party developer. I'm currently…
melaos
  • 8,386
  • 4
  • 56
  • 93
1
vote
3 answers

Build a JAR file that can only be executed?

My project isn't complete, but I'd like to distribute some demo versions. Is there a way to make a executable JAR file that won't give users access to its classes (e.g. when imported into Eclipse)?
Peter
  • 4,021
  • 5
  • 37
  • 58
1
vote
1 answer

how to protect unity game code like genshin impact

I am working on a small game in unity,but I found it is easy to get my source code by reading assembly-csharp.dll. I want to find a way to protect it,when I found genshin impact don't have assembly-csharp. How did they done that? I search on the…