如何在线加密您的文件以便将来没有人可以使用它?

发布于 2024-09-26 14:23:05 字数 130 浏览 2 评论 0原文

我知道这可能听起来很愚蠢,但我为一个客户工作,他似乎不愿意付钱给我,但通过他的网站赚钱...我仍然可以访问 ftp...所以,我不会撕裂如果他不付款,请关闭网站,但我至少会保护我给他的代码......所以万一我确定他不能转售或再次使用......

I know it may sound silly, but i worked for a client that seems not willing to pay me, but is making money with his website...i still have access to the ftp...so, i'm not going to tear down the website if he doesnt pay, but i would at least protect my code that i gave him...so in case i'm sure that he cant resell or use again...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

梦言归人 2024-10-03 14:23:05

http://www.zend.com/en/products/guard/

如果您使用 PHP 为您的客户端编写代码,这将防止逆向工程,并且您可以将应用程序设置为在一定时间后过期。还有许多其他可用的许可选项。

我认为你有一个更深层次的问题,你应该真正与你的客户交谈或找第三方调解人来解决这个问题。至少,你应该收到押金。合同还会为您提供一些法律影响力,因此您应该在开始工作之前签署一份合同。

http://www.zend.com/en/products/guard/

If you code for your client in PHP, this will prevent reverse engineering, and you can set the application to expire after a certain amount of time. There are numerous other licensing options available.

I think you have a deeper problem though, you should really talk to your client or get a third-party mediator to resolve this. At the very least, you should receive a deposit. Contracts will also give you some legal leverage, so you should have signed one before you started work.

人生戏 2024-10-03 14:23:05

你的代码是什么形式的? html? js? java? c#?您可以混淆js,对于java(或.jar文件),您可以使用strip/pack工具,详细信息此处

一般来说,混淆似乎对所有这些都非常有效(即使是 html,如果其中大部分是通过脚本生成的:p)

what form is your code? html? js? java? c#? you can obfuscate js, for java (or .jar file) you can use the strip/pack tools as detailed here.

in general, obfuscation seems to be pretty effective for all of them (even html, if the bulk of it is generated through scripts :p )

z祗昰~ 2024-10-03 14:23:05

考虑一下您的客户招募来管理该代码的下一个可怜的人......并考虑其后果 - 因为他对您的印象将基于该代码!

Consider the next poor guy that your client recruits to manage that code... And consider the ramifications - because his impression of you will be based on that code!

第七度阳光i 2024-10-03 14:23:05

如果您的代码是用 ASP.NET 编写的,则应该对其进行混淆(Visual Studio 附带 Obfuscator 社区版),但可能有比该工具更好的混淆工具。

顺便说一句,我的代码和最后一笔付款实际上被客户窃取了(二进制文件不是代码本身,但他在开发人员的帮助下设法反汇编了代码。不幸的是,使用 .NET 太容易了)。这是我真的很后悔没有混淆代码的一个例子。

If your code is written in ASP.NET, you should obfuscate it (Visual Studio comes with the community edition of Obfuscator), but there're probably better obfuscatation tools than that one.

On a side note, I got my code and last payment actually stolen by a client (the binaries not the code itself, but he managed to disassemble the code with help from a developer. Unfortunately it's too easy with .NET). This is one case where I really regret not obfuscating the code.

倥絔 2024-10-03 14:23:05

首先,不要做任何可能被视为针对您的客户端的恶意攻击的事情。在他们停止通信后乱搞他们的 FTP 可能会让你陷入困境。
其次,如果他们还没有给你一分钱的作品,那么据我所知你仍然拥有该作品的全部权利。 (即您提供的代码等的版权)如果他们在未经许可且未付费的情况下使用您的代码,那么他们就构成版权侵权。

这些都是法律术语,但我不是律师。在针对版权采取行动之前先咨询律师。

First, don't do anything that could be taken as a malicious attack against your client. Messing with their FTP after they have ceased communication could land you in hot water.
Second, if they haven't yet given you a cent for your work then AFAIK you still own the full rights to that work. (i.e. the copyrights on the code etc. you provided) If they use your code, without a license and without paying then they are committing copyright infringement.

This is all legalese, but I'm not a lawyer. Talk to an attorney before acting on copyright.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文