TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Coder on August 08, 2019, 01:49:46 PM

Title: Retrieve a value after PC format
Post by: Coder on August 08, 2019, 01:49:46 PM
Hello guys,

I wrote a few data to a registry for my first small trial routine to a friend of mine and after the trial version was expired, he formatted his PC and the routine starts working over once again.  :cry:

Is there a way to work around this issue ?

Thanks in advance.
Title: Re: Retrieve a value after PC format
Post by: Lee Mac on August 08, 2019, 02:01:11 PM
No data stored locally will survive a format of the OS; one possible solution is to have your program 'phone home' by contacting a web server to validate the license.
Title: Re: Retrieve a value after PC format
Post by: VovKa on August 08, 2019, 02:05:23 PM
Is there a way to work around this issue ?
of course
there is no need to format the hard drive
tell your friend that he can use a registry spy (classified*)
it will show what values your app is writing to the registry
then he can simply delete them

i hope i've understood your question correctly ;)
Title: Re: Retrieve a value after PC format
Post by: Coder on August 08, 2019, 02:31:22 PM
Thank you Lee for your confirmation and suggestion.

Vovka, please modify your reply and remove the spy details since that would be a nightmare to programmers and thanks for letting me know this before I dive deeper into registry field.  :lol:

Thanks.
Title: Re: Retrieve a value after PC format
Post by: VovKa on August 08, 2019, 03:59:27 PM
before I dive deeper into registry field.  :lol:
of course there are also file monitors :)
being a paranoid i make snapshots of my registry and filesystem now and then
i may say these protection methods are weak
Title: Re: Retrieve a value after PC format
Post by: Coder on August 08, 2019, 04:31:45 PM
of course there are also file monitors :)
being a paranoid i make snapshots of my registry and filesystem now and then
i may say these protection methods are weak
Can I ask you what is the best protection method that you trust and depend on?
You destroyed my wishes of security with your replies and have no place to hide.  :laugh:
Title: Re: Retrieve a value after PC format
Post by: Lee Mac on August 08, 2019, 04:33:07 PM
Is there a way to work around this issue ?
of course
there is no need to format the hard drive
tell your friend that he can use a registry spy (classified*)
it will show what values your app is writing to the registry
then he can simply delete them

i hope i've understood your question correctly ;)

 :-D
Title: Re: Retrieve a value after PC format
Post by: MP on August 08, 2019, 04:46:21 PM
OMG hilarious.  :lol:
Title: Re: Retrieve a value after PC format
Post by: VovKa on August 08, 2019, 05:25:01 PM
what is the best protection method that you trust?
freeware
Title: Re: Retrieve a value after PC format
Post by: VovKa on August 08, 2019, 05:34:59 PM
You destroyed my wishes of security with your replies and have no place to hide.  :laugh:
your wishes could've destroyed your whole business :)

i can not suggest the best protection method because i do not know what are you trying to achieve
Title: Re: Retrieve a value after PC format
Post by: Coder on August 08, 2019, 05:41:17 PM
You destroyed my wishes of security with your replies and have no place to hide.  :laugh:
your wishes could've destroyed your whole business :)

i can not suggest the best protection method because i do not know what are you trying to achieve
No business yet with programming because I think I have a very long way with this to go.
I wanted to know if possible as long as the registry is not that safe. What is the other way that can be safe for saving my routine from being cracked?
That's it.
Thank you.
Title: Re: Retrieve a value after PC format
Post by: Master_Shake on August 08, 2019, 05:57:19 PM
There is no way really unless its 100% server side hosted. Just remember, locks only keep honest people honest.
Title: Re: Retrieve a value after PC format
Post by: VovKa on August 08, 2019, 06:33:03 PM
What is the other way that can be safe for saving my routine from being cracked?
i do not have an answer to your question
i do not sell programs
therefore i do not protect them
Title: Re: Retrieve a value after PC format
Post by: Coder on August 08, 2019, 06:38:14 PM
What is the other way that can be safe for saving my routine from being cracked?
i do not have an answer to your question
i do not sell programs
therefore i do not protect them
It's okay, I hope my question was not bothering to you all.
I have learned a lot from your kind replies, thanks a lot for your time.
Title: Re: Retrieve a value after PC format
Post by: VovKa on August 08, 2019, 06:53:19 PM
thanks a lot for your time.
you are most welcome, Coder
Title: Re: Retrieve a value after PC format
Post by: BIGAL on August 10, 2019, 01:10:40 AM
You may have to work the percentages how many out there would even know how to change stuff in the registery. let alone even how to find a registery snooper. Have more than one level of security. Say your using lisp you can add a security check code to all your code in a few seconds if you know old fashioned DOS then compile. Use the hard disk ID stops copying. But new pc means re-issue code.

Lee's suggestion of ping a server is probably best.
Title: Re: Retrieve a value after PC format
Post by: Coder on August 10, 2019, 09:08:19 AM
one possible solution is to have your program 'phone home' by contacting a web server to validate the license.
Hello.
Sorry I did not get the point that clearly, can you please explain the procedure if that is not bothering at all?
Thank you.
Title: Re: Retrieve a value after PC format
Post by: BIGAL on August 11, 2019, 12:51:02 AM
Basically web server means you have access to a www.yourwebserver. It can then check say against a Hard disk id and client name held in a file on the server. If don't match don't run.
Title: Re: Retrieve a value after PC format
Post by: Coder on August 11, 2019, 06:16:54 AM
Basically web server means you have access to a www.yourwebserver. It can then check say against a Hard disk id and client name held in a file on the server. If don't match don't run.
Thank you.
I think you have posted a broken link!
Title: Re: Retrieve a value after PC format
Post by: ronjonp on August 12, 2019, 10:03:11 AM
Basically web server means you have access to a www.yourwebserver. It can then check say against a Hard disk id and client name held in a file on the server. If don't match don't run.
Thank you.
I think you have posted a broken link!
It was just an example  :wink:
Title: Re: Retrieve a value after PC format
Post by: Coder on August 12, 2019, 11:18:51 AM
It was just an example  :wink:
I searched the YouTube for a similar subject but with no avail.  :-(
Title: Re: Retrieve a value after PC format
Post by: ronjonp on August 12, 2019, 11:41:32 AM
It was just an example  :wink:
I searched the YouTube for a similar subject but with no avail.  :-(
Have a look here: https://www.theswamp.org/index.php?topic=45238.msg504330#msg504330
Title: Re: Retrieve a value after PC format
Post by: Coder on August 12, 2019, 02:59:20 PM
Have a look here: https://www.theswamp.org/index.php?topic=45238.msg504330#msg504330
Thank you for your kind reply.
I have no idea what to do with that at the meantime so maybe in another time when I gain more experience in lisp then will investigate further.

Thanks again and have a great day.
Title: Re: Retrieve a value after PC format
Post by: BIGAL on August 13, 2019, 05:30:31 AM
You must have access to a web server you could use something like "Go Daddy"

I have a registered web name so next step is to buy server space. Then I will have my own web page. Some internet providers will give you a limited amount of space say 2 GB as part of your monthly internet fees. This is enough for a web page and saving files.

If you look at the example link you would get the program to look for a certain file that say has the hard disk id saved in it. So running on another pc would not work.
Title: Re: Retrieve a value after PC format
Post by: Coder on August 13, 2019, 07:17:55 AM
Hello BIGAL,

Do you mean is that the user needs to be connected with the internet when using ( my program ) then the program would check the serial number by connecting right to my web server then once the user is authorized and listed into a certain txt file then allow otherwise disallow?

Is this it?
Title: Re: Retrieve a value after PC format
Post by: BIGAL on August 17, 2019, 06:10:16 AM
Correct !
Title: Re: Retrieve a value after PC format
Post by: CADbloke on August 21, 2019, 01:23:09 AM
For some licensing discussions see http://www.theswamp.org/index.php?topic=50609.msg558628#msg558628 and onward in that thread