问题标签 [source-code-protection]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
svn - SVN - How to keep core source code confidential and give freelancers access to modules only
I'm developing a modular propietary PHP application. As a project leader and owner, I want to keep the core engine confidential. The freelancers will work on modules (say 1 freelancer for 1 module where they can't see other's module).
I created repos for core (1 repo) and modules (1 repo for 1 module). AFAIK the repo should be placed outside htdocs. Now I think about this scenario: Using SVN, I'll give access to repo A for freelancer A, repo B for freelancer B, etc. When A checkout, he'll only have module A on his computer to edit. To test his module, he'll commit. But as it goes to svn dir instead of htdocs, he won't be able to test it instantly. He'll then need to export the commited code to htdocs. Well, I want to skip this export step.
(1) Is there a way he can commit his code to htdocs directly to test it to make it more practical?
(2) Is there any better scenario to achieve this (i.e. freelancer only allowed to read/write the module he worked on, and have no access - even read - to other module and core system)?
php - 编译 PHP 以防止“盗窃”?
如果我在 java 中创建一个应用程序,我会编译它,即使我将应用程序发送给你也很难窃取代码。我知道你可以通过逆向工程等来做到这一点,但无论如何。
如果我用 PHP 创建一个应用程序并将其放在客户端服务器上,客户端可以根据需要复制粘贴代码。
所以我的问题是。是否有任何方便的方法来编译或以某种方式保护您的 PHP 代码不受他人侵害,即使它在他们的服务器上运行?
java - 构建一个只能执行的JAR文件?
我的项目不完整,但我想分发一些演示版本。
有没有办法制作一个不会让用户访问其类的可执行 JAR 文件(例如,当导入 Eclipse 时)?
asp.net - Inishtech / Software Potential Code Protector 与 Visual Studio 构建或安装项目的集成
有没有人尝试过 InishTech软件潜在代码保护器?
我们可以以编程方式将其与我们的构建集成吗?我找到了教程,但这些教程是在 Code Protector 独立 GUI 的帮助下完成的。我想知道的是他们是否有一个 SDK,以便我们可以与我们的代码或一些完美的教程集成,这些教程可以从我们的设置中选择退出依赖项。
java - 如何防止jar反编译
我在 Eclipse 中创建了一个插件项目,作为 jar 分发。用户可以获取这个 jar 并使用 JAD 对其进行反编译。 有什么办法可以让我停止对 jar 文件的反编译? 或者,至少,对用户隐藏我的源代码?
security - 如何保护我的 C# 开源游戏免受黑客攻击?
我正在开发一款在线模式的游戏,但它是开源的(SourceForge),任何人都可以下载代码、破解任何检查并使用被黑客户端与官方服务器对战。
我一直在考虑 EXE 文件 md5 检查,但任何人都可以计算真正的 md5sum 并将其发送到服务器,绕过运行时检查。
有什么方法可以保证客户端不被修改?我知道我必须使用服务器端检查,因为一切都可能被黑客入侵。其他选项是不提交代码的一小部分并发布仅在我的计算机中编译的 EXE 文件,拥有所有文件,但这违反了我认为的 SourceForge 规则。
python - 添加到:我如何保护我的 Python 代码库,以便客人看不到某些模块,但它仍然可以工作?
如何保护我的 Python 代码库,让访客看不到某些模块,但它仍然可以工作?
我的问题是上面页面上发布的附加问题。
如果有两个svn目录;例如, src/private 和 src/public 和 internal 用户将同时拥有公共和私人目录,并且一切正常。
公共用户将只有 src/public。即使用户没有签出它,是否可以在init .py中导入 src/private ?用户应该能够链接到它以解决 src/private 中的任何功能依赖关系,但不应该能够查看文件的内容。
这个问题还有其他解决方案吗?
.net - 分发调试 .NET .dll 文件时保护源代码?
我有一个 Web 软件,它有一个私有组件(一个计算 .DLL),由一个联合开发的网站 (ASP.NET) 使用。我开发了私有 .DLL,并希望确保即使编译为调试 .dll,当网站开发人员调试站点然后进入调用时,它也不会显示/泄漏任何私有源代码位于私有 .dll 内。
是否有任何特殊的编译标志/设置或技术来保护生成的 .dll ?最好是我可以在 Visual Studio 2010 中设置的东西,而无需昂贵的附加组件。
不知道 Windows 二进制文件/dll 的结构,甚至可以将源作为元数据嵌入到生成的二进制文件(.dll 或 .pdb)中吗?如果源代码不可能嵌入到调试 .dll/pdb 中,那么我想我可以降低我的偏执水平......(仅供参考,一些嵌入式系统在调试二进制图像的末尾将源代码和符号连接起来)
在 DLL 中保护 IP 的任何其他提示和要点也值得赞赏。
shell - 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 one)
- How to compile
- How to run the compiled output file
Thanks
r - 与多个用户共享 R 功能而不暴露代码
我有代码可以读取和处理我希望允许多个用户使用的数据,但我不想让他们看到代码。
有没有办法使用 R 或 RStudio 做到这一点?