SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Addict nimasdj's Avatar
    Join Date
    Dec 2007
    Posts
    299
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    acquire license remotely

    I created a remote license for my product, users should downliad the key from user account. But I prefer a remote license acquire. Sript can read the domain and ip and post them to server. But how my server should know this is for which user to issue a license for his account? I was thinking of a cookie set. But is there a better way?

  2. #2
    SitePoint Addict nimasdj's Avatar
    Join Date
    Dec 2007
    Posts
    299
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No idea yet?

  3. #3
    Barefoot on the Moon! silver trophy Force Flow's Avatar
    Join Date
    Jul 2003
    Location
    Northeastern USA
    Posts
    4,606
    Mentioned
    56 Post(s)
    Tagged
    1 Thread(s)
    You should probably store a unique value, userid in the database somehow. Or, use the email address that was used to make the purchase (although I don't recommend this since email addresses can change).

    Then again, you would still have to have something in place that would prevent the user from using the license more than once.

    If you encrypt the source code, I'm pretty sure both zend and ioncube have features to issue licenses, so you don't necessarily have to build a custom solution into your application.
    Visit The Blog | Follow On Twitter
    301tool 1.1.5 - URL redirector & shortener (PHP/MySQL)
    Can be hosted on and utilize your own domain

  4. #4
    SitePoint Zealot bronze trophy xMog's Avatar
    Join Date
    Mar 2011
    Posts
    148
    Mentioned
    3 Post(s)
    Tagged
    1 Thread(s)
    IMO, it's not worth the time and effort to setup a custom license check. If it's for a website, ask for the website URL when selling your product. Maybe you could just ping your server at some random interval with the current site URL that is using your server.

    You have to ask yourself: Is it worth it to piss out legitimate users VS preventing possible pirates with a solution that could get cracked anyway + spending time coding and maintaining it + spending time to answer support emails from pissed off clients that ask why the license doesn't work + ....


Bookmarks

Posting Permissions

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