Javascript as a Product?

Discussion in 'JavaScript' started by jrbiz, Sep 11, 2007.

  1. #1
    Hi,

    I am not technical, so please forgive me if I ask a stupid question.

    I have an idea for a 'product' that would be based upon a Javascript program. I would like to license the code to webmasters and, preferably, have some sort of security capability that would prevent unauthorized use (e.g., could only be used on the domain name that it is licensed for). Is this possible with Javascript?
     
    jrbiz, Sep 11, 2007 IP
  2. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #2
    Not possible.

    The only thing I can think of is dummy images, but that would only allow you to see which domains use it, and it wouldn't prevent anything. You'd have to compare all domains and email the webmaster or something. Plus it could be super easily bypassed.
     
    nico_swd, Sep 11, 2007 IP
    jrbiz likes this.
  3. jrbiz

    jrbiz Acclaimed Member

    Messages:
    6,141
    Likes Received:
    2,653
    Best Answers:
    2
    Trophy Points:
    570
    #3
    Thank you. That is what I suspected, but needed confirmation.
     
    jrbiz, Sep 12, 2007 IP
  4. meetgs

    meetgs Active Member

    Messages:
    957
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    70
    #4
    you could obfuscate the javascript and do some validity checks in the code. regular users wouldn't be able to "steal" your code. however, determined users will still be able to crack this protection, so, as nico_swd stated before, this is not a commercially feasible idea.
     
    meetgs, Sep 21, 2007 IP
    jrbiz likes this.
  5. jrbiz

    jrbiz Acclaimed Member

    Messages:
    6,141
    Likes Received:
    2,653
    Best Answers:
    2
    Trophy Points:
    570
    #5
    Thanks for confirming, meetgs. Pity...
     
    jrbiz, Sep 24, 2007 IP
  6. blueparukia

    blueparukia Well-Known Member

    Messages:
    1,564
    Likes Received:
    71
    Best Answers:
    7
    Trophy Points:
    160
    #6
    Or you could compile it to a .exe, but that would mean users have to download the .exe to view the site.

    BP
     
    blueparukia, Sep 24, 2007 IP
    jrbiz likes this.
  7. jrbiz

    jrbiz Acclaimed Member

    Messages:
    6,141
    Likes Received:
    2,653
    Best Answers:
    2
    Trophy Points:
    570
    #7
    Yes, good point. A friend also mentioned a browser plugin which would require the same thing. Thanks.
     
    jrbiz, Sep 27, 2007 IP