Results 1 to 8 of 8
  1. #1
    Join Date
    Sep 2006
    Posts
    53
    Plugin Contributions
    0

    Default IonCube Licensing add-on request

    Has anyone considered or written a licensing add-on for Zen cart for software sales?

    Has anyone integrated IonCube with Zen cart for the same purpose?

    I'd rather not have to create my own mod, if one already exists.

    Ray

  2. #2
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: IonCube Licensing add-on request

    Why exactly are you wanting to use IonCube?

    Encrypting code is largely considered contrary to GPL, and is essentially inappropriate if your encrypted code is intended to function within existing GPL code or requires existing GPL code in order to run.

    What exactly are you trying to accomplish?
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Sep 2006
    Posts
    53
    Plugin Contributions
    0

    Default Re: IonCube Licensing add-on request

    Hey there,

    I write software for sites that are not necessarily gpl, or open source, so to protect my work, it needs to be encoded.

    Work done for gpl sites, naturally don't get the same treatment. :)

    Ray

  4. #4
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: IonCube Licensing add-on request

    So, what exactly are you wanting to accomplish?

    IonCube encoding is generally done as a standalone process, and then the files zipped and made available for download/delivery. Why do this on-the-fly repeatedly when it can be done once, and tested securely, before zipping ... "once"?
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Sep 2006
    Posts
    53
    Plugin Contributions
    0

    Default Re: IonCube Licensing add-on request

    Hey Doc,

    No, it's not a question of re-encoding the scripts every time, but a question of adding a license to an encoded file. Without a license, the script won't work, with the license, the script works, again, another level of security.

    I wish I didn't have to encode my work, but after having a script or two stolen and resold to the profit of others, I have little choice.

    Ray

  6. #6
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: IonCube Licensing add-on request

    It would be simpler to generate a license key to be supplied upon payment completion, and deliver a pre-generated zip. Doing it that way would let you re-use the code concepts from several existing addons for generating software licenses/keys or calling card PINs etc. You could hook the notifier points in the order class for that.

    Generating a separate customized download file requires further special coding to override/replace the built-in download logic. You could either replace the download/header_php code with your own, or you could consider hooking one or more of the notifier points in that code.
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Sep 2006
    Posts
    53
    Plugin Contributions
    0

    Default Re: IonCube Licensing add-on request

    Ideally yes, it would add the license file in the correct location in the zip, and one file would be downloaded.

    But from your comments, it doesn't already exist, so I'll have to look into how to create and zip it together properly. I was just hoping I could save the time and not code the thing myself. True though, there are other mods that I may be able to use some code from to generate what I need, so I'll be helped. :)

    But it's a back-burner item at the moment, but definitely worth the effort.

    Ray

  8. #8
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: IonCube Licensing add-on request

    I think there might even be a contributed addon for watermarking images or PDFs etc, which would be similar concept. You'd have to write your own ioncube encoding script to run on the server though.
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Mod and add-on documentation request
    By Wolfmont in forum Contribution-Writing Guidelines
    Replies: 13
    Last Post: 31 Jan 2010, 08:58 AM
  2. Zend or Ioncube
    By disciple in forum General Questions
    Replies: 4
    Last Post: 6 Dec 2007, 12:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg