加密php源代码 [英] encrypt php source code

查看:78
本文介绍了加密php源代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我需要将我的php源码放到客户的服务器上,我不想要

它来查看代码,因为我得到他的月租费。我怎么能用b $ b加密呢?任何免费工具?我是新手了

谢谢

来自Peter(cm****@hotmail.com)

解决方案

6月8日下午2:43,cmk ... @ hotmail.com写道:




我需要将我的php源码放到客户的服务器上,我不想要查看代码,因为我得到他的月费。我怎么能用b $ b加密呢?任何免费工具?我是新手了

谢谢
来自Peter的
(cmk ... @ hotmail.com)



让我确保我理解..


你的客户经营一个网络服务器,而且他每月都要付给你一笔费用

一些代码就是你'写了吗?


虽然你的建议可能在技术上是可能的(虽然我不知道你怎么回事这样做在

极端情况下是不切实际的。您的客户拥有并且(我正在假设)控制网络

服务器。要让PHP模块读取和解释代码,必须能够读取Web服务器上的文件,因此文件必须是可读的。您的客户可以阅读该服务器上的任何文件。


他究竟付给您什么?您的

代码每月访问费用?这不会起作用。


我知道的大多数PHP编码器预先收取小时费率。任何

维护也按小时收费。


如果您希望生成能够满足您需求的代码

do,我建议使用C或其他编译语言,而不是像Java或PHP或Perl那样的解释版本。


< blockquote> ----- BEGIN PGP签名消息-----

哈希:SHA1

cm **** @ hotmail.com 写道:


我需要将我的php源码放到客户的服务器上,我不要我想要查看代码,因为我得到他的月费。我怎么能用b $ b加密呢?任何免费工具?我是新手



有多种方法可以加密PHP代码。我不推荐它们:它们都是
花钱并且可以规避。


在这种情况下,我建议你自己的服务器来托管PHP

应用程序并让您的客户端使用该服务器(使用DNS转发,

等)。这使您可以完全控制您的代码,并防止客户看到它。


- -

Edward Z .Yang GnuPG:0x869C48DA

HTML Purifier< htmlpurifier.org Anti-XSS HTML Filter

[[3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA]]

-----开始PGP签名-----

版本:GnuPG v1.4.6(MingW32)

评论:使用GnuPG和Mozilla - http://enigmail.mozdev.org


iD8DBQFGagsKqTO + fYacSNoRAsz1AJ9nzPFiQfidsjd8IqZQCq mxzTNcwgCfQiyk

7He8aFL7Ns7DCVi9YPcn4lE =

= VBOc

----- END PGP SIGNATURE -----


8月8日20:43, cm****@hotmail.com 写道:




我需要将我的php源码放到客户的服务器上,我不想要

它是为了查看代码,因为我得到他的月费。我怎么能用b $ b加密呢?任何免费工具?我是新手了

谢谢

来自Peter(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 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

There are ways to encrypt PHP code. I do not recommend them: they all
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)



这篇关于加密php源代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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