Open source is about the license to get the source code and not about the ability to view it ... Even with compiled languages it is possible to extract source code - which does not make the code open source automatically - but any open source license can even turn this binary code into open source.
Yes, it is possible. Zend Guard can encrypt your source code. The server then simply needs to use the Zend Optimizer to be able to execute your application
I've never tried it though, so I have no experience.
Putting uncompiled or non-obfuscated code onto a server doesn't qualify it as "open source". To be open source the code has to be distributed in a certain way under certain guidlines. Simply putting code on a server doesn't make it open source.
There are many projects in compiled languages that are open source.
Yes, it's destined to be "open source" in the sense that anyone with access to the server is going to be able to view it.
True "open source" projects have the source code distributed. If no one has access to the server then they can't get the source code anyways. However, if you write an application for a company, and put the code on their server, they will have access to the source and be able to examine / modify it. This shouldn't be an issue though because technically they own the code (if they paid for it).
Although not "perfect" it can hide it from curious lookers. However, I wouldn't recommend hiding your code though. If you make it in open source products, the application should be opensource as well. Just slap on a license on it.
发布评论
评论(5)
开源
是关于获取源代码的许可证,而不是关于查看源代码的能力...即使使用编译语言也是可能的提取源代码 - 这不会使代码自动开源 - 但任何开源许可证甚至可以将此二进制代码变成开源。Open source
is about the license to get the source code and not about the ability to view it ... Even with compiled languages it is possible to extract source code - which does not make the code open source automatically - but any open source license can even turn this binary code into open source.是的,这是可能的。 Zend Guard 可以加密您的源代码。然后,服务器只需使用 Zend Optimizer 即可执行你的应用程序
我从未尝试过,所以我没有经验。
Yes, it is possible. Zend Guard can encrypt your source code. The server then simply needs to use the Zend Optimizer to be able to execute your application
I've never tried it though, so I have no experience.
将未编译或未混淆的代码放到服务器上并不意味着它是“开源”的。要实现开源,代码必须在某些准则下以某种方式分发。简单地将代码放在服务器上并不能使其开源。
有许多编译语言的项目是开源的。
Putting uncompiled or non-obfuscated code onto a server doesn't qualify it as "open source". To be open source the code has to be distributed in a certain way under certain guidlines. Simply putting code on a server doesn't make it open source.
There are many projects in compiled languages that are open source.
不。
是的,它注定是“开源”的,因为任何有权访问服务器的人都可以查看它。
真正的“开源”项目具有分发的源代码。如果没有人有权访问服务器,那么他们无论如何都无法获取源代码。但是,如果您为公司编写应用程序,并将代码放在他们的服务器上,他们将可以访问源代码并能够检查/修改它。但这不应该成为问题,因为从技术上讲,他们拥有代码(如果他们付费的话)。
No.
Yes, it's destined to be "open source" in the sense that anyone with access to the server is going to be able to view it.
True "open source" projects have the source code distributed. If no one has access to the server then they can't get the source code anyways. However, if you write an application for a company, and put the code on their server, they will have access to the source and be able to examine / modify it. This shouldn't be an issue though because technically they own the code (if they paid for it).
我以前见过人们这样做:
虽然并不“完美”,但它可以将其隐藏起来,让好奇的人看不到。但是,我不建议隐藏您的代码。如果您使用开源产品制作它,那么该应用程序也应该是开源的。只要贴上许可证就可以了。
I've seen people do this before:
Although not "perfect" it can hide it from curious lookers. However, I wouldn't recommend hiding your code though. If you make it in open source products, the application should be opensource as well. Just slap on a license on it.