向客户出售网站时,如何保护我的PHP源代码? [英] How do I protect my PHP source code when selling a website to clients?

查看:79
本文介绍了向客户出售网站时,如何保护我的PHP源代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要一些建议 可以说我做了一个产品.租车网站/系统(PHP& MySQL) 我想卖给40多家租车公司 我如何停止例如. "SA-Rentals",只需复制代码并将其出售/出售给"Cars 4U-Rentals"

I would like some advice Lets say I've made a product eg. Car rental Website/System (PHP & MySQL) I want to sell it to 40+ Car rental companies How do I stop eg. 'SA-Rentals' from just copying the code and giving/selling it to 'Cars 4U-Rentals'

我能想到的最安全的方法是使用Multitenancy,其中每个客户端都有一个子域(例如cleintname.myproduct.com) 我也看过PHP混淆和编码,但是看起来很容易解码/修改

Safest way I can think of is using Multitenancy where each client will have a subdomain (eg. cleintname.myproduct.com) I've also looked at PHP Obfuscation and Encoding but it looks to easy to Decode/Modify

理想情况下,我们想向他们出售产品,然后让它脱离我们的控制. (维护成本低)

Ideally We want to sell them the product and then let it's out of our hands. (low maintenance)

推荐答案

合法"保护您的最佳方法是在客户出售时获得的许可中明确说明这一点(请注意,您实际上只是出售许可证而不是软件本身!).

The best way to "legally" protect you is stating that point clearly in the license the customer will obtain when you sell it (mind that you're actually just selling a license not the software itself!).

要保护您的代码不受非法行为(例如,无论使用许可证如何出售代码),您唯一的选择是实际自己托管这些网站.混淆器提供了一些 保护(又使解码代码的过程变慢了),但是仍然无法保护您的软件不被转售,而只是免受不必要的编辑!

To protect your code from non-legal actions (like selling the code no matter the license) your only option is to actually host those websites yourself. Obfuscators provide some protection (aka makes the process of decoding your code slower) but still your software won't be protected from reselling but just from unwanted edits!

这篇关于向客户出售网站时,如何保护我的PHP源代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆