Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Senior Member jf1288's Avatar
    Join Date
    Sep 2003
    Posts
    215
    Member #
    3300
    I'm working on finishing a script that I want to be able to sell, but on a per-domain basis. I don't want people to be able to just copy the files to a new domain name.

    Is there anyway to give the customer a serial number and have the script connect to my server, verify the code and then run the script if the code that was submitted matches the domain name that its being used on?
    If its not in Family Guy its not worth it.

  2.  

  3. #2
    Senior Member ericbusch's Avatar
    Join Date
    Aug 2003
    Location
    Daejeon, South Korea
    Posts
    241
    Member #
    2779
    What about having a small but core piece of the code encrypted? not sure how to encrypt files though... :ermm:
    Blogs For Sale - Each blog is packed with 1000s of signatures and ads are highly integrated into the site. Great CTR! Completely customizable from Admin CP. On Sale!
    Complete Websites For Sale - Fantastic looking sites rich with content. Come complete with domain names. I only have a couple of these.

  4. #3
    Junior Member
    Join Date
    Mar 2005
    Location
    NJ
    Posts
    29
    Member #
    9508
    Maybe this will help. Maybe you could give them a script that decrypts the real script using a key (matched only for their domain) from your server. Then you could run the outputted code and everything is dandy. PHP has some encryption functions, here's an example that i got from php.net to maybe get your brain thinking.

    PHP Code:
    <?php
       $iv_size 
    mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256MCRYPT_MODE_ECB);
       
    $iv mcrypt_create_iv($iv_sizeMCRYPT_RAND);
       
    $key "This is a very secret key";
       
    $text "Meet me at 11 o'clock behind the monument.";
       echo 
    strlen($text) . "\n";

       
    $crypttext mcrypt_encrypt(MCRYPT_RIJNDAEL_256$key$textMCRYPT_MODE_ECB$iv);
       echo 
    strlen($crypttext) . "\n";
    ?>

    The above example will output:

    42
    64
    Javascript also has a nice encrypt and decrypt function. Maybe you could use that to throw them off a little.
    Coming this summer...Optimum Site.Com !
    Yea i know, it sounds like a bad movie promo, but it'll be good, I PROMISE! :classic:

  5. #4
    Senior Member jf1288's Avatar
    Join Date
    Sep 2003
    Posts
    215
    Member #
    3300
    The only problem with this is that php is still used to process the script. I thought about having it connect to a server to verify the key, and then the server gives it a key piece of code to use, but anyone can edit out the check routine and just edit in the important code.

    Same thing here. To save $150, anyone could just spend the few minutes to add in an echo $crypttext; and then copy the output and replace the file with it. Basically using the decode routine to generate the unprotected code. I have a thread here that I think may solve it, but I have no idea how to arrange it.

    http://www.webdesignforums.net/showthread.php?t=19706

    Any ideas?
    If its not in Family Guy its not worth it.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 10:50 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com