D
D
Denis Ruchiev2017-09-26 10:58:23
CodeIgniter
Denis Ruchiev, 2017-09-26 10:58:23

Sale of open php code, how to protect against resale?

There is a fairly large project on CI, the customer is going to sell it in bulk in the open, the question is whether it is possible to somehow adequately protect against resale? How is it implemented, for example, in Bitrix?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
E
Eugene Wolf, 2017-09-30
@denis_bardak

the customer was going to massively sell it in the open, the question is whether it is possible to somehow adequately protect against resale?
From resale by whom? The customer or those who will buy "it" from the customer?
In general, it is possible, to some extent. Register your product in the software registry, obtain legal rights to it, if CodeIgniter's license somehow does not allow it (which the previous speaker already noted) - cut it out of the CI project, to some mother, since with provided that
a fairly large CI project
and despite the fact that CI itself is a rather small project - write your own wrapper with similar functionality instead of it - the lesser of evils (provided that a really large project is written on top of it)
Then the most interesting begins, a kind of "collapse and chaos" called "an attempt to protect the source code". There are many options here, and each of them is poor in its own way:
1. Obfuscate the code (i.e. turn it into "inhuman-readable") - which in turn will add some hemorrhoids to developers, with the support of such code and a couple of extra hours of work with debugger for those who will "hack" it
2. Use some "terrible" obfuscator, like IonCubeand others like it, which in turn will give a much greater degree of protection and discourage the desire of many "coolhackers" to fumble with your code, and at the same time the desire of many others to do something with your code, incl. try to install/run it on your server/hosting. for it to work, you also need a pretty decent "tail" of some shitty software that will allow your code to run.
How is it implemented, for example, in Bitrix?
In Bitrix, this is implemented with the help of:
0. Registration of legal rights to your product
1. Usual obfuscation
2. Aggressive marketing
3. Kickbacks to those who sell Bitrix (aka "affiliate reward", it seems to be called that now)
4. Well, then there there are all sorts of keys, etc., i.e. a common base in which all installations of the system are registered, from which the mechanism that sends information about the installation to the "Bitrix" servers is not cut out (and other crap like that)
PS Well, of course, it's worth remembering that much more complex / perfect software instances, such as "Photoshop" or "Windows", are also broken, as well as the fact that in the modern world it's not so much the software itself that matters as much as its support (Of course there are exceptions, but these are special cases). Deprive the operating system or, for example, antivirus - of the opportunity to be updated and soon they will turn from a "market leader" into "almost useless trash." If you continue to philosophize on this topic (why "scorched Windows is updated" or "why Linux is completely free, including updates / support") - you can write a whole book or a doctoral dissertation on this topic ... but I think the meaning is generally clear :)

I
Ilya Gerasimov, 2017-09-26
@Omashu

Translate into open source with a license, at least there will be some protection of rights, and in fact no means will help

A
Alexander Aksentiev, 2017-09-26
@Sanasol

sanasol.ws/2017/06/22/%D0%BA%D0%BE%D0%B3%D0%B4%D0%...

I
Igor Buksha, 2017-09-26
@ripdamage

In Bitrix: You
buy a key to the site. If a key is exposed on more than 1 site, it is blocked (the key). Without a key, you cannot update the platform or install applications from the Bitrix marketplace. For Bitrix, this is very important because it is Bitrix.
And a question to the question: how does the CodeIgniter license work?

C
CityCat4, 2017-09-26
@CityCat4

As Alexander Aksentiev quite rightly said - whoever needs it will hack anyway, it all depends on what kind of code. Encrypt - decrypt and hack. If you obfuscate, they will clean it up and hack it. Yes, a full school can and will fall off right away, motivation decides :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question