本文是小编为大家收集整理的关于加密php源代码的处理/解决方法,可以参考本文帮助大家快速定位并解决问题,中文翻译不准确的可切换到English标签页查看源文。
问题描述
你好
我需要将我的 php 源代码放到客户的服务器上,我不想
它查看代码,因为我得到他的月费.我怎么能
加密吗?有什么免费工具吗?我是新手
谢谢
来自 Peter (cm****@hotmail.com)
推荐答案
6 月 8 日下午 2:43,cmk...@hotmail.com 写道:你好
我需要将我的 php 源代码放到客户的服务器上,我不想
它查看代码,因为我得到他的月费.我怎么能
加密吗?有什么免费工具吗?我是新手
谢谢
来自彼得 (cmk...@hotmail.com)
让我确保我明白..
您的客户运行一个网络服务器,他每月向您支付
的费用你写的一些代码?
虽然您的建议在技术上可能是可行的(尽管我
不知道你会怎么做)这是不切实际的
极端.您的客户拥有并(我假设)控制该网络
服务器.PHP模块要读取和解释代码,必须是
能够读取网络服务器上的文件,因此文件必须
可读.您的客户可以读取该服务器上的任何文件.
他到底付钱给你什么?您的
每月访问费代码?那是行不通的.
我认识的大多数 PHP 编码员都会预先按小时收费.任意
维护也是按小时计费的.
如果您希望生成符合您要求的代码
做,我建议使用 C 或其他编译语言,而不是解释语言
像 Java 或 PHP 或 Perl.
-----BEGIN PGP SIGNED MESSAGE-----
哈希:SHA1
cm****@hotmail.com 写道:我需要将我的 php 源代码放到客户的服务器上,我不想有一些方法可以加密 PHP 代码.我不推荐他们:他们都是
它查看代码,因为我得到他的月费.我怎么能
加密吗?有什么免费工具吗?我是新手
花钱,可以规避.
在这种情况下,我建议您使用自己的服务器来托管 PHP
应用程序并让您的客户端使用该服务器(使用 DNS 转发,
等等).这使您可以完全控制您的代码并防止客户端
从没见过.
--
Edward Z. Yang GnuPG:0x869C48DA
HTML净化器[[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]
-----开始PGP签名-----
版本:GnuPG v1.4.6 (MingW32)
评论:在 Mozilla 中使用 GnuPG - http://enigmail.mozdev.org
iD8DBQFGagsKqTO+fYacSNoRAsz1AJ9nzPFiQfidsjd8IqZQCq mxzTNcwgCfQiyk
7He8aFL7Ns7DCVi9YPcn4lE=
=VBOc
-----结束 PGP 签名-----
6 月 8 日 20:43,cm****@hotmail.com 写道:你好
我需要将我的 php 源代码放到客户的服务器上,我不想
它查看代码,因为我得到他的月费.我怎么能
加密吗?有什么免费工具吗?我是新手
谢谢
来自彼得 (cm****@hotmail.com)
问题描述
Hi
I need to put my php source to customer''s server and i don''t want
it to view the code because i am getting his monthly fee. How can i
encrypt it? Any free tool? I am a newbiesssss
thanks
from Peter (cm****@hotmail.com)
推荐答案
On Jun 8, 2:43 pm, cmk...@hotmail.com wrote:Hi
I need to put my php source to customer''s server and i don''t want
it to view the code because i am getting his monthly fee. How can i
encrypt it? Any free tool? I am a newbiesssss
thanks
from Peter (cmk...@hotmail.com)
Let me make sure I understand..
Your customer runs a web server, and he''s paying you a monthly fee for
some code that you''ve written?
While what you''re suggesting might be technically possible (although I
don''t know how you''d go about doing it) it''s impractical in the
extreme. Your customer owns and (I''m assuming) controls that web
server. For the PHP module to read and interpret the code, it must be
able to read the files on the web server, and therefore the files must
be readable. Your customer can read any file on that server.
What exactly is he paying you for? A monthly access fee to your
code? That isn''t going to work.
Most PHP coders I know charge an hourly rate up front. Any
maintenance is billed hourly as well.
If you''re looking to generate code that does what you''re looking to
do, I suggest C or another compiled language, not an interpreted one
like Java or PHP or Perl.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
cm****@hotmail.com wrote:I need to put my php source to customer''s server and i don''t wantThere are ways to encrypt PHP code. I do not recommend them: they all
it to view the code because i am getting his monthly fee. How can i
encrypt it? Any free tool? I am a newbiesssss
cost money and can be circumvented.
In this case, I would recommend getting your own server to host the PHP
application and have your client use that server (using DNS forwarding,
etc). This gives you full control over your code and prevents the client
from ever seeing it.
- --
Edward Z. Yang GnuPG: 0x869C48DA
HTML Purifier <htmlpurifier.org Anti-XSS HTML Filter
[[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGagsKqTO+fYacSNoRAsz1AJ9nzPFiQfidsjd8IqZQCq mxzTNcwgCfQiyk
7He8aFL7Ns7DCVi9YPcn4lE=
=VBOc
-----END PGP SIGNATURE-----
On 8 jun, 20:43, cm****@hotmail.com wrote:Hi
I need to put my php source to customer''s server and i don''t want
it to view the code because i am getting his monthly fee. How can i
encrypt it? Any free tool? I am a newbiesssss
thanks
from Peter (cm****@hotmail.com)