source-code-protection

How protect chrome extension

纵饮孤独 提交于 2019-12-03 07:40:18
问题 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 possibility for dll files (can be compiled) - but it is not very nice. 回答1: The premise seems to be simple. By default browser interprets HTML/Javascript, so are the chrome extensions which run along with the page. One way is to obfuscate your javascript

How to hide Angularjs source codes?

…衆ロ難τιáo~ 提交于 2019-12-03 06:53:25
问题 How to hide app.js, controller.js files or code? They are visible in html source. Is there anyway to hide them? 回答1: minify uglify along with minify you must uglify your code, which make it difficult to understand, it will renames the variables and function in very ugly manner, not easy to break the code. Also you can encrypt it well, you have and have to decrypt when it is needed to use, and that can't be remain hidden from the front end tools 回答2: This cannot be done. But you can use tools

PHP - protecting code [duplicate]

痴心易碎 提交于 2019-12-02 18:20:09
问题 This question already has answers here : Closed 9 years ago . Possible Duplicates: How to protect your software code? Protect my PHP App Hi, I have a framework that I am wanting to be able to sell licenses for. I want people to be able to edit the code if they choose to (to a degree) but also I want to try and stop someone paying for the code and then just putting it up for download. Is there a way that I can keep part of the code ( small piece of code that is ) on a server which each site

PHP - protecting code [duplicate]

a 夏天 提交于 2019-12-02 08:21:23
Possible Duplicates: How to protect your software code? Protect my PHP App Hi, I have a framework that I am wanting to be able to sell licenses for. I want people to be able to edit the code if they choose to (to a degree) but also I want to try and stop someone paying for the code and then just putting it up for download. Is there a way that I can keep part of the code ( small piece of code that is ) on a server which each site using my framework will need to connect to use? any help or ideas much appreciated. You can... But do you want to? PHP scripts are not Java servlets. They're not

Obfuscating string values in PHP source code

旧街凉风 提交于 2019-12-02 06:29:46
I want to protect PHP source code at easy way. here is a example. $a = "\x46\122" . chr(578813952>>23) . "" . chr(0105) . "\x2d"; $b = "\x73" . chr(847249408>>23) . "" . chr(0162) . "\x69" . chr(0141) . "" . chr(905969664>>23) . ""; $c = "" . chr(0x53) . "" . chr(0105) . "\x52\x56" . chr(0105) . "\x52" . chr(796917760>>23) . "\x4e" . chr(545259520>>23) . "\x4d" . chr(0x45) . ""; it is. $a="FREE-"; $b="serial"; $c="SERVER_NAME"; Please help me someone to convert this type of string ?? There is 3 type of encryption. Type[1] : "\x46\122" Type[2] : chr(0105) Type[3] : chr(578813952>>23) Please

Protect C++ program against decompiling [duplicate]

主宰稳场 提交于 2019-12-01 08:22:22
Possible Duplicate: Is it possible to decompile C++ Builder exe? Is C++ Builder exe safe? I use Microsoft Visual C++ 2010 Express to write my programs. When i want to distribute my program I compile it with 'Release' configuration and also I set the linker to not add debug information. So my question is, Is my executable safe or anyone can decompile it and see the source code? If it is unsafe, how can I prevent it from being decompiled? All programs can be decompiled to a degree. However, the vast bulk of the useful information in your source code is removed during compilation. The source code

How to protect and compile python source code into a .so library?

随声附和 提交于 2019-11-30 22:33:57
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 automatically and 2) to systematically change the names of variables and functions within a module (obfuscation?), so that I can keep an external interface (with meaningful names) while the internal names of variables and functions are impossible to pronounce. Perhaps the best solution, which would make 1) and 2) redundant, is the following : 3) Is there a

How to protect and compile python source code into a .so library?

99封情书 提交于 2019-11-30 18:30:33
问题 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 automatically and 2) to systematically change the names of variables and functions within a module (obfuscation?), so that I can keep an external interface (with meaningful names) while the internal names of variables and functions are impossible to

Preserving SCRIPT tags (and more) in CKEditor

馋奶兔 提交于 2019-11-30 12:56:09
Is it possible to create a block of code within the CKEditor that will not be touched by the editor itself, and will be maintained in its intended-state until explicitly changed by the user? I've been attempting to input javascript variables (bound in script tags) and a flash movie following, but CKEditor continues to rewrite my pasted code/markup, and in doing so breaking my code. I'm working with the following setup: <script type="text/javascript"> var editor = CKEDITOR.replace("content", { height : "500px", width : "680px", resize_maxWidth : "680px", resize_minWidth : "680px", toolbar : [ [

Protection of code from its own developers [closed]

爱⌒轻易说出口 提交于 2019-11-30 05:14:54
Perhaps the most obvious way of protecting a company's intellectual property from its own developers seems to be an NDA - Non Disclosure Agreement. Effectiveness of this approach may vary, depending on many factors, and sometimes or somewhere it may not work as expected. What other approaches, apart from this purely legal one, exist for protecting software code from the people who develop it? Do they exist at all? Does it make sense in practice? Maybe, for example, Team Edition of Visual Studio already contains some features related to this problem (for example, levels of access to parts of