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
3
votes
4 answers

What measures can I take to safeguard the source code of my django site from others?

I have picked up python/django just barely a year. Deployment of django site is still a subject that I have many questions about, though I have successfully manual deployed my site. One of my biggest questions around deployment is what measures can…
tamakisquare
  • 16,659
  • 26
  • 88
  • 129
2
votes
3 answers

How to compile tcl/shell code (Hide original source code)

Please help with the step by step instructions on "How to compile tcl/ shell code" (Need to hide original source code) Please come out with answers considering the following queries Tools need to accomplish that (Please suggest the best/simple…
user1228191
  • 681
  • 3
  • 10
  • 19
2
votes
2 answers

Compile PHP to prevent "theft"?

If I create an application in java I compile it and it's hard to steal the code even if I send you the application. I know you can do it with reverse engineering and such but anyways. If I create an application in PHP and put it on a clients server…
Tiax
  • 269
  • 5
  • 14
2
votes
1 answer

How to provide students with a mystery function in Python

I'm teaching a discrete math course in which I've incorporated a programming component. We have been using Python Notebooks through Jupyter. We're coming up on a section in probability theory, and I would like to provide them with a "mystery random…
2
votes
0 answers

How to simply compile a big python program with huge number of files, for linux, mac and windows

I have made a program for my company using PyQt5 with many files and dependencies. How can I compile to distribute it ? My boss want the code to be invisible and the program must be able to run without bugs on Windows, Mac and Linux. I develop the…
2
votes
4 answers

PHP proxy to download files

I think this is a easy one. I have a simple website with a reserved area and some files to download from it. I disabled direct file download with .htaccess, and I manage the download of file via this simple proxy.php file: // .... if ($filename…
Mauro
  • 189
  • 2
  • 14
2
votes
3 answers

Protect Ruby code

I'm writing Ruby app and I want to use some top-secret algorithms. So how would be the best to protect them from unauthorized access. I have 2 ideas: write them in C and load using FFI (I wonder if It's possible this way) Marshal ruby code, encode…
dreake
  • 129
  • 2
  • 4
2
votes
4 answers

Avoid an application to have access to disk operations

Let's guess in my application I allow to load a DLL with LoadLibrary WIN32. As i don't know the code of that DLL it can be malicious. So my question is, there is some way to tell windows to apply some restrictions to that DLL ( for example disk…
Tonatiuh
  • 41
  • 5
2
votes
3 answers

Read-out protection enabled without any action and can't be disabled

I am currently working on a standalone STM32F4 based board (STM32F469). So far, everything worked fine. I was programming my microcontroller through ST-Link Utility with the STM32F4-DISCOVERY ST-Link via SWD. Friday, when I left the work, everything…
vionyst
  • 487
  • 2
  • 6
  • 14
2
votes
2 answers

how to distribute a package with out exposing the source code in python?

Consider that I have a package called "A" consisting of several modules and also nested packages. Now, I want to distribute this package to user and I do not want user to see my code at all. I heard that ".pyc" can be de-compiled. So, I am just…
2
votes
2 answers

VSTO add-ins: Do I need extra code protection?

I am developing a VSTO Word Add-In in Visual Studio 2015 using Visual Basic. The final .exe file is deployed using a Windows Installer (InstallShield to be precise). I want to protect my source code so my users cannot see or modify it. Can a user…
2
votes
3 answers

Code Security for PHP

What is code security? And also what is obfuscator? Do they have major similarities? I have been hearing about the security issues of the code. How can we secure our code in php? How necessary is it to make our code secured and how?
Aryan G
  • 1,281
  • 10
  • 30
  • 51
2
votes
1 answer

What are the most effective ways to encrypt and protect my VBScript and VBA code?

I need to be able to run my scripts and macros on my client's system without revealing my code. I understand that .vbe wouldn't help much. Is there any way around creating an .exe? But then again, macros would still be exposed. Obfuscate the…
2
votes
2 answers

Source visibility in ionic hybrid apps

I've just started learning ionic framework. It uses web browser capabilities for building apps. These capabilities namely HTML, javascript and CSS are client side stuff. Which on browsers can be seen with view source. My questions is how will be the…
Zameer Ansari
  • 28,977
  • 24
  • 140
  • 219
2
votes
1 answer

GitHub Enterprise source code - compiled or viewable?

GitHub has an Enterprise version which can be hosted on own servers. They probably don’t sell the whole code when you’re on an enterprise plan, but how does GitHub protect the back-end code? I know that the front-end code must be viewable, like the…