www.webdeveloper.com
Results 1 to 10 of 10

Thread: Code protection

  1. #1
    Join Date
    Apr 2005
    Posts
    210

    Code protection

    Hi friends,

    I developed a module by html, php, css, JavaScript and mysql.

    Someone wants to buy it, I have to protect my code from being modified.

    Do you have idea or experience for protecting code?

    Any comments or links are appreciated.

    Thanks.

    .

  2. #2
    Join Date
    Nov 2002
    Posts
    2,632
    Is the buyer going to be happy with the fact that they can't modify it? I guess, what do you mean by protecting it?

  3. #3
    Join Date
    Jul 2009
    Location
    My house, sitting at the computer. Duh!
    Posts
    118
    You could compile it as a CGI script I think. However, when most people buy code modules or websites, they want it to be editable.

  4. #4
    Join Date
    Apr 2005
    Posts
    210
    Quote Originally Posted by ScottyBoy View Post
    You could compile it as a CGI script I think. However, when most people buy code modules or websites, they want it to be editable.
    Hi ScottyBoy,

    Thanks, "CGI script" is new for me.

    Can it compile all php, js and css files or some of them?
    Where to download the compile tool?
    Can you tell me more?

    .

  5. #5
    Join Date
    Mar 2012
    Posts
    1,559
    I'm not sure what you mean by a "module" or where it would reside? It seems to me there are (at least) 3 possibilities:

    1. It is a module that would remain on your server, and they would have access to it (rather like my "ew emulator". In which case you can reduce the visibility of your code by implementing as much of it as possible server-side in PHP. No doubt there are people who could circumvent that, but I suspect that you knew that anyway?

    2. Is it something like a shopping basket that other developers can plug into their own site? Which you are hoping to sell to many developers, whilst you still own the copyright?
    If so, you have a problem. I don't have an answer for that!

    3. Or is the person buying the exclusive rights to the code? I.e. You would no longer own it? If so, as others have said, protecting the code is inappropriate, even if you could!

  6. #6
    Join Date
    Jul 2009
    Location
    My house, sitting at the computer. Duh!
    Posts
    118
    As I understand it, if you compile the script, there is little or no guarantee that it will work on their web host. Also, it's very unusual to sell someone a closed source script, and you run the risk of the buyer being slightly peeved at you. In any case, you might try something like this, but don't say we didn't warn you.

    http://developers.facebook.com/blog/...hp--move-fast/

  7. #7
    Join Date
    Mar 2012
    Posts
    63
    HI

    Have you like to licence the module?

    There are lot of encoders available to encrypt the php code and decript using your licence

    check something with ioncube,phpmylicence ,byterun etc.

    hope it will help you

  8. #8
    Join Date
    May 2012
    Posts
    7
    The digital finger prints can help in easy detection of the source of the content. There are some easy to apply tools that can enable this if you wish to apply this for your blogs or site for the Google site ranking.

  9. #9
    Join Date
    May 2012
    Posts
    59
    Hello,

    Use ionCube to encode the PHP code... you can even sell license files for the code and when the license expires the site goes with it until you issue them with another license file! Here's a free (but not as good) compiler instead: http://www.roadsend.com/

    You can only really obfuscate the JS code. Don't bother hiding or doing anything to the HTML.

    Kind regards,
    Scott

  10. #10
    Join Date
    Jun 2012
    Posts
    1
    i just want to try this ....

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles