Nora,
I’m not a fan of encrypted files either. The sad truth of the matter is that all I want to do is to make sure that the module is licensed on each EE site it is installed on. EE doesn’t offer any sort of protection natively. I considered adding hooks, which is what I believe EE does, to have the module contact my server to verify the license. This isn’t an optimal solution as if my server is down, there is a chance the module wouldn’t work. Even if I didn’t worry about that, there is nothing stopping someone from simply commenting out the code that does the license check. The alternative to these things is to obfuscate the code, or write a bunch of spaghetti code to make it difficult to use the module on an unlicensed site. This, unfortunately would make the module many times more difficult to maintain.
In the absence of a better solution, I’ve left the control panel encrypted. By doing so, I’m able to create a key to lock the installation of the fully functional version to a specific site without requiring it to make calls out to verify the license. I’m really at a loss as to how to do it better, which is why I have yet to make this module available for purchase. I’m certainly open to ideas though.
As it stands, my only option is to simply continue to use the module for myself and my clients and not share it with others, and continue to look for a licensing solution that will work for myself and those who don’t want to use encrypted code. It took a months of work to create and tweak this module, so it appears that the ioncube encryption will have to suffice until a better licensing solution is discovered.
Thanks, Brad
Brad, Solspace has several paid modules/extensions and other developers do as well. I don’t believe a single one of them encrypts their add-ons.
Honestly in my opinion the use of encryption is going to hurt your sales more than piracy ever would. In any case it’s your module and your choice. Just my 2 cents.
To quickly chime in here.
We recently released a twitter app based on CodeIgniter that we are charging $30 for. We went through the whole process of trying to decide if we should encrypt it or not and basically came to the conclusion that if someone is going to steal it they are going to find a way to get it. By not encrypting it we have attracted a few sales from CI users who have purchased it just to see how it works. Really by encrypting the software all you are doing is throwing people off of wanting to develop with it as they are losing control.
If your control panel was not encrypted and I could add in a few extra features my client needs, right now we would be taking a hard look at your solution as apposed to FoxEE. You may also find that as an added benefit you will have users start developing addons or features for you…
Again, my two cents
-Lee
This is an interesting module. Have you thought about adding functionality to handle subscriptions? This module would be perfect for me if it could handle subscriptions, as I want a simple way to sell subscriptions and downloads. Paypal has some great subscriptions features….
By the way, is the module out of beta yet. It seems you’ve run in to resistance in using/testing it because of the encryption. I’d be surprised if piracy was a huge issue with EE. I’ve found some developers are supportive of each other’s work. I always buy the modules I use.
The module is still considered in beta, although I have had it in use on a site for a few months now. I intend to release the module for purchase, unencrypted, but I fear I don’t currently have the time to provide proper support. Will update this thread, or post a new one, when I feel I’d be able to provide support for it. Unfortunately, I haven’t even looked at providing support for subscriptions with the module - will put it on the list though. Thanks for the interest!
While I have not updated this module, it has been in production use on my band’s website for many months, and has processed around 50 orders for albums and downloads. I’m currently working on a new version of the module for the new version of ExpressionEngine - the new module is at about 80% at the moment. Both versions of this module can work in conjunction with LinkLocker Pro to automatically send download links to purchasers. The module will email links either way, if you’d like, but will encrypt them only if you’re using LinkLocker Pro. I haven’t really considered pricing on this module yet though, and am kind of hesitant to release it as I don’t really have a lot of time on my hands to provide support if people had lots of questions. I guess I’m going to have to get back to you on this one - feel free to PM if you’d like to discuss further.
Thanks, Brad
Hi Brad,
When I open the file mcp.digital_commerce.php the code appers to be garbled; here is the fragment of it:
if(!extension_loaded(‘ionCube Loader’)){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');@dl($__ln);if(function_exists('_il_exec')){return _il_exec();}$__ln=’/ioncube/’.$__ln;$__oid=$__id=realpath(ini_get(‘extension_dir’));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==’:’){$__id=str_replace('\','/',substr($__id,2));$__here=str_replace('\','/',substr($__here,2));}$__rd=str_repeat(‘/..’,substr_count($__id,’/’)).$__here.’/’;$__i=strlen($__rd);while($__i–){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}@dl($__ln);}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists(‘_il_exec’)){return _il_exec();}echo(‘Site error: the file ‘.__FILE__.’ requires the ionCube PHP Loader ‘.basename($__ln).’ to be installed by the site administrator.’);exit(199); ?> (¼?6Ś”#kŌ÷‰ÆDīßUˇh÷WXāh¶=Ķ‚BUGĮ[Tņ 5=ĶīßUŻūŖ ń ˛ź*\ Ö¦§¹ėEĄZ8/Z´]īėåaĮģ½ |ÅÖ>ī‡Ż=™2@XC` Ä Ć € l;ČH@ÄHH&²‘…EE@QQ@Į ÜĮÄ]Æ;r÷«øoWT®ß©ī˛ĢōCws}ļūŽ˙ļ÷•®Ŗs˛§N:]]]Ó‹ĖÕen«}ĒŽ¯ödęo³§Ėå:_qé˙TWüßīO3|Ć—eū¾N”÷€ģżs9ü‹é‡S{ŗł{ŗi=]Y˛^®‰jo×`õ_2ÉDs“)i")ŖĖgÖÅž¹SȶP›^S_eōQ.ų“€o*&bÖø9ŹĆ§P¹vĄŖ—ļ»eĆ͹Ŗzü½ģ…UŁ.Ģ.©(¸ŌE{gGĖ#ÅŃŖģŖčüŚhuMuv¢Sfe÷źRļS²ūōéŻÆvIyvY¤²GqÉģ’ĀŅ‚HEYY´*ķQ9§Ņ5bZ˛kLł‚ĀŅ’āY%Ń“†,HėžĘ/—~sĪ5·eUģ “¸īNŅ÷¦9%d+TĘw©…BkŖæšŻ+ū_äū¬’ŗes—«1U•U—ĢZ-+,)v©Ć» é}2„Æ›ļÉī¾C”éJ3MėżŽ¤Ļźķō4½,t椔ėōJ)W«öäz«=¯(ż•|ˇVć™äńMńņ×xQ9ĖSKņ˛)õ !mg°ŗĄ3JYBuKAJ¹ŚRO˛w©g¼©gms)Q R©ņrĀ.÷äS¾Ü”»Cžåz} ®źł˛^ÉēSŻ Ņ]į §®šäP~(mVxDÆųØ,R8}…ɱB×R¬¢ü*ŹÆ”ÜE˛É”SŹņ\Lõ«=S(¨÷Æ&ūVėå”JAJ#ÕÕ¤)ķóuŪ\Jy”‚”ŗŖkČ®5$[G¶¬#ɦ¬ó4|–ērOv…ē4ļ¤%Ł|eŻ6~iß•˛¹ŹÓv°*äW“ W“
The beta version of this module was encrypted. I’ve decided not to release a version for EE v1.x. I have, however, completed a version for EE2.0 that I’ve been using in production for months. This version is not encrypted, but I have not yet decided on a price point for the module. Once I have, I will create a post for the module and update this thread with a link to the new post.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.