[jawsscripts] Re: locking scripts to a serial number

  • From: "E.J. Zufelt" <lists@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Wed, 15 Apr 2009 16:21:27 -0300

Good afternoon,

Have not given this to much thought.  But, I would imagine that a  
simple Internet License Manager web-service wouldn't be to difficult  
to code up in PHP or some other language.

1. User downloads the scripts and pays / registers.

2. User installs the scripts.

3. On first run the serial number is sent to the web-service

4. Some form of confirmation is returned.

5. You store that somewhere sneaky, or if you're really adventurous  
you use the script to recompile itself with the authorization code  
embedded, this would use the command line compiler.

HTH,
Everett

Follow me on Twitter
http://twitter.com/ezufelt

View my LinkedIn Profile
http://www.linkedin.com/in/ezufelt

On 15-Apr-09, at 1:04 PM, Sean Randall wrote:

> Desyree,
>
> I've never locked scripts before and would strongly advise you not  
> to do so
> either, unless of course you're selling the code in which case this  
> might be
> a useful protection measure.
>
> Code such as this will do the job, in theory - please note that it is
> untested.
> ;--code starts.
> Const
> chosenSN=12345
>
> void function autoStartEvent()
> if (GetJFWSerialNumber() != chosenSn) then
> switchToConfiguration("default")
> endIf
> endFunction
> ;-- code ends.
>
> This works by checking the current serial number against a value you  
> store
> and, whenever the application loads, if the numbers are different, the
> default set of scripts are activated.  As I say this is untested -  
> I've
> never tried to sell scripts and I'm sure there are those more  
> knowledgeable
> than I on the matter here.
>
> One thing to keep in mind is that you'll need an individually- 
> compiled set
> of scripts for each serial number of JAWS.
>
> Sean.
>
>
> -----Original Message-----
> From: jawsscripts-bounce@xxxxxxxxxxxxx
> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Desyree Vaughn
> Sent: Wednesday, April 15, 2009 4:55 PM
> To: jawsscripts@xxxxxxxxxxxxx
> Subject: [jawsscripts] locking scripts to a serial number
>
> I am wondering the easiest way to lock scripts to a serial number.   
> I know
> about the function to retrieve the serial number .  Just not sure  
> what else
> I need to do
> Desyree
> __________
> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>
> View the list's information and change your settings at
> http://www.freelists.org/list/jawsscripts
>
> __________
> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>
> View the list's information and change your settings at
> http://www.freelists.org/list/jawsscripts

__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts

Other related posts: