Remote Call to Validate License Key

Discussion in 'Setting-up protection' started by eezy, Aug 25, 2008.

  1. eezy

    eezy New Member

    Joined:
    Aug 25, 2008
    Messages:
    1
    Hi Everyone

    New to the board and just installed trial version to evaluate. It certainly looks comprehensive.

    I sell a script that requires a paid user to insert their license key. When the script is run I need for it to validate it's license key against the amember database to see if it is valid.

    Had a browse around the protection posts here but haven't found any info.

    Could someone point me in the right direction ?

    Many thanks for your time.

    Alan
  2. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    Hi Alan,

    Have you considered an actual DRM solution?

    That being said, assuming you establish a cookie of some kind (or otherwise establish user session status via login,etc) you could do this by pinging a remote object in a protected folder and checking for access denied or 200 (ok) status.

    Obvious issues are domain spoofing (using hosts file, etc).

    You could make this a bit more advanced and actually do content checking within the file and some algorithmic rotation that it checks against.

Share This Page