Home > Archive > dBASE Questions and Answers > April 2006 > Implementing a security key









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Implementing a security key
John Marshall

2006-03-29, 9:30 am


Has anyone implemented a security key to allow an application to function for a desired time frame? In other words, if you wanted to create annual activation keys. I was considering a .CC since it cannot be decompiled and changed. What I need to figure
out is how to keep a hijacked copy from also ussing a hijacked copy of an activation key.

Is there a way to get a unique number from any particular PC that can be compared to a variable in an activation key?

Thanks,

JM
Christian K

2006-03-29, 11:30 am

This vbscript will grab it & send it a text file. I know dBase can
access WSH scripting objects thru OLE, but not sure how to call that
first getobject() function, since it doesn't belong to a specific WSH
object. Good luck.

'This VBScript will grab each CPU Serial # and stuff it into a textfile.
Set objWMIService = GetObject("winmgmts:\\.\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_Processor")
Set fso = CreateObject("Scripting.fileSystemObject")
Set LogObj = fso.CreateTextFile("CPUID.txt",true)
For Each objItem in colItems
LogObj.WriteLine(objItem.ProcessorId)
Next
LogObj.Close



Cheers,
Christian K.



John Marshall wrote:

>
> Has anyone implemented a security key to allow an application to
> function for a desired time frame? In other words, if you wanted to
> create annual activation keys. I was considering a .CC since it
> cannot be decompiled and changed. What I need to figure out is how
> to keep a hijacked copy from also ussing a hijacked copy of an
> activation key.
>
> Is there a way to get a unique number from any particular PC that can
> be compared to a variable in an activation key?
>
> Thanks,
>
> JM




--

John Marshall

2006-04-06, 8:27 pm


What about using a .CC that includes a predefined date, then compiled and sent to the user? Has anyone developed such a solution and be willing to share the implementation?

JM


John Marshall Wrote:

>
> Has anyone implemented a security key to allow an application to function for a desired time frame? In other words, if you wanted to create annual activation keys. I was considering a .CC since it cannot be decompiled and changed. What I need to figu

re out is how to keep a hijacked copy from also ussing a hijacked copy of an activation key.
>
> Is there a way to get a unique number from any particular PC that can be compared to a variable in an activation key?
>
> Thanks,
>
> JM


John Marshall

2006-04-06, 8:27 pm


What about using a .CC that includes a predefined date, then compiled and sent to the user? Has anyone developed such a solution and be willing to share the implementation?

JM


John Marshall Wrote:

>
> Has anyone implemented a security key to allow an application to function for a desired time frame? In other words, if you wanted to create annual activation keys. I was considering a .CC since it cannot be decompiled and changed. What I need to figu

re out is how to keep a hijacked copy from also ussing a hijacked copy of an activation key.
>
> Is there a way to get a unique number from any particular PC that can be compared to a variable in an activation key?
>
> Thanks,
>
> JM


Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com