Results 1 to 7 of 7
  1. #1
    Join Date
    Apr 2002
    Posts
    447

    How to license a javascript application ?

    Hi,

    I have made a javascript application that I would like to sell and license on a per domain basis, does anyone know of any scripts / applications that can do this so that the javascript would be encrypted and would only work on the licensed domain ?

    (Must be free or cheap as I will only be selling my script for $25 and I don't expect sales to go wild....)

  2. #2
    Join Date
    May 2004
    Location
    Lansing, MI, USA
    Posts
    1,548
    Quote Originally Posted by plustreme
    Hi,

    I have made a javascript application that I would like to sell and license on a per domain basis, does anyone know of any scripts / applications that can do this so that the javascript would be encrypted and would only work on the licensed domain ?

    (Must be free or cheap as I will only be selling my script for $25 and I don't expect sales to go wild....)
    As far as I know, there is no way to encode javascript. You could obscure it, but even then the call would be coming from the client, and not the server, so it would be hard to tell who was using what...
    Jacob - WebOnce Technologies - 30 Day 100% Satisfaction Guarantee - Over 5 Years Going Strong!
    Website Hosting, PHP4&5, RoR, MySQL 5.0, Reseller Hosting, Development, and Designs
    Powered By JAM - Professional Website Development - PHP, MySQL, JavaScript, AJAX - Projects Small & Large

  3. #3
    Join Date
    Mar 2006
    Posts
    965
    I'm not aware about any encryption methods over JS files. However, you can easily manipulate encryptions over HTML files. If you include JS codings directly into your HTML files, it will also encrypt these codings as well.

    Althought, I do not remember the software's name. The good news is - I found this one:

    http://www.aerotags.com/products/tlp.php

    Seems to do pretty much what my current software does right now.

  4. #4
    Quote Originally Posted by horizon
    I'm not aware about any encryption methods over JS files. However, you can easily manipulate encryptions over HTML files. If you include JS codings directly into your HTML files, it will also encrypt these codings as well.

    Althought, I do not remember the software's name. The good news is - I found this one:

    http://www.aerotags.com/products/tlp.php

    Seems to do pretty much what my current software does right now.
    There is no encryption available for javascript. It's meant to be plain text, same as (x)html otherwise it makes no sense to use it. You can obscure it, but never ever encrypt it and expect that someone won't find a way around your method - it's NOT happening.

    Also, this program horizon recommended does absolutely nothing about encryption. I downloaded it, tried it and deleted it. It just puts document.write('your html') all over your files, it's practically useless and anyone serious would never actually use it.

    Second thing, I don't understand a word you're saying horizon..what encryption and what JS including? There is NO way that you will be able to protect your javascript or html, but there are ways around it that are tiresome to implement and easy to crack which makes it a time-loss to implement them.

    I suggest you give up on protecting your js and don't listen to advices of unexperienced developers who think that they are the only ones who can use google.
    Dyslexics Have More Fnu

  5. #5
    Join Date
    Apr 2002
    Posts
    447
    I decided to use HTML guardian by http://www.protware.com/ it encodes the javascript and locks it to a domain (if used on a domain not specified it simply fails to work) Whilst I am sure this can be reversed I hope it will stop the majority from abusing my script.

    Thanks everyone for your help !

  6. #6
    Join Date
    Oct 2004
    Location
    Oneida, NY
    Posts
    2,842
    I would recommend checking out PHPAudit @ http://www.phpaudit.com

    While the application is really meant to support PHP applications, I have seen people on their forums showing that they've modified it to license flash apps, .NET, and other applications.

    Might be worth a look and they have a free version.
    Nick Hudson - Prevail Host LLC - http://www.prevail.host/
    Premium Quality cPanel Hosting Services - CloudLinux, LiteSpeed & SSD
    WHMControl - Secure Your Server Logins & Automate Password Changes

  7. #7
    Join Date
    Mar 2006
    Posts
    965
    I decided to use HTML guardian by http://www.protware.com/ it encodes the javascript and locks it to a domain (if used on a domain not specified it simply fails to work) Whilst I am sure this can be reversed I hope it will stop the majority from abusing my script.
    Way to go. Glad you found the solution on your own.

Posting Permissions

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