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
0
votes
1 answer

Importing Source code in FTP folder to VSTS

A third party is building a mobile application for my company and they developing using XCode. They have given their source code to us using SFTP server so the code now resides in an FTP folder that has restricted access. How can I import this…
swat1590
  • 11
  • 3
0
votes
2 answers

Delete source code when inspector is opened

I got a page and the source code is encrypted. All the things are loaded from 2 different sources stored in javascript files. My question is: Is possible to delete all the html source code for the user when the user opens the inspector ( F12…
0
votes
1 answer

PHP Desktop secure PHP code

I am using PHP Desktop Chrome 57 with PHP 7.1 for Windows and I am looking for a way to protect my PHP source code from changes. I have already read the options shown in the corresponding article from PHP Desktop and have tested the free options…
Wax
  • 11
  • 2
0
votes
1 answer

How can i protect parts of code in my Open Source project licensed under GPLv3?

I am creating an Open Source project but I'd like to protect just some parts of my code (mainly these ones related to security). I am using the GPLv3 license. How can I achieve this?
user7094359
0
votes
0 answers

How to manage common id / password or ip address in source code with peers?

When our team(Development team) use a db access with a source code, our member seals secure information with import and gitignore(example below). However, I cannot sure that this is the best case to seal and deliver secure code with peers. Is there…
sogo
  • 351
  • 5
  • 20
0
votes
1 answer

(Javascript) : Iframe loadable only on domain, else redirect the whole page

There is a site that I know of, that does something interesting to half protect its source code and I'd like to understand how. Basically : They made 3 pages named A, B and C. A contains all the data and stuff : loads in B. B is blank : displays A…
0
votes
2 answers

stm8 Read Out Protection (ROP) setting option byte in code

FLASH_Unlock(FLASH_MEMTYPE_DATA);   if(FLASH_ReadOptionByte(0x4800)!=0xaa) { FLASH_ProgramOptionByte(0x4800, 0xaa);  } FLASH_Lock(FLASH_MEMTYPE_DATA);  Using stm8s003f3. Adding these code main initialization, code protect…
mryldz
  • 95
  • 2
  • 9
0
votes
0 answers

Protecting Wpf Prism application with Smartassembly

I am trying to protect my wpf application with SmartAssembly. I have problem because exe created by SmartAssembly don't work propertly. When I run app I see white screen and app is not responding. Depending of configuration sometimes app is closing.…
Maciek
  • 61
  • 1
  • 8
0
votes
1 answer

deploy vb.net winform native binaries

Referencing this answer, I quote: we do not do any obfuscation at all. Instead you might want to check the new possibilities to compile code to native binaries (.Net Native): …
wpcoder
  • 1,016
  • 11
  • 17
0
votes
2 answers

Trying to understand this function in javascript from a website sourcecode

OK so I'm doing this wargame challenge and I'm pretty much clueless about HTML and JS. I found this function in the source code stating "your flag is:" and then a bunch of gibberish. I assume this function is supposed to make sense in this long…
MatanyaP
  • 306
  • 3
  • 15
0
votes
2 answers

How can code (reliably) detect a change in itself?

Supposed I have written a program, and I want to make sure that its code will not be changed (for now, let's assume we are using an interpreted / scripting language, so "just compile it" is not a valid answer). So I would like to detect if someone…
Golo Roden
  • 140,679
  • 96
  • 298
  • 425
0
votes
1 answer

Android Server Communication Security

A few days ago one person decompiled my app and show me an issue in my source code. I was hardcoding the links and the password of my server in source code of the app, I didn't know through decompiling anyone can see my source code. I use proguard…
0
votes
1 answer

How to import Sample Apps into Android Studio

I am trying to import existing apps, such as a tuner and a metronome, into one project. Is there a way to find the source code and convert it into an android file, or would I have to recreate them? Do certain apps have certain copyright policies…
Mike Zhou
  • 13
  • 3
0
votes
2 answers

Rewrite a Java program using PHP without having to leave the source on my customer's server

I have a small "Business Activity Monitor" written in Java. The program is usually installed on the server of my customers and it accesses their database and brings informations about the data obtained. My goal is to write a version of the program…
0
votes
0 answers

Uglify angular.js together with codebase for further obfuscation

I'm trying to obfuscate my Ionic code. Every question or post about uglifying angular.js code, tells that you should use annotated syntax for dependency injection, something that after obfuscation looks like…